//
// LevelInfoLayer::loadLevelStep from 0x499ba0 to 0x499c52 (178 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:49:44 +0000
//
int __fastcall LevelInfoLayer::loadLevelStep(LevelInfoLayer *this)
{
cocos2d::CCArray *v2; // r0
float *v3; // r6
float v4; // r1
cocos2d::CCSequence *v5; // r0
_DWORD (*v6)(LevelInfoLayer *__hidden); // r1
cocos2d::CCSequence *v7; // r6
LevelInfoLayer *v8; // r0
cocos2d::CCSequence *v9; // r0
cocos2d::CCFiniteTimeAction *v10; // r0
cocos2d::CCAction *v11; // r0
v2 = (cocos2d::CCArray *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 120) + 244))(*((_DWORD *)this + 120));
v3 = (float *)cocos2d::CCArray::objectAtIndex(v2, 0);
PlayLayer::processCreateObjectsFromSetup((PlayLayer *)v3);
cocos2d::CCProgressTimer::setPercentage(*((cocos2d::CCProgressTimer **)this + 122), v3[2697] * 100.0);
if ( v3[2697] >= 1.0 )
{
if ( *((_BYTE *)this + 496) )
PlayLayer::loadPersistentCheckpoint((int)v3, *((_DWORD *)this + 91) + 1148);
v9 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(nullptr, v4);
v6 = LevelInfoLayer::playStep4;
v7 = v9;
v8 = this;
}
else
{
v5 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(nullptr, v4);
v6 = LevelInfoLayer::loadLevelStep;
v7 = v5;
v8 = this;
}
v10 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v8, v6, 0);
v11 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v7, v10, 0);
return cocos2d::CCNode::runAction(this, v11);
}