{"type": "func", "start": 4296087632, "end": 4296087688, "name": "GJUserCell::onSendMessage", "pseudocode": "// \n// GJUserCell::onSendMessage from 0x100111850 to 0x100111888 (56 bytes)\n// \n// 1 xrefs:\n// > GJUserCell::loadFromScore @ 0x100109ddc\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; // x8\n  int m_accountID; // w0\n  GJWriteMessagePopup *v4; // x0\n\n  m_userScore = a1->m_userScore;\n  if ( m_userScore )\n  {\n    m_accountID = m_userScore->m_accountID;\n    if ( m_accountID >= 1 )\n    {\n      v4 = GJWriteMessagePopup::create(m_accountID, 0);\n      ((void (__fastcall *)(GJWriteMessagePopup *))v4->show)(v4);\n    }\n  }\n}", "assembly": "; \n; GJUserCell::onSendMessage from 0x100111850 to 0x100111888 (56 bytes)\n; \n; 1 xrefs:\n; > GJUserCell::loadFromScore @ 0x100109ddc\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\nLDR             X8, [X0,#0x240]                                        ; +0x0, 0x100111850\nCBZ             X8, locret_100111884                                   ; +0x4, 0x100111854\nLDR             W0, [X8,#0x178]                                        ; +0x8, 0x100111858\nCMP             W0, #1                                                 ; +0xc, 0x10011185c\nB.LT            locret_100111884                                       ; +0x10, 0x100111860\nSTP             X29, X30, [SP,#var_10]!                                ; +0x14, 0x100111864\nMOV             X29, SP                                                ; +0x18, 0x100111868\nMOV             W1, #0                                                 ; +0x1c, 0x10011186c\nBL              GJWriteMessagePopup__create                            ; +0x20, 0x100111870\nLDR             X8, [X0]                                               ; +0x24, 0x100111874\nLDR             X1, [X8,#0x508]                                        ; +0x28, 0x100111878\nLDP             X29, X30, [SP+0x10+var_10],#0x10                       ; +0x2c, 0x10011187c\nBR              X1                                                     ; +0x30, 0x100111880\nRET                                                                    ; +0x34, 0x100111884", "xrefs": ["GJUserCell::loadFromScore @ 0x100109ddc"], "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"}