//
// SecretGame01Layer::gameStep02 from 0x59e454 to 0x59e4dc (136 bytes)
//
// 0 xrefs:
//
// 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 SecretGame01Layer::gameStep02(SecretGame01Layer *a1)
{
cocos2d::CCArray *m_gameObjects; // r3
cocos2d::ccArray *data; // r2
cocos2d::CCObject **arr; // r4
cocos2d::CCObject **v5; // r5
int v6; // r0
int v7; // t1
cocos2d::CCNode *v8; // r6
cocos2d::CCArray *v9; // r0
cocos2d::CCNode *v10; // r8
cocos2d::CCTintTo *v11; // r0
cocos2d::CCTintTo *v12; // r0
a1->m_mainMenu->setTouchEnabled(a1->m_mainMenu, 1);
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects )
{
data = m_gameObjects->data;
if ( data->num )
{
arr = data->arr;
v5 = &arr[data->num] + 0x3FFFFFFF;
while ( arr <= v5 )
{
v7 = (int)*arr++;
v6 = v7;
if ( !v7 )
break;
v8 = (cocos2d::CCNode *)(*(int (__fastcall **)(int))(*(_DWORD *)v6 + 528))(v6);
v9 = v8->getChildren(v8);
v10 = (cocos2d::CCNode *)cocos2d::CCArray::objectAtIndex(v9, 0);
v11 = cocos2d::CCTintTo::create(0.2, 0x7Du, 0x7Du, 0x7Du);
cocos2d::CCNode::runAction(v8, v11);
v12 = cocos2d::CCTintTo::create(0.2, 0x64u, 0x64u, 0x64u);
cocos2d::CCNode::runAction(v10, v12);
}
}
}
SecretGame01Layer::resetGameTimer(a1);
}