//
// LevelInfoLayer::playStep3 from 0x1404223f0 to 0x1404224b1 (193 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::playStep2 @ 0x1404223a8
// > ??> @ 0x140926858
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:32:09 +0000
//
clock_t __fastcall LevelInfoLayer::playStep3(cocos2d::CCNode *a1, __int64 a2)
{
__int64 v3; // rax
cocos2d::CCObject *v4; // rax
__int64 v5; // rbx
struct cocos2d::CCFiniteTimeAction *v6; // rax
struct cocos2d::CCAction *v7; // rax
clock_t result; // eax
void *v9; // [rsp+30h] [rbp+8h]
v3 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v9 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v9);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v3 = qword_14090BFD0;
}
*(_DWORD *)(v3 + 740) = 3;
LOBYTE(a2) = 1;
v4 = (cocos2d::CCObject *)PlayLayer::scene(*((_QWORD *)a1 + 63), a2);
*((_QWORD *)a1 + 89) = v4;
cocos2d::CCObject::retain(v4);
v5 = cocos2d::CCCallFunc::create(a1, LevelInfoLayer::loadLevelStep);
v6 = cocos2d::CCDelayTime::create(0.0);
v7 = cocos2d::CCSequence::create(v6, v5, 0);
cocos2d::CCNode::runAction(a1, v7);
result = clock();
dword_14090979C = result;
return result;
}