//
// LevelInfoLayer::loadLevelStep from 0x6d55a4 to 0x6d565c (184 bytes)
//
// 4 xrefs:
// > ??> @ 0x39ed0
// > LevelInfoLayer::playStep3 @ 0x6d5564
// > LevelInfoLayer::loadLevelStep @ 0x6d5654
// > ??> @ 0x1229ca8
//
// 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; // x0
PlayLayer *v3; // x20
cocos2d::CCSequence *v4; // x20
LevelInfoLayer *v5; // x0
void (*v6)(LevelInfoLayer *); // x1
cocos2d::CCFiniteTimeAction *v7; // x0
cocos2d::CCAction *v8; // x0
v2 = a1->m_playScene->getChildren(a1->m_playScene);
v3 = (PlayLayer *)cocos2d::CCArray::objectAtIndex(v2, 0);
PlayLayer::processCreateObjectsFromSetup(v3);
cocos2d::CCProgressTimer::setPercentage(a1->m_progressTimer, v3->m_loadingProgress * 100.0);
if ( v3->m_loadingProgress < 1.0 )
{
v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.0);
v5 = a1;
v6 = LevelInfoLayer::loadLevelStep;
}
else
{
v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.0);
v5 = a1;
v6 = LevelInfoLayer::playStep4;
}
v7 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v5, v6, 0);
v8 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v7, 0);
cocos2d::CCNode::runAction(a1, v8);
}