//
// LevelInfoLayer::loadLevelStep from 0x1002c4380 to 0x1002c442d (173 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::playStep3 @ 0x1002c4336
// > LevelInfoLayer::loadLevelStep @ 0x1002c43df
//
// 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 LevelInfoLayer::loadLevelStep(LevelInfoLayer *a1)
{
__int64 v1; // rax
PlayLayer *v2; // r14
bool v3; // cc
void (__fastcall *v4)(LevelInfoLayer *); // r14
unsigned int v5; // r15d
unsigned int v6; // eax
int v7; // ecx
int v8; // r8d
int v9; // r9d
cocos2d::CCAction *v10; // rax
v1 = ((__int64 (__fastcall *)(cocos2d::CCScene *))a1->m_playScene->getChildren)(a1->m_playScene);
v2 = (PlayLayer *)sub_1007200C0(v1, 0);
PlayLayer::processCreateObjectsFromSetup(v2);
cocos2d::CCProgressTimer::setPercentage(a1->m_progressTimer, v2->m_loadingProgress * 100.0);
v3 = v2->m_loadingProgress >= 1.0;
v4 = LevelInfoLayer::playStep4;
if ( !v3 )
v4 = LevelInfoLayer::loadLevelStep;
v5 = (unsigned int)cocos2d::CCDelayTime::create(0.0);
v6 = (unsigned int)cocos2d::CCCallFunc::create(a1, (cocos2d::SEL_CallFunc)(unsigned __int64)v4);
v10 = (cocos2d::CCAction *)sub_1003B5760(v5, v6, 0, v7, v8, v9);
cocos2d::CCNode::runAction(a1, v10);
}