//
// GauntletSelectLayer::unlockAnimationStep3 from 0x60b464 to 0x60b644 (480 bytes)
//
// 1 xrefs:
// > GauntletSelectLayer::unlockAnimationFinished @ 0x60d974
//
// 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::unlockAnimationStep3(GauntletSelectLayer *this)
{
unsigned int *v2; // r6
cocos2d::CCParticleSystem *v3; // r5
void (__fastcall *v4)(cocos2d::CCParticleSystem *, float *); // r8
void (__fastcall *v5)(cocos2d::CCParticleSystem *, float *); // r10
const cocos2d::CCPoint *v6; // r11
void (__fastcall *v7)(cocos2d::CCParticleSystem *, float *); // r10
void (__fastcall *v8)(cocos2d::CCParticleSystem *, float *); // r10
cocos2d::CCParticleSystem *v9; // r5
void (__fastcall *v10)(cocos2d::CCParticleSystem *, float *); // r10
const cocos2d::CCPoint *v11; // r11
void (__fastcall *v12)(cocos2d::CCParticleSystem *, float *); // r7
GameManager *v13; // r0
GameManager *v14; // r0
int v15; // r1
int v16; // r2
int v17; // r3
int v19; // [sp+0h] [bp-3Ch] BYREF
int v20[3]; // [sp+8h] [bp-34h] BYREF
float v21[4]; // [sp+14h] [bp-28h] BYREF
float v22[4]; // [sp+24h] [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 *)&v19);
memset(v20, 0, sizeof(v20));
std::string::__init(
v20,
"100a0a0.88a0.21a-1a90a180a5a5a48a82a0a0a0a0a0a0a7a2a0a360a0.411765a1a1a1a0a1a1a0a3a2a0a60a0a0a0.737255a0a0.160784a0a"
"1a0a0.16a0.1a0.51a0.12a0a0a0a0a0a0a0a2a1a1a0a0a166a0a0a0a0a0a0a0a0a1a1a0a0a0a0",
0xC2u);
v3 = (cocos2d::CCParticleSystem *)GameToolbox::particleFromString((unsigned __int8 *)v20, 0, 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, int))(*(_DWORD *)v3 + 792))(v3, 1);
(*(void (__fastcall **)(GauntletSelectLayer *, cocos2d::CCParticleSystem *, int))(*(_DWORD *)this + 232))(
this,
v3,
15);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, int))(*(_DWORD *)v3 + 80))(v3, 1070386381);
v4 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_DWORD *)v3 + 480);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v22, 30.0, 70.0);
v4(v3, v22);
cocos2d::CCParticleSystem::resetSystem(v3);
v5 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_DWORD *)v3 + 92);
v6 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(unsigned int *))(*v2 + 256))(v2);
(*(void (__fastcall **)(unsigned int *))(*v2 + 96))(v2);
cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v21, v6);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v22, this);
v5(v3, v22);
v7 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_DWORD *)v3 + 680);
sub_609F0C(v22, v2[68]);
v7(v3, v22);
v8 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_DWORD *)v3 + 696);
sub_609F0C(v22, v2[68]);
v8(v3, v22);
std::string::assign(
v20,
"30a0a1.15a0.3a-1a110a97a0a8a44a71a0a0a0a0a0a0a75a12a0a0a1a0.4a0.890196a0.4a0a0.4a0.51a0.22a-5a1a0a0a1a0a0a0a0.078431"
"4a0a0a0a0.16a0a0.25a0a0a0a0a0a0a0a0a2a0a0a0a0a159a0a0.35a0a0a0a0a1a0a1a0a0a0a0a0");
v9 = (cocos2d::CCParticleSystem *)GameToolbox::particleFromString((unsigned __int8 *)v20, 0, 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, int))(*(_DWORD *)v9 + 792))(v9, 1);
(*(void (__fastcall **)(GauntletSelectLayer *, cocos2d::CCParticleSystem *, int))(*(_DWORD *)this + 232))(
this,
v9,
16);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, int))(*(_DWORD *)v9 + 80))(v9, 1074580685);
cocos2d::CCParticleSystem::resetSystem(v9);
v10 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_DWORD *)v9 + 92);
v11 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(unsigned int *))(*v2 + 256))(v2);
(*(void (__fastcall **)(unsigned int *))(*v2 + 96))(v2);
cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v21, v11);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v22, this);
v10(v9, v22);
v12 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_DWORD *)v9 + 480);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v22, 10.0, 40.0);
v12(v9, v22);
sub_609F0C(v21, v2[68]);
sub_609F0C(v22, v2[68]);
v21[3] = 0.01;
v22[3] = 0.0;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_DWORD *)v9 + 680))(v9, v21);
v13 = (GameManager *)(*(int (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_DWORD *)v9 + 696))(v9, v22);
v14 = (GameManager *)GameManager::sharedState(v13);
GameManager::fadeInMenuMusic(v14, v15, v16, v17);
return std::string::~string((int)v20);
}