// File: /workspace/github_cpp_makefile_star2_O2/pxzwxx[P]SynBS/./serverFile/./CELLEpollServer.hpp
// Function: CELLEpollServer::ProcessNetMsg(CELLClient*, netmsg_DataHeader*)
virtual void ProcessNetMsg(CELLClient* pClient, netmsg_DataHeader* header) {
        switch (header->cmd) {
            case CMD_LOGIN: {
                netmsg_Login* login = (netmsg_Login*)header;
                if (_bCheckMsgID) {
                    if (login->msgID != pClient->_nRecvMsgID) {
                        printf("OnNetMsg socket<%d> msgID<%d> _nRecvMsgID<%d>\n",pClient->sockfd(), login->msgID, pClient->_nRecvMsgID);
						Log::INFO("OnNetMsg socket<%d> msgID<%d> _nRecvMsgID<%d>\n",pClient->sockfd(), login->msgID, pClient->_nRecvMsgID);("OnNetMsg socket<%d> msgID<%d> _nRecvMsgID<%d>\n",pClient->sockfd(), login->msgID, pClient->_nRecvMsgID);
                    }
                    ++pClient->_nRecvMsgID;
                }
                if (_bSendBack) {
                    netmsg_LoginR ret;
                    ret.msgID = pClient->_nSendMsgID;
                    if (SOCKET_ERROR == pClient->SendData2Buffer(&ret)) {
                        if (_bSendFull) {
                            printf("<socket=%d> Send Full\n", pClient->sockfd());
							Log::INFO("<socket=%d> Send Full\n", pClient->sockfd());
                        }
                    }
                    else {
						_ep.ctl(EPOLL_CTL_MOD, pClient, EPOLLIN | EPOLLOUT); //有消息可以写，修改文件描述符可写
                        ++pClient->_nSendMsgID;
                    }
                }
            }break;

            case CMD_LOGOUT: {
                netmsg_Logout* logout = (netmsg_Logout*)header;
                Log::INFO("recv <Socket=%d> msgType：CMD_LOGOUT, dataLen：%d,userName=%s \n", pClient->sockfd(), logout->dataLength, logout->userName);
            }break;

            case CMD_C2S_HEART: {
                netmsg_s2c_Heart ret;
                pClient->SendData2Buffer(&ret);
            }

            default: {
                Log::WARN("recv <socket=%d> undefine msgType,dataLen：%d\n", pClient->sockfd(), header->dataLength);
            }break;

        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movzwl 0x2(%rdx), %eax
cmpl $0x5, %eax
je 0x55e0
cmpl $0x2, %eax
je 0x55ba
testl %eax, %eax
jne 0x55f5
movq %rdi, %r14
cmpb $0x1, 0x178(%rdi)
jne 0x556e
movl 0x60(%r15), %edx
movl 0x4c(%rbx), %ecx
cmpl %ecx, %edx
je 0x5569
movl 0xc(%rbx), %esi
leaq 0x2ec4(%rip), %r12      # 0x840e
movq %r12, %rdi
xorl %eax, %eax
callq 0x3050
movl 0x60(%r15), %edx
movl 0xc(%rbx), %esi
movl 0x4c(%rbx), %ecx
movq %r12, %rdi
callq 0x5c18
movl 0x4c(%rbx), %edx
incl %edx
movl %edx, 0x4c(%rbx)
cmpb $0x1, 0x179(%r14)
jne 0x5608
leaq -0x84(%rbp), %rsi
movq $0x10064, (%rsi)        # imm = 0x10064
movl 0x50(%rbx), %eax
movl %eax, 0x60(%rsi)
movq %rbx, %rdi
callq 0x5d60
cmpl $-0x1, %eax
je 0x5615
addq $0x180, %r14            # imm = 0x180
pushq $0x3
popq %rsi
pushq $0x5
popq %rcx
movq %r14, %rdi
movq %rbx, %rdx
callq 0x57ce
incl 0x50(%rbx)
jmp 0x5608
movl 0xc(%rbx), %esi
movzwl (%r15), %edx
addq $0x4, %r15
leaq 0x2e88(%rip), %rdi      # 0x8454
movq %r15, %rcx
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x5d88
leaq -0x84(%rbp), %rsi
movl $0x60004, (%rsi)        # imm = 0x60004
movq %rbx, %rdi
callq 0x5d60
movl 0xc(%rbx), %esi
movzwl (%r15), %edx
leaq 0x2e93(%rip), %rdi      # 0x8496
callq 0x5ed0
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
cmpb $0x1, 0x17a(%r14)
jne 0x5608
movl 0xc(%rbx), %esi
leaq 0x2e14(%rip), %r14      # 0x843d
movq %r14, %rdi
xorl %eax, %eax
callq 0x3050
movl 0xc(%rbx), %esi
movq %r14, %rdi
callq 0x429a
jmp 0x5608