// // FriendsProfilePage::onClose from 0x8f75a8 to 0x8f7670 (200 bytes) // // 4 xrefs: // > FriendsProfilePage::keyBackClicked @ 0x8f7674 // > @ 0x4ef60 // > FriendsProfilePage::init @ 0x8f7038 // > @ 0x122a8a0 // // 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 FriendsProfilePage::onClose(FriendsProfilePage *a1, cocos2d::CCObject *a2) { cocos2d::CCDirector *v3; // x0 cocos2d::CCTouchDispatcher *v4; // x0 cocos2d::CCDirector *v5; // x0 cocos2d::CCTouchDispatcher *v6; // x0 FriendsProfilePage *v7; // x0 GJAccountManager *v8; // x0 ProfilePage *v9; // x0 ProfilePage_vtbl *v10; // x2 if ( a1->m_listLayer ) { v3 = cocos2d::CCDirector::sharedDirector(); v4 = v3->getTouchDispatcher(v3); cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1->m_listLayer); } v5 = cocos2d::CCDirector::sharedDirector(); v6 = v5->getTouchDispatcher(v5); cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, a1); if ( a1->m_type ) { v7 = FriendsProfilePage::create((UserListType)0); v7->show(v7); } else { v8 = GJAccountManager::sharedState(); v9 = ProfilePage::create(v8->m_accountID - v8->m_unkInt1, 1); v10 = v9->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v9->m_noElasticity = 1; ((void (*)(void))v10->show)(); } a1->setKeypadEnabled(a1, 0); a1->removeFromParentAndCleanup(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source