// // GJGarageLayer::playRainbowEffect from 0x50b138 to 0x50b250 (280 bytes) // // 2 xrefs: // > GJGarageLayer::toggleGlow @ 0x50b616 // > GJGarageLayer::onSelect @ 0x50cd04 // // 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:51:27 +0000 // int __fastcall GJGarageLayer::playRainbowEffect(GJGarageLayer *this, int a2, int a3, bool a4) { CCCircleWave *v5; // r4 void (__fastcall *v6)(CCCircleWave *, int); // r8 int v7; // r0 CCCircleWave *v8; // r4 void (__fastcall *v9)(CCCircleWave *, int); // r11 int v10; // r0 CCCircleWave *v11; // r4 void (__fastcall *v12)(CCCircleWave *, int); // r6 int v13; // r0 int result; // r0 bool v15; // [sp+0h] [bp-4h] bool v16; // [sp+0h] [bp-4h] v5 = CCCircleWave::create((CCCircleWave *)0x40800000, 1115684864, (cocos2d::CCActionTween *)0x3F000000, 0.0, a4); *((_BYTE *)v5 + 281) = 0; *((_BYTE *)v5 + 282) = 0; *((_DWORD *)v5 + 75) = 1061997773; *((_BYTE *)v5 + 304) = 1; *((_BYTE *)v5 + 280) = -1; v6 = *(void (__fastcall **)(CCCircleWave *, int))(*(_DWORD *)v5 + 92); v7 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 87) + 96))(*((_DWORD *)this + 87)); v6(v5, v7); (*(void (__fastcall **)(GJGarageLayer *, CCCircleWave *, int))(*(_DWORD *)this + 232))(this, v5, -1); *((_DWORD *)v5 + 74) = 4; *((_DWORD *)v5 + 73) = 1; v8 = CCCircleWave::create((CCCircleWave *)0x3F800000, 1114636288, (cocos2d::CCActionTween *)0x3F000000, 0.0, v15); *((_BYTE *)v8 + 280) = 0; *((_BYTE *)v8 + 282) = 0; *((_BYTE *)v8 + 304) = 1; *((_BYTE *)v8 + 281) = -1; *((_DWORD *)v8 + 75) = 1061997773; v9 = *(void (__fastcall **)(CCCircleWave *, int))(*(_DWORD *)v8 + 92); v10 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 87) + 96))(*((_DWORD *)this + 87)); v9(v8, v10); (*(void (__fastcall **)(GJGarageLayer *, CCCircleWave *, int))(*(_DWORD *)this + 232))(this, v8, -1); *((_DWORD *)v8 + 74) = 4; *((_DWORD *)v8 + 73) = 1; v11 = CCCircleWave::create((CCCircleWave *)0x41A00000, 1114636288, (cocos2d::CCActionTween *)0x3F000000, 0.0, v16); *((_DWORD *)v11 + 75) = 1065353216; *((_BYTE *)v11 + 304) = 1; *((_BYTE *)v11 + 280) = 0; *((_BYTE *)v11 + 281) = 0; *((_BYTE *)v11 + 282) = -1; v12 = *(void (__fastcall **)(CCCircleWave *, int))(*(_DWORD *)v11 + 92); v13 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 87) + 96))(*((_DWORD *)this + 87)); v12(v11, v13); result = (*(int (__fastcall **)(GJGarageLayer *, CCCircleWave *, int))(*(_DWORD *)this + 232))(this, v11, -1); *((_DWORD *)v11 + 74) = 4; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source