// File: /workspace/github_cpp_makefile_star2_O3/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 0x5b60
cmpl $0x2, %eax
je 0x5b3a
testl %eax, %eax
jne 0x5b75
movq %rdi, %r14
cmpb $0x1, 0x178(%rdi)
jne 0x5aea
movl 0x60(%r15), %edx
movl 0x4c(%rbx), %ecx
cmpl %ecx, %edx
je 0x5ae5
movl 0xc(%rbx), %esi
leaq 0x2958(%rip), %r12      # 0x841e
movq %r12, %rdi
xorl %eax, %eax
callq 0x3050
movl 0x60(%r15), %edx
movl 0xc(%rbx), %esi
movl 0x4c(%rbx), %ecx
movq %r12, %rdi
callq 0x61b4
movl 0x4c(%rbx), %edx
incl %edx
movl %edx, 0x4c(%rbx)
cmpb $0x1, 0x179(%r14)
jne 0x5b88
leaq -0x84(%rbp), %rsi
movq $0x10064, (%rsi)        # imm = 0x10064
movl 0x50(%rbx), %eax
movl %eax, 0x60(%rsi)
movq %rbx, %rdi
callq 0x6388
cmpl $-0x1, %eax
je 0x5b95
addq $0x180, %r14            # imm = 0x180
movq %r14, %rdi
movl $0x3, %esi
movq %rbx, %rdx
movl $0x5, %ecx
callq 0x5da8
incl 0x50(%rbx)
jmp 0x5b88
movl 0xc(%rbx), %esi
movzwl (%r15), %edx
addq $0x4, %r15
leaq 0x2918(%rip), %rdi      # 0x8464
movq %r15, %rcx
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x63e4
leaq -0x84(%rbp), %rsi
movl $0x60004, (%rsi)        # imm = 0x60004
movq %rbx, %rdi
callq 0x6388
movl 0xc(%rbx), %esi
movzwl (%r15), %edx
leaq 0x2923(%rip), %rdi      # 0x84a6
callq 0x65ba
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
cmpb $0x1, 0x17a(%r14)
jne 0x5b88
movl 0xc(%rbx), %esi
leaq 0x28a4(%rip), %r14      # 0x844d
movq %r14, %rdi
xorl %eax, %eax
callq 0x3050
movl 0xc(%rbx), %esi
movq %r14, %rdi
callq 0x459c
jmp 0x5b88