// // EndLevelLayer::showLayer from 0x100394038 to 0x1003941b8 (384 bytes) // // 1 xrefs: // > @ 0x1009415f0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:03:39 +0000 // __int64 __fastcall EndLevelLayer::showLayer(__int64 *a1, int a2) { __int64 v4; // x0 char v5; // w0 char v6; // w21 _OWORD *v7; // x0 _OWORD *v8; // x20 char v9; // w0 __int64 v10; // x1 __int64 v11; // x2 __int64 v12; // x3 __int64 v13; // x4 __int64 v14; // x5 __int64 v15; // x6 __int64 v16; // x7 __int64 v17; // x0 float *v18; // x0 float v19; // s8 __int64 v20; // x0 v4 = GameManager::sharedState(a1); GameManager::getGameVariable(v4, "0168"); v6 = v5; cocos2d::CCNode::stopAllActions(a1[72]); (*(void (__fastcall **)(__int64 *))(*a1 + 1344))(a1); if ( (v6 & 1) != 0 || a2 ) { (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)a1[72] + 184LL))(a1[72], a1 + 68); (*(void (__fastcall **)(__int64 *, __int64))(*a1 + 1168))(a1, 100); (*(void (__fastcall **)(__int64 *))(*a1 + 1360))(a1); v19 = 0.0; sub_1003941B8(a1, 0.0); EndLevelLayer::playCoinEffect(a1, 0.0); } else { v7 = cocos2d::CCMoveTo::create((double *)a1 + 68, 1.0); v8 = cocos2d::CCEaseBounceOut::create((__int64)v7); v9 = (unsigned __int8)cocos2d::CCCallFunc::create((__int64)a1, 1360, 1); v17 = sub_10021D420((__int64)v8, v10, v11, v12, v13, v14, v15, v16, v9); cocos2d::CCNode::runAction(a1[72], v17); (*(void (__fastcall **)(__int64 *, _QWORD))(*a1 + 1168))(a1, 0); v18 = cocos2d::CCFadeTo::create(100, 1.0); cocos2d::CCNode::runAction((__int64)a1, (__int64)v18); v19 = 0.7; EndLevelLayer::playCoinEffect(a1, 0.7); v20 = a1[79]; if ( v20 ) v19 = (float)((float)(unsigned int)sub_1002E757C(v20) * 0.35) + 0.7; sub_1003941B8(a1, v19); } sub_100394684(a1, v19); return sub_1003949B0(a1, v19); }
GD Web Decomp Icon

GD Web Decomp

Raw Source