//
// LevelInfoLayer::loadLevelStep from 0x3b1098 to 0x3b1134 (156 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 LevelInfoLayer::loadLevelStep(LevelInfoLayer *a1)
{
cocos2d::CCArray *v2; // r0
PlayLayer *v3; // r0
bool *p_m_isPracticeMode; // r5
cocos2d::CCDelayTime *v5; // r0
void (*v6)(LevelInfoLayer *); // r1
cocos2d::CCSequence *v7; // r6
cocos2d::CCFiniteTimeAction *v8; // r0
cocos2d::CCAction *v9; // r0
v2 = a1->m_playScene->getChildren(a1->m_playScene);
v3 = (PlayLayer *)cocos2d::CCArray::objectAtIndex(v2, 0);
p_m_isPracticeMode = &v3->m_isPracticeMode;
PlayLayer::processCreateObjectsFromSetup(v3);
cocos2d::CCProgressTimer::setPercentage(a1->m_progressTimer, *((float *)p_m_isPracticeMode + 1) * 100.0);
if ( *((float *)p_m_isPracticeMode + 1) >= 1.0 )
{
v5 = cocos2d::CCDelayTime::create(0.0);
v6 = LevelInfoLayer::playStep4;
}
else
{
v5 = cocos2d::CCDelayTime::create(0.0);
v6 = LevelInfoLayer::loadLevelStep;
}
v7 = (cocos2d::CCSequence *)v5;
v8 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, v6, 0);
v9 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v7, v8, 0);
cocos2d::CCNode::runAction(a1, v9);
}