{"type": "func", "start": 4297418720, "end": 4297418768, "name": "GJUserCell::onSendMessage", "pseudocode": "// \n// GJUserCell::onSendMessage from 0x1002567e0 to 0x100256810 (48 bytes)\n// \n// 1 xrefs:\n// > GJUserCell::loadFromScore @ 0x10024bf47\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\nvoid __fastcall GJUserCell::onSendMessage(GJUserCell *a1, cocos2d::CCObject *a2)\n{\n  GJUserScore *m_userScore; // rax\n  int m_accountID; // edi\n  GJWriteMessagePopup *v4; // rax\n\n  m_userScore = a1->m_userScore;\n  if ( m_userScore )\n  {\n    m_accountID = m_userScore->m_accountID;\n    if ( m_accountID > 0 )\n    {\n      v4 = GJWriteMessagePopup::create(m_accountID, 0);\n      ((void (__fastcall *)(GJWriteMessagePopup *))v4->show)(v4);\n    }\n  }\n}", "assembly": "; \n; GJUserCell::onSendMessage from 0x1002567e0 to 0x100256810 (48 bytes)\n; \n; 1 xrefs:\n; > GJUserCell::loadFromScore @ 0x10024bf47\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    rbp                                                            ; +0x0, 0x1002567e0\nmov     rbp, rsp                                                       ; +0x1, 0x1002567e1\nmov     rax, [rdi+240h]                                                ; +0x4, 0x1002567e4\ntest    rax, rax                                                       ; +0xb, 0x1002567eb\njz      short loc_10025680E                                            ; +0xe, 0x1002567ee\nmov     edi, [rax+178h]                                                ; +0x10, 0x1002567f0\ntest    edi, edi                                                       ; +0x16, 0x1002567f6\njle     short loc_10025680E                                            ; +0x18, 0x1002567f8\nxor     esi, esi                                                       ; +0x1a, 0x1002567fa\ncall    GJWriteMessagePopup__create                                    ; +0x1c, 0x1002567fc\nmov     rcx, [rax]                                                     ; +0x21, 0x100256801\nmov     rdi, rax                                                       ; +0x24, 0x100256804\npop     rbp                                                            ; +0x27, 0x100256807\njmp     qword ptr [rcx+508h]                                           ; +0x28, 0x100256808\npop     rbp                                                            ; +0x2e, 0x10025680e\nretn                                                                   ; +0x2f, 0x10025680f", "xrefs": ["GJUserCell::loadFromScore @ 0x10024bf47"], "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"}