{"type": "func", "start": 5372656848, "end": 5372656919, "name": "ProfilePage::onSendMessage", "pseudocode": "// \n// ProfilePage::onSendMessage from 0x1403c3cd0 to 0x1403c3d17 (71 bytes)\n// \n// 2 xrefs:\n// > ProfilePage::loadPageFromUserInfo @ 0x1403c22b9\n// > <???> @ 0x1406d779c\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 ProfilePage::onSendMessage(ProfilePage *a1, cocos2d::CCObject *a2)\n{\n  GJAccountManager *v3; // rax\n  ProfilePage *v4; // rcx\n  GJWriteMessagePopup *v5; // rax\n\n  v3 = GJAccountManager::sharedState();\n  if ( v3->m_accountID - v3->m_unkInt1 > 0 )\n  {\n    v5 = GJWriteMessagePopup::create(a1->m_accountID, 0);\n    v5->show(v5);\n  }\n  else\n  {\n    ProfilePage::showNoAccountError(v4);\n  }\n}", "assembly": "; \n; ProfilePage::onSendMessage from 0x1403c3cd0 to 0x1403c3d17 (71 bytes)\n; \n; 2 xrefs:\n; > ProfilePage::loadPageFromUserInfo @ 0x1403c22b9\n; > <???> @ 0x1406d779c\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, 0x1403c3cd0\nsub     rsp, 20h                                                       ; +0x2, 0x1403c3cd2\nmov     rbx, rcx                                                       ; +0x6, 0x1403c3cd6\ncall    GJAccountManager__sharedState                                  ; +0x9, 0x1403c3cd9\nmov     edx, [rax+168h]                                                ; +0xe, 0x1403c3cde\nsub     edx, [rax+16Ch]                                                ; +0x14, 0x1403c3ce4\ntest    edx, edx                                                       ; +0x1a, 0x1403c3cea\njg      short loc_1403C3CF8                                            ; +0x1c, 0x1403c3cec\nadd     rsp, 20h                                                       ; +0x1e, 0x1403c3cee\npop     rbx                                                            ; +0x22, 0x1403c3cf2\njmp     ProfilePage__showNoAccountError                                ; +0x23, 0x1403c3cf3\nmov     ecx, [rbx+2B8h]                                                ; +0x28, 0x1403c3cf8\nxor     edx, edx                                                       ; +0x2e, 0x1403c3cfe\ncall    GJWriteMessagePopup__create                                    ; +0x30, 0x1403c3d00\nmov     rcx, rax                                                       ; +0x35, 0x1403c3d05\nmov     rdx, [rax]                                                     ; +0x38, 0x1403c3d08\nadd     rsp, 20h                                                       ; +0x3b, 0x1403c3d0b\npop     rbx                                                            ; +0x3f, 0x1403c3d0f\njmp     qword ptr [rdx+410h]                                           ; +0x40, 0x1403c3d10", "xrefs": ["ProfilePage::loadPageFromUserInfo @ 0x1403c22b9", "<???> @ 0x1406d779c"], "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"}