{"type": "func", "start": 9401768, "end": 9401968, "name": "FriendsProfilePage::onClose", "pseudocode": "// \n// FriendsProfilePage::onClose from 0x8f75a8 to 0x8f7670 (200 bytes)\n// \n// 4 xrefs:\n// > FriendsProfilePage::keyBackClicked @ 0x8f7674\n// > <???> @ 0x4ef60\n// > FriendsProfilePage::init @ 0x8f7038\n// > <???> @ 0x122a8a0\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 FriendsProfilePage::onClose(FriendsProfilePage *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  FriendsProfilePage *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  if ( a1->m_type )\n  {\n    v7 = FriendsProfilePage::create((UserListType)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; FriendsProfilePage::onClose from 0x8f75a8 to 0x8f7670 (200 bytes)\n; \n; 4 xrefs:\n; > FriendsProfilePage::keyBackClicked @ 0x8f7674\n; > <???> @ 0x4ef60\n; > FriendsProfilePage::init @ 0x8f7038\n; > <???> @ 0x122a8a0\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, 0x8f75a8\nMOV             X29, SP                                                ; +0x4, 0x8f75ac\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x8f75b0\nMOV             X19, X0                                                ; +0xc, 0x8f75b4\nLDR             X0, [X0,#0x2B0]; this                                  ; +0x10, 0x8f75b8\nCBZ             X0, loc_8F75D8                                         ; +0x14, 0x8f75bc\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x18, 0x8f75c0\nLDR             X1, [X0]                                               ; +0x1c, 0x8f75c4\nLDR             X1, [X1,#0xA0]                                         ; +0x20, 0x8f75c8\nBLR             X1                                                     ; +0x24, 0x8f75cc\nLDR             X1, [X19,#0x2B0]; cocos2d::CCObject *                  ; +0x28, 0x8f75d0\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x2c, 0x8f75d4\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x30, 0x8f75d8\nLDR             X1, [X0]                                               ; +0x34, 0x8f75dc\nLDR             X1, [X1,#0xA0]                                         ; +0x38, 0x8f75e0\nBLR             X1                                                     ; +0x3c, 0x8f75e4\nMOV             X1, X19; cocos2d::CCObject *                           ; +0x40, 0x8f75e8\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x44, 0x8f75ec\nLDR             W0, [X19,#0x298]; this                                 ; +0x48, 0x8f75f0\nCBZ             W0, loc_8F7640                                         ; +0x4c, 0x8f75f4\nMOV             W0, #0                                                 ; +0x50, 0x8f75f8\nBL              _ZN18FriendsProfilePage6createE12UserListType; FriendsProfilePage::create(UserListType) ; +0x54, 0x8f75fc\nLDR             X1, [X0]                                               ; +0x58, 0x8f7600\nLDR             X1, [X1,#0x508]                                        ; +0x5c, 0x8f7604\nBLR             X1                                                     ; +0x60, 0x8f7608\nLDR             X2, [X19]                                              ; +0x64, 0x8f760c\nMOV             X0, X19                                                ; +0x68, 0x8f7610\nMOV             W1, #0                                                 ; +0x6c, 0x8f7614\nLDR             X2, [X2,#0x420]                                        ; +0x70, 0x8f7618\nBLR             X2                                                     ; +0x74, 0x8f761c\nLDR             X2, [X19]                                              ; +0x78, 0x8f7620\nMOV             X0, X19                                                ; +0x7c, 0x8f7624\nMOV             W1, #1                                                 ; +0x80, 0x8f7628\nLDR             X2, [X2,#0x200]                                        ; +0x84, 0x8f762c\nBLR             X2                                                     ; +0x88, 0x8f7630\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x8c, 0x8f7634\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x90, 0x8f7638\nRET                                                                    ; +0x94, 0x8f763c\nBL              _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x98, 0x8f7640\nLDR             W2, [X0,#0x150]; bool                                  ; +0x9c, 0x8f7644\nLDR             W0, [X0,#0x154]                                        ; +0xa0, 0x8f7648\nMOV             W1, #1; int                                            ; +0xa4, 0x8f764c\nSUB             W0, W2, W0; this                                       ; +0xa8, 0x8f7650\nBL              _ZN11ProfilePage6createEib; ProfilePage::create(int,bool) ; +0xac, 0x8f7654\nLDR             X2, [X0]                                               ; +0xb0, 0x8f7658\nMOV             W3, #1                                                 ; +0xb4, 0x8f765c\nSTRB            W3, [X0,#0x24C]                                        ; +0xb8, 0x8f7660\nLDR             X1, [X2,#0x508]                                        ; +0xbc, 0x8f7664\nBLR             X1                                                     ; +0xc0, 0x8f7668\nB               loc_8F760C                                             ; +0xc4, 0x8f766c", "xrefs": ["FriendsProfilePage::keyBackClicked @ 0x8f7674", "<???> @ 0x4ef60", "FriendsProfilePage::init @ 0x8f7038", "<???> @ 0x122a8a0"], "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"}