// // MessagesProfilePage::onClose from 0x8f3d50 to 0x8f3e20 (208 bytes) // // 4 xrefs: // > MessagesProfilePage::keyBackClicked @ 0x8f3e24 // > @ 0x57b28 // > MessagesProfilePage::init @ 0x8f3454 // > @ 0x122ad08 // // 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 MessagesProfilePage::onClose(MessagesProfilePage *a1, cocos2d::CCObject *a2) { cocos2d::CCDirector *v3; // x0 cocos2d::CCTouchDispatcher *v4; // x0 cocos2d::CCDirector *v5; // x0 cocos2d::CCTouchDispatcher *v6; // x0 MessagesProfilePage *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); MessagesProfilePage::untoggleAll(a1); if ( a1->m_sentMessages ) { v7 = MessagesProfilePage::create(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