//
// SecretLayer3::firstInteractionStep3 from 0x10031018c to 0x1003102f4 (360 bytes)
//
// 1 xrefs:
// > SecretLayer3::dialogClosed @ 0x100311824
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SecretLayer3::firstInteractionStep3(SecretLayer3 *a1)
{
unsigned int v2; // w20
__int64 v3; // x21
cocos2d::CCNode *v4; // x21
cocos2d::CCDelayTime *v5; // x22
cocos2d::CCScaleTo *v6; // x0
cocos2d::CCEaseBounceOut *v7; // x23
cocos2d::CCFadeIn *v8; // x0
__int64 v9; // x1
__int64 v10; // x2
__int64 v11; // x3
__int64 v12; // x4
__int64 v13; // x5
__int64 v14; // x6
__int64 v15; // x7
cocos2d::CCSequence *v16; // x0
cocos2d::CCDelayTime *v17; // x20
char v18; // w0
__int64 v19; // x1
__int64 v20; // x2
__int64 v21; // x3
__int64 v22; // x4
__int64 v23; // x5
__int64 v24; // x6
__int64 v25; // x7
cocos2d::CCSequence *v26; // x1
cocos2d::SEL_CallFunc v27; // 0:x1.16
if ( (unsigned int)sub_10024A36C((__int64)a1->m_locksArray) )
{
v2 = 0;
do
{
v3 = sub_10024A388((__int64)a1->m_locksArray, v2);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 1040LL))(v3, 1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 328LL))(v3, 1);
v4 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1056LL))(v3);
v5 = cocos2d::CCDelayTime::create((float)++v2 * 0.1);
v6 = cocos2d::CCScaleTo::create_1(0.5, 1.0);
v7 = cocos2d::CCEaseBounceOut::create(v6);
v8 = cocos2d::CCFadeIn::create(0.15);
LOBYTE(v7) = (unsigned __int8)cocos2d::CCSpawn::createWithTwoActions(v7, v8);
((void (__fastcall *)(cocos2d::CCNode *, float))v4->setScale)(v4, 2.0);
((void (__fastcall *)(cocos2d::CCNode *, _QWORD))v4->__vftable[1].~CCNode_0)(v4, 0);
v16 = sub_10018A494(v5, v9, v10, v11, v12, v13, v14, v15, (char)v7);
cocos2d::CCNode::runAction(v4, v16);
}
while ( v2 < (unsigned int)sub_10024A36C((__int64)a1->m_locksArray) );
}
v17 = cocos2d::CCDelayTime::create(2.0);
v27.ptr = (void (*)(void))SecretLayer3::firstInteractionStep4;
v27.adj = 0;
v18 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, v27);
v26 = sub_10018A494(v17, v19, v20, v21, v22, v23, v24, v25, v18);
cocos2d::CCNode::runAction(a1, v26);
}