//
// SecretLayer2::showSecretLevel from 0x61a7c4 to 0x61a868 (164 bytes)
//
// 1 xrefs:
// > SecretLayer2::onSubmit @ 0x61ef5c
//
// 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:59 +0000
//
int __fastcall SecretLayer2::showSecretLevel(cocos2d::CCArray **this)
{
GameManager *v2; // r0
unsigned int v3; // r5
float v4; // r2
int v5; // r0
cocos2d::CCEaseBounceOut *v6; // r0
cocos2d::CCActionInterval *v7; // r1
cocos2d::CCAction *v8; // r6
float v9; // r1
cocos2d::CCAction *v10; // r5
cocos2d::CCNode *v11; // r4
v2 = (GameManager *)GameManager::sharedState((GameManager *)this);
v3 = 0;
GameManager::setUGV(v2, (char *)a1i2r3e45s789g, (_BYTE *)&dword_0 + 1);
(*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 94) + 172))(*(this + 94), 1);
(*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 94) + 528))(*(this + 94), 1);
while ( v3 < cocos2d::CCArray::count(*(this + 95)) )
{
v5 = cocos2d::CCArray::objectAtIndex(*(this + 95), v3++);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 172))(v5, 1);
}
v6 = (cocos2d::CCEaseBounceOut *)cocos2d::CCScaleTo::create((cocos2d::CCScaleTo *)0x3F000000, 0.5, v4);
v8 = (cocos2d::CCAction *)cocos2d::CCEaseBounceOut::create(v6, v7);
v10 = (cocos2d::CCAction *)cocos2d::CCFadeIn::create((cocos2d::CCFadeIn *)0x3E19999A, v9);
v11 = (cocos2d::CCNode *)(*(int (__fastcall **)(_DWORD))(*(_DWORD *)*(this + 94) + 536))(*(this + 94));
(*(void (__fastcall **)(cocos2d::CCNode *, int))(*(_DWORD *)v11 + 80))(v11, 1065353216);
(*(void (__fastcall **)(cocos2d::CCNode *, _DWORD))(*(_DWORD *)v11 + 456))(v11, 0);
cocos2d::CCNode::runAction(v11, v8);
return cocos2d::CCNode::runAction(v11, v10);
}