// // FRequestProfilePage::onClose from 0x1001b698c to 0x1001b6a4c (192 bytes) // // 3 xrefs: // > FRequestProfilePage::keyBackClicked @ 0x1001b7210 // > sub_1001B7214 @ 0x1001b7218 // > FRequestProfilePage::init @ 0x1001b628c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall FRequestProfilePage::onClose(FRequestProfilePage *a1, cocos2d::CCObject *a2) { cocos2d::CCDirector *v3; // x0 cocos2d::CCTouchDispatcher *v4; // x0 cocos2d::CCDirector *v5; // x0 cocos2d::CCTouchDispatcher *v6; // x0 _BYTE *v7; // x0 GJAccountManager *v8; // x0 if ( a1->m_listLayer ) { v3 = cocos2d::CCDirector::sharedDirector(); v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getTouchDispatcher)(v3); cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1->m_listLayer); } v5 = cocos2d::CCDirector::sharedDirector(); v6 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v5->getTouchDispatcher)(v5); cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, a1); FRequestProfilePage::untoggleAll(a1); if ( a1->m_sent ) { v7 = FRequestProfilePage::create(0); } else { v8 = GJAccountManager::sharedState(); v7 = ProfilePage::create(v8->m_accountID - v8->m_unkInt1, 1); v7[588] = 1; } (*(void (__fastcall **)(_BYTE *))(*(_QWORD *)v7 + 1288LL))(v7); ((void (__fastcall *)(FRequestProfilePage *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(FRequestProfilePage *, __int64))a1->removeFromParentAndCleanup)(a1, 1); }