// // ProfilePage::show from 0x10019c234 to 0x10019c370 (316 bytes) // // 1 xrefs: // > @ 0x1007a8e88 // // 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 ProfilePage::show(ProfilePage *a1) { unsigned __int8 v2; // w20 cocos2d::CCScaleTo *v3; // x0 cocos2d::CCEaseElasticOut *v4; // x0 cocos2d::CCDirector *v5; // x0 cocos2d::CCScene *m_scene; // x21 cocos2d::CCFadeTo *v7; // x0 int v8; // w2 if ( a1->m_noElasticity ) { FLAlertLayer::show(a1); return; } v2 = ((__int64 (__fastcall *)(ProfilePage *))a1->getOpacity)(a1); ((void (__fastcall *)(cocos2d::CCLayer *, float))a1->m_mainLayer->setScale)(a1->m_mainLayer, 0.1); v3 = cocos2d::CCScaleTo::create_1(0.3, 1.0); v4 = cocos2d::CCEaseElasticOut::create(v3, 1.6); cocos2d::CCNode::runAction(a1->m_mainLayer, v4); v5 = cocos2d::CCDirector::sharedDirector(); m_scene = (cocos2d::CCScene *)a1->m_scene; if ( !m_scene ) { m_scene = v5->m_pRunningScene; if ( cocos2d::CCScene::getHighestChildZ(m_scene) < 105 ) v8 = 105; else v8 = cocos2d::CCScene::getHighestChildZ(m_scene) + 1; a1->m_ZOrder = v8; if ( v8 ) goto LABEL_6; goto LABEL_5; } if ( !a1->m_ZOrder ) LABEL_5: a1->m_ZOrder = 105; LABEL_6: ((void (__fastcall *)(cocos2d::CCScene *, ProfilePage *))m_scene->addChild_0)(m_scene, a1); ((void (__fastcall *)(ProfilePage *, _QWORD))a1->setOpacity)(a1, 0); v7 = cocos2d::CCFadeTo::create(0.14, v2); cocos2d::CCNode::runAction(a1, v7); ((void (__fastcall *)(ProfilePage *, __int64))a1->setVisible)(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source