// // ProfilePage::show from 0x1403c53b0 to 0x1403c550a (346 bytes) // // 5 xrefs: // > MenuLayer::onDaily @ 0x1403351d7 // > MenuLayer::onDaily @ 0x1403351be // > @ 0x1405cbc10 // > @ 0x1405cda50 // > @ 0x1406d7838 // // 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 // // Merged with: ProfilePage::show, RewardsPage::show void __fastcall ProfilePage::show(__int64 a1, __int64 a2, __int64 a3, float a4) { unsigned __int8 v5; // al float v6; // xmm6_4 struct cocos2d::CCScaleTo *v7; // rax struct cocos2d::CCEaseElasticOut *v8; // rax cocos2d::ccColor3B *v9; // r8 __int64 v10; // rcx cocos2d::CCScene *v11; // rdi int v12; // eax struct cocos2d::CCFadeTo *v13; // rax cocos2d::ccColor3B *v14; // r8 __int64 v15; // rdx float v16; // [rsp+20h] [rbp-18h] float v17; // [rsp+20h] [rbp-18h] if ( *(_BYTE *)(a1 + 588) ) { FLAlertLayer::show((FLAlertLayer *)a1); } else { (*(void (__fastcall **)(__int64))(*(_QWORD *)(a1 + 408) + 32LL))(a1 + 408); v6 = (float)v5; (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 576) + 160LL))(*(_QWORD *)(a1 + 576)); v7 = cocos2d::CCScaleTo::create(0.30000001, 1.0); v8 = cocos2d::CCEaseElasticOut::create(v7, 1.6); cocos2d::CCNode::runAction(*(CCLightFlash **)(a1 + 576), (cocos2d::CCPoint)v8, v9, a4, v16); v11 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v10) + 264); if ( *(_QWORD *)(a1 + 560) ) { v11 = *(cocos2d::CCScene **)(a1 + 560); } else { if ( cocos2d::CCScene::getHighestChildZ(v11) + 1 >= 105 ) v12 = cocos2d::CCScene::getHighestChildZ(v11) + 1; else v12 = 105; *(_DWORD *)(a1 + 584) = v12; } if ( !*(_DWORD *)(a1 + 584) ) *(_DWORD *)(a1 + 584) = 105; ((void (__fastcall *)(cocos2d::CCScene *, __int64))v11->addChild_0)(v11, a1); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 + 408) + 40LL))(a1 + 408, 0); v13 = cocos2d::CCFadeTo::create(0.14, (int)v6); cocos2d::CCNode::runAction((CCLightFlash *)a1, (cocos2d::CCPoint)v13, v14, a4, v17); LOBYTE(v15) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 320LL))(a1, v15); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source