// // FriendsProfilePage::onClose from 0x140140c20 to 0x140140cd2 (178 bytes) // // 3 xrefs: // > FriendsProfilePage::keyBackClicked @ 0x140140ce9 // > FriendsProfilePage::init @ 0x140140095 // > @ 0x1406ca2f0 // // 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) { __int64 v3; // rax cocos2d::CCTouchDispatcher *v4; // rax __int64 v5; // rax cocos2d::CCTouchDispatcher *v6; // rax GJAccountManager *v7; // rax _BYTE *v8; // rax _BOOL8 v9; // rdx if ( a1->m_listLayer ) { v3 = cocos2d::CCDirector::sharedDirector(a1); v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL))(v3); cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1->m_listLayer); } v5 = cocos2d::CCDirector::sharedDirector(a1); v6 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 144LL))(v5); cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, a1); if ( a1->m_type ) { v8 = FriendsProfilePage::create((UserListType)0); } else { v7 = GJAccountManager::sharedState(); v8 = ProfilePage::create(v7->m_accountID - v7->m_unkInt1, 1); v8[588] = 1; } (*(void (__fastcall **)(_BYTE *))(*(_QWORD *)v8 + 1040LL))(v8); a1->setKeypadEnabled(a1, 0); LOBYTE(v9) = 1; a1->removeFromParentAndCleanup(a1, v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source