//
// GauntletSelectLayer::unlockAnimationStep2 from 0x60b2ec to 0x60b454 (360 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:54:47 +0000
//
int __fastcall GauntletSelectLayer::unlockAnimationStep2(GauntletSelectLayer *this)
{
unsigned int *v2; // r7
cocos2d::CCParticleSystem *v3; // r4
void (__fastcall *v4)(cocos2d::CCParticleSystem *, _DWORD); // r5
float v5; // r0
void (__fastcall *v6)(cocos2d::CCParticleSystem *, _DWORD); // r5
float v7; // r0
void (__fastcall *v8)(cocos2d::CCParticleSystem *, float *); // r11
const cocos2d::CCPoint *v9; // r5
void (__fastcall *v10)(cocos2d::CCParticleSystem *, float *); // r8
void (__fastcall *v11)(cocos2d::CCParticleSystem *, float *); // r8
int v13; // [sp+0h] [bp-34h] BYREF
_BYTE v14[8]; // [sp+8h] [bp-2Ch] BYREF
int v15[3]; // [sp+10h] [bp-24h] BYREF
float v16[4]; // [sp+1Ch] [bp-18h] BYREF
v2 = (unsigned int *)cocos2d::CCDictionary::objectForKey(
*((cocos2d::CCDictionary **)this + 90),
*((_DWORD *)this + 92));
cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v2);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v13);
memset(v15, 0, sizeof(v15));
std::string::__init(
v15,
"84a0.97a1a0.16a72a180a180a29a0a11a0a0a0a0a0a0a0a2a1a0a0a1a0a0a0a0a0a1a0a1a1a0a0a1a0a0.568627a0a0a0a1a0a0.8a0a0.2a0a1"
"50a0a0a0a0a0a1a2a1a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0",
0xAAu);
v3 = (cocos2d::CCParticleSystem *)GameToolbox::particleFromString((unsigned __int8 *)v15, 0, 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, int))(*(_DWORD *)v3 + 604))(v3, 1092616192);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, int))(*(_DWORD *)v3 + 612))(v3, 1092616192);
v4 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, _DWORD))(*(_DWORD *)v3 + 488);
v5 = COERCE_FLOAT((*(int (__fastcall **)(cocos2d::CCParticleSystem *))(*(_DWORD *)v3 + 484))(v3));
v4(v3, v5 * 0.8);
v6 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, _DWORD))(*(_DWORD *)v3 + 464);
v7 = COERCE_FLOAT((*(int (__fastcall **)(cocos2d::CCParticleSystem *))(*(_DWORD *)v3 + 460))(v3));
v6(v3, v7 * 0.8);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, int))(*(_DWORD *)v3 + 792))(v3, 1);
(*(void (__fastcall **)(GauntletSelectLayer *, cocos2d::CCParticleSystem *, int))(*(_DWORD *)this + 232))(
this,
v3,
11);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, int))(*(_DWORD *)v3 + 80))(v3, 0x40000000);
cocos2d::CCParticleSystem::resetSystem(v3);
v8 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_DWORD *)v3 + 92);
v9 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(unsigned int *))(*v2 + 256))(v2);
(*(void (__fastcall **)(unsigned int *))(*v2 + 96))(v2);
cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v14, v9);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v16, this);
v8(v3, v16);
v10 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_DWORD *)v3 + 680);
sub_609F0C(v16, v2[68]);
v10(v3, v16);
v11 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_DWORD *)v3 + 696);
sub_609F0C(v16, v2[68]);
v11(v3, v16);
return std::string::~string((int)v15);
}