//
// SecretGame01Layer::gameStep02 from 0xbc4bf8 to 0xbc4cfc (260 bytes)
//
// 3 xrefs:
// > ??> @ 0x87f40
// > SecretGame01Layer::gameStep01 @ 0xbc4b1c
// > ??> @ 0x1543900
//
// 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 13:03:31 +0000
//
__int64 __fastcall SecretGame01Layer::gameStep02(SecretGame01Layer *this)
{
long double v2; // q0
__int64 v3; // x0
unsigned int *v4; // x1
__int64 *v5; // x19
__int64 *v6; // x22
__int64 i; // x0
cocos2d::CCNode *v8; // x20
cocos2d::CCArray *v9; // x0
cocos2d::CCNode *v10; // x21
unsigned __int8 v11; // w3
cocos2d::CCAction *v12; // x0
unsigned __int8 v13; // w3
cocos2d::CCAction *v14; // x0
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 53) + 1000LL))(*((_QWORD *)this + 53), 1);
v3 = *((_QWORD *)this + 51);
if ( v3 )
{
v4 = *(unsigned int **)(v3 + 56);
if ( *v4 )
{
v5 = *((__int64 **)v4 + 2);
v6 = &v5[*v4 - 1];
if ( v5 <= v6 )
{
for ( i = *v5; *v5; i = *v5 )
{
++v5;
v8 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)i + 1072LL))(i);
v9 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v8 + 488LL))(v8);
v10 = (cocos2d::CCNode *)cocos2d::CCArray::objectAtIndex(v9, 0);
v12 = (cocos2d::CCAction *)cocos2d::CCTintTo::create(
(cocos2d::CCTintTo *)((char *)&dword_7C + 1),
0.2,
(unsigned __int8)&dword_7C + 1,
(unsigned __int8)&dword_7C + 1,
v11);
cocos2d::CCNode::runAction(v8, v12);
v14 = (cocos2d::CCAction *)cocos2d::CCTintTo::create(
(cocos2d::CCTintTo *)((char *)&qword_60 + 4),
0.2,
(unsigned __int8)&qword_60 + 4,
(unsigned __int8)&qword_60 + 4,
v13);
cocos2d::CCNode::runAction(v10, v14);
if ( v6 < v5 )
break;
}
}
}
}
return SecretGame01Layer::resetGameTimer(this, v2);
}