//
// GJPathPage::unlockAnimationStep2 from 0x1004619ac to 0x100461adc (304 bytes)
//
// 1 xrefs:
// > GJPathPage::playUnlockAnimation @ 0x100461378
//
// 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:05:30 +0000
//
void __fastcall GJPathPage::unlockAnimationStep2(int *a1)
{
__int64 v2; // x0
__int64 v3; // x20
int v4; // s1
int v5; // s2
int v6; // s1
int v7; // s2
float v8; // [xsp+0h] [xbp-50h] BYREF
int v9; // [xsp+4h] [xbp-4Ch]
int v10; // [xsp+8h] [xbp-48h]
int v11; // [xsp+Ch] [xbp-44h]
void *__p[2]; // [xsp+10h] [xbp-40h] BYREF
char v13; // [xsp+27h] [xbp-29h]
__int64 v14; // [xsp+28h] [xbp-28h] BYREF
v2 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v2, &v14);
sub_100009900(
__p,
"84a0.97a1a0.16a72a180a180a29a0a11a0a0a0a0a0a0a0a2a1a0a0a1a0a0a0a0a0a1a0a1a1a0a0a1a0a0.568627a0a0a0a1a0a0.8a0a0.2a0a1"
"50a0a0a0a0a0a1a2a1a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0");
v3 = GameToolbox::particleFromString((__int64)__p, 0, 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 1584LL))(v3, 1);
(*(void (__fastcall **)(int *, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v3, 11);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v3 + 160LL))(v3, 2.0);
cocos2d::CCParticleSystem::resetSystem(v3);
sub_1000262BC(&v8, *(float *)&v14 * 0.5, *((float *)&v14 + 1) * 0.5);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v3 + 184LL))(v3, &v8);
v8 = sub_10045EB48(a1[172]);
v9 = v4;
v10 = v5;
v11 = 1065353216;
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v3 + 1360LL))(v3, &v8);
v8 = sub_10045EAF4(a1[172]);
v9 = v6;
v10 = v7;
v11 = 1065353216;
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v3 + 1392LL))(v3, &v8);
if ( v13 < 0 )
operator delete(__p[0]);
}