//
// GJPathPage::unlockAnimationStep2 from 0x6d2200 to 0x6d22ea (234 bytes)
//
// 0 xrefs:
//
// 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:57:03 +0000
//
int __fastcall GJPathPage::unlockAnimationStep2(GJPathPage *this)
{
cocos2d::CCParticleSystem *v2; // r4
void (__fastcall *v3)(cocos2d::CCParticleSystem *, float *); // r9
void (__fastcall *v4)(cocos2d::CCParticleSystem *, float *); // r9
void (__fastcall *v5)(cocos2d::CCParticleSystem *, float *); // r9
float v7[2]; // [sp+0h] [bp-2Ch] BYREF
int v8[3]; // [sp+8h] [bp-24h] BYREF
float v9[4]; // [sp+14h] [bp-18h] BYREF
cocos2d::CCDirector::sharedDirector(this);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v7);
memset(v8, 0, sizeof(v8));
std::string::__init(
v8,
"84a0.97a1a0.16a72a180a180a29a0a11a0a0a0a0a0a0a0a2a1a0a0a1a0a0a0a0a0a1a0a1a1a0a0a1a0a0.568627a0a0a0a1a0a0.8a0a0.2a0a1"
"50a0a0a0a0a0a1a2a1a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0",
0xAAu);
v2 = (cocos2d::CCParticleSystem *)GameToolbox::particleFromString((unsigned __int8 *)v8, 0, 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, int))(*(_DWORD *)v2 + 792))(v2, 1);
(*(void (__fastcall **)(GJPathPage *, cocos2d::CCParticleSystem *, int))(*(_DWORD *)this + 232))(this, v2, 11);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, int))(*(_DWORD *)v2 + 80))(v2, 0x40000000);
cocos2d::CCParticleSystem::resetSystem(v2);
v3 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_DWORD *)v2 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, v7[0] * 0.5, v7[1] * 0.5);
v3(v2, v9);
v4 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_DWORD *)v2 + 680);
darkColorForPath(v9, *((_DWORD *)this + 133));
v4(v2, v9);
v5 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_DWORD *)v2 + 696);
lightColorForPath(v9, *((_DWORD *)this + 133));
v5(v2, v9);
return std::string::~string((int)v8);
}