// File: /workspace/github_cpp_makefile_star2_O1/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 0x5b57
cmpl $0x2, %eax
je 0x5b31
testl %eax, %eax
jne 0x5b77
movq %rdi, %r14
cmpb $0x1, 0x178(%rdi)
jne 0x5ad3
movl 0x60(%r15), %edx
movl 0x4c(%rbx), %ecx
cmpl %ecx, %edx
je 0x5ad0
movl 0xc(%rbx), %esi
leaq 0x296a(%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 0x61c4
incl 0x4c(%rbx)
cmpb $0x1, 0x179(%r14)
jne 0x5b8a
leaq -0x84(%rbp), %rsi
movq $0x10004, (%rsi)        # imm = 0x10004
movw $0x64, (%rsi)
movl 0x50(%rbx), %eax
movl %eax, 0x60(%rsi)
leaq 0x28(%rbx), %rdi
movl $0x64, %edx
callq 0x6738
testb %al, %al
je 0x5b97
addq $0x180, %r14            # imm = 0x180
movq %r14, %rdi
movl $0x3, %esi
movq %rbx, %rdx
movl $0x5, %ecx
callq 0x5daa
incl 0x50(%rbx)
jmp 0x5b8a
movl 0xc(%rbx), %esi
movzwl (%r15), %edx
addq $0x4, %r15
leaq 0x2921(%rip), %rdi      # 0x8464
movq %r15, %rcx
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x6398
leaq -0x84(%rbp), %rsi
movl $0x60004, (%rsi)        # imm = 0x60004
movw $0x4, (%rsi)
leaq 0x28(%rbx), %rdi
movl $0x4, %edx
callq 0x6738
movl 0xc(%rbx), %esi
movzwl (%r15), %edx
leaq 0x2921(%rip), %rdi      # 0x84a6
callq 0x656e
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
cmpb $0x1, 0x17a(%r14)
jne 0x5b8a
movl 0xc(%rbx), %esi
leaq 0x28a2(%rip), %r14      # 0x844d
movq %r14, %rdi
xorl %eax, %eax
callq 0x3050
movl 0xc(%rbx), %esi
movq %r14, %rdi
callq 0x458e
jmp 0x5b8a