{"type": "func", "start": 5369486832, "end": 5369486990, "name": "GJMessageCell::onViewMessage", "pseudocode": "// \n// GJMessageCell::onViewMessage from 0x1400bddf0 to 0x1400bde8e (158 bytes)\n// \n// 2 xrefs:\n// > GJMessageCell::loadFromMessage @ 0x1400bd6dd\n// > <???> @ 0x1406c7e24\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nvoid GJMessageCell::onViewMessage(GJMessageCell *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // rcx\n  GJUserMessage *m_message; // rax\n  GJMessagePopup *v5; // rax\n  void *v6; // [rsp+30h] [rbp+8h]\n\n  if ( a1->m_message )\n  {\n    GJMessageCell::markAsRead(a1);\n    v3 = qword_1406C2EC0;\n    if ( !qword_1406C2EC0 )\n    {\n      v6 = operator new(0x3D0u);\n      qword_1406C2EC0 = sub_140141280(v6);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n      v3 = qword_1406C2EC0;\n    }\n    m_message = (GJUserMessage *)cocos2d::CCDictionary::objectForKey(\n                                   *(cocos2d::CCDictionary **)(v3 + 616),\n                                   a1->m_message->m_messageID);\n    if ( !m_message )\n      m_message = a1->m_message;\n    v5 = GJMessagePopup::create(m_message);\n    v5->show(v5);\n  }\n}", "assembly": "; \n; GJMessageCell::onViewMessage from 0x1400bddf0 to 0x1400bde8e (158 bytes)\n; \n; 2 xrefs:\n; > GJMessageCell::loadFromMessage @ 0x1400bd6dd\n; > <???> @ 0x1406c7e24\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1400bddf0\nsub     rsp, 20h                                                       ; +0x2, 0x1400bddf2\nmov     rbx, rcx                                                       ; +0x6, 0x1400bddf6\ncmp     qword ptr [rcx+248h], 0                                        ; +0x9, 0x1400bddf9\njz      loc_1400BDE88                                                  ; +0x11, 0x1400bde01\ncall    GJMessageCell__markAsRead                                      ; +0x17, 0x1400bde07\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x1c, 0x1400bde0c\ntest    rcx, rcx                                                       ; +0x23, 0x1400bde13\njnz     short loc_1400BDE47                                            ; +0x26, 0x1400bde16\nmov     ecx, 3D0h; Size                                                ; +0x28, 0x1400bde18\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2d, 0x1400bde1d\nmov     [rsp+28h+arg_0], rax                                           ; +0x32, 0x1400bde22\nmov     rcx, rax                                                       ; +0x37, 0x1400bde27\ncall    sub_140141280                                                  ; +0x3a, 0x1400bde2a\nnop                                                                    ; +0x3f, 0x1400bde2f\nmov     cs:qword_1406C2EC0, rax                                        ; +0x40, 0x1400bde30\nmov     rdx, [rax]                                                     ; +0x47, 0x1400bde37\nmov     rcx, rax                                                       ; +0x4a, 0x1400bde3a\ncall    qword ptr [rdx+48h]                                            ; +0x4d, 0x1400bde3d\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x50, 0x1400bde40\nmov     rax, [rbx+248h]                                                ; +0x57, 0x1400bde47\nmovsxd  rdx, dword ptr [rax+140h]                                      ; +0x5e, 0x1400bde4e\nmov     rcx, [rcx+268h]                                                ; +0x65, 0x1400bde55\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x6c, 0x1400bde5c\ntest    rax, rax                                                       ; +0x72, 0x1400bde62\njnz     short loc_1400BDE6E                                            ; +0x75, 0x1400bde65\nmov     rax, [rbx+248h]                                                ; +0x77, 0x1400bde67\nmov     rcx, rax                                                       ; +0x7e, 0x1400bde6e\ncall    GJMessagePopup__create                                         ; +0x81, 0x1400bde71\nmov     rdx, [rax]                                                     ; +0x86, 0x1400bde76\nmov     rcx, rax                                                       ; +0x89, 0x1400bde79\nadd     rsp, 20h                                                       ; +0x8c, 0x1400bde7c\npop     rbx                                                            ; +0x90, 0x1400bde80\njmp     qword ptr [rdx+410h]                                           ; +0x91, 0x1400bde81\nadd     rsp, 20h                                                       ; +0x98, 0x1400bde88\npop     rbx                                                            ; +0x9c, 0x1400bde8c\nretn                                                                   ; +0x9d, 0x1400bde8d", "xrefs": ["GJMessageCell::loadFromMessage @ 0x1400bd6dd", "<???> @ 0x1406c7e24"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}