{"type": "func", "start": 9396784, "end": 9396992, "name": "FRequestProfilePage::onClose", "pseudocode": "// \n// FRequestProfilePage::onClose from 0x8f6230 to 0x8f6300 (208 bytes)\n// \n// 4 xrefs:\n// > FRequestProfilePage::keyBackClicked @ 0x8f6304\n// > <???> @ 0x878d0\n// > FRequestProfilePage::init @ 0x8f5920\n// > <???> @ 0x122c930\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 FRequestProfilePage::onClose(FRequestProfilePage *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v3; // x0\n  cocos2d::CCTouchDispatcher *v4; // x0\n  cocos2d::CCDirector *v5; // x0\n  cocos2d::CCTouchDispatcher *v6; // x0\n  FRequestProfilePage *v7; // x0\n  GJAccountManager *v8; // x0\n  ProfilePage *v9; // x0\n  ProfilePage_vtbl *v10; // x2\n\n  if ( a1->m_listLayer )\n  {\n    v3 = cocos2d::CCDirector::sharedDirector();\n    v4 = v3->getTouchDispatcher(v3);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1->m_listLayer);\n  }\n  v5 = cocos2d::CCDirector::sharedDirector();\n  v6 = v5->getTouchDispatcher(v5);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, a1);\n  FRequestProfilePage::untoggleAll(a1);\n  if ( a1->m_sent )\n  {\n    v7 = FRequestProfilePage::create(0);\n    v7->show(v7);\n  }\n  else\n  {\n    v8 = GJAccountManager::sharedState();\n    v9 = ProfilePage::create(v8->m_accountID - v8->m_unkInt1, 1);\n    v10 = v9->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v9->m_noElasticity = 1;\n    ((void (*)(void))v10->show)();\n  }\n  a1->setKeypadEnabled(a1, 0);\n  a1->removeFromParentAndCleanup(a1, 1);\n}", "assembly": "; \n; FRequestProfilePage::onClose from 0x8f6230 to 0x8f6300 (208 bytes)\n; \n; 4 xrefs:\n; > FRequestProfilePage::keyBackClicked @ 0x8f6304\n; > <???> @ 0x878d0\n; > FRequestProfilePage::init @ 0x8f5920\n; > <???> @ 0x122c930\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\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x8f6230\nMOV             X29, SP                                                ; +0x4, 0x8f6234\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x8f6238\nMOV             X19, X0                                                ; +0xc, 0x8f623c\nLDR             X0, [X0,#0x2B8]; this                                  ; +0x10, 0x8f6240\nCBZ             X0, loc_8F6260                                         ; +0x14, 0x8f6244\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x18, 0x8f6248\nLDR             X1, [X0]                                               ; +0x1c, 0x8f624c\nLDR             X1, [X1,#0xA0]                                         ; +0x20, 0x8f6250\nBLR             X1                                                     ; +0x24, 0x8f6254\nLDR             X1, [X19,#0x2B8]; cocos2d::CCObject *                  ; +0x28, 0x8f6258\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x2c, 0x8f625c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x30, 0x8f6260\nLDR             X1, [X0]                                               ; +0x34, 0x8f6264\nLDR             X1, [X1,#0xA0]                                         ; +0x38, 0x8f6268\nBLR             X1                                                     ; +0x3c, 0x8f626c\nMOV             X1, X19; cocos2d::CCObject *                           ; +0x40, 0x8f6270\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x44, 0x8f6274\nMOV             X0, X19; this                                          ; +0x48, 0x8f6278\nBL              _ZN19FRequestProfilePage11untoggleAllEv; FRequestProfilePage::untoggleAll(void) ; +0x4c, 0x8f627c\nLDRB            W0, [X19,#0x298]; this                                 ; +0x50, 0x8f6280\nCBZ             W0, loc_8F62D0                                         ; +0x54, 0x8f6284\nMOV             W0, #0; this                                           ; +0x58, 0x8f6288\nBL              _ZN19FRequestProfilePage6createEb; FRequestProfilePage::create(bool) ; +0x5c, 0x8f628c\nLDR             X1, [X0]                                               ; +0x60, 0x8f6290\nLDR             X1, [X1,#0x508]                                        ; +0x64, 0x8f6294\nBLR             X1                                                     ; +0x68, 0x8f6298\nLDR             X2, [X19]                                              ; +0x6c, 0x8f629c\nMOV             X0, X19                                                ; +0x70, 0x8f62a0\nMOV             W1, #0                                                 ; +0x74, 0x8f62a4\nLDR             X2, [X2,#0x420]                                        ; +0x78, 0x8f62a8\nBLR             X2                                                     ; +0x7c, 0x8f62ac\nLDR             X2, [X19]                                              ; +0x80, 0x8f62b0\nMOV             X0, X19                                                ; +0x84, 0x8f62b4\nMOV             W1, #1                                                 ; +0x88, 0x8f62b8\nLDR             X2, [X2,#0x200]                                        ; +0x8c, 0x8f62bc\nBLR             X2                                                     ; +0x90, 0x8f62c0\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x94, 0x8f62c4\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x98, 0x8f62c8\nRET                                                                    ; +0x9c, 0x8f62cc\nBL              _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0xa0, 0x8f62d0\nLDR             W2, [X0,#0x150]; bool                                  ; +0xa4, 0x8f62d4\nLDR             W0, [X0,#0x154]                                        ; +0xa8, 0x8f62d8\nMOV             W1, #1; int                                            ; +0xac, 0x8f62dc\nSUB             W0, W2, W0; this                                       ; +0xb0, 0x8f62e0\nBL              _ZN11ProfilePage6createEib; ProfilePage::create(int,bool) ; +0xb4, 0x8f62e4\nLDR             X2, [X0]                                               ; +0xb8, 0x8f62e8\nMOV             W3, #1                                                 ; +0xbc, 0x8f62ec\nSTRB            W3, [X0,#0x24C]                                        ; +0xc0, 0x8f62f0\nLDR             X1, [X2,#0x508]                                        ; +0xc4, 0x8f62f4\nBLR             X1                                                     ; +0xc8, 0x8f62f8\nB               loc_8F629C                                             ; +0xcc, 0x8f62fc", "xrefs": ["FRequestProfilePage::keyBackClicked @ 0x8f6304", "<???> @ 0x878d0", "FRequestProfilePage::init @ 0x8f5920", "<???> @ 0x122c930"], "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"}