// // EndLevelLayer::coinEnterFinished from 0x535534 to 0x5356a8 (372 bytes) // // 1 xrefs: // > EndLevelLayer::coinEnterFinishedO @ 0x5356e8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:52:06 +0000 // int __fastcall EndLevelLayer::coinEnterFinished(int a1, int a2) { bool v4; // r2 int v5; // r0 int v6; // r4 int v7; // r3 int v8; // r2 int v9; // s14 void (__fastcall *v10)(int, int *); // r10 float v11; // s17 int v12; // r3 void (__fastcall *v13)(int, int *); // r3 FMODAudioEngine *v14; // r0 int v15; // r0 FMODAudioEngine *v16; // r8 CCCircleWave *v17; // r0 char v18; // r3 CCCircleWave *v19; // r4 char v20; // r2 int v21; // r3 bool v23[8]; // [sp+0h] [bp+0h] BYREF int v24[3]; // [sp+8h] [bp+8h] BYREF int v25; // [sp+14h] [bp+14h] BYREF float v26; // [sp+18h] [bp+18h] float v27; // [sp+1Ch] [bp+1Ch] int v28; // [sp+20h] [bp+20h] cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v25, 0.0, 0.0); cocos2d::CCPoint::operator+(v23, a2, &v25); v5 = cocos2d::CCParticleSystemQuad::create((cocos2d::CCParticleSystemQuad *)"starEffect.plist", nullptr, v4); v6 = v5; if ( *(_BYTE *)(a1 + 484) ) { if ( *(_BYTE *)(a1 + 485) ) { v7 = 255; v8 = 255; } else { v7 = 75; v8 = 175; } v9 = v7; v10 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v5 + 680); v11 = (float)v8 / 255.0; v12 = *(_DWORD *)((*(int (__fastcall **)(int))(*(_DWORD *)v5 + 676))(v5) + 12); v25 = 1065353216; v26 = v11; v28 = v12; v27 = (float)v9 / 255.0; v10(v6, &v25); v13 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v6 + 696); v25 = 1065353216; v26 = v11; v28 = 0; v27 = (float)v9 / 255.0; v13(v6, &v25); } (*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 792))(v6, 1); (*(void (__fastcall **)(_DWORD, int, int))(**(_DWORD **)(a1 + 464) + 232))(*(_DWORD *)(a1 + 464), v6, 9); v14 = (FMODAudioEngine *)(*(int (__fastcall **)(int, bool *))(*(_DWORD *)v6 + 92))(v6, v23); v15 = FMODAudioEngine::sharedEngine(v14); memset(v24, 0, sizeof(v24)); v16 = (FMODAudioEngine *)v15; std::string::__init(v24, "highscoreGet02.ogg", 0x12u); FMODAudioEngine::playEffect(v16, (int)v24); std::string::~string((int)v24); v17 = CCCircleWave::create((CCCircleWave *)0x41200000, 1119092736, (cocos2d::CCActionTween *)0x3ECCCCCD, 0.0, v23[0]); v18 = *(_BYTE *)(a1 + 484); v19 = v17; if ( v18 ) { if ( *(_BYTE *)(a1 + 485) ) { v18 = -1; v20 = -1; } else { v18 = 75; v20 = -81; } } else { v20 = -1; } *((_BYTE *)v17 + 282) = v18; v21 = *(_DWORD *)v17; *((_BYTE *)v17 + 280) = -1; *((_BYTE *)v17 + 281) = v20; (*(void (__fastcall **)(CCCircleWave *, bool *))(v21 + 92))(v17, v23); return (*(int (__fastcall **)(_DWORD, CCCircleWave *, int))(**(_DWORD **)(a1 + 464) + 232))( *(_DWORD *)(a1 + 464), v19, 9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source