//
// CreatorLayer::onOnlineLevels from 0x140137900 to 0x14013797b (123 bytes)
//
// 2 xrefs:
// > CreatorLayer::init @ 0x140135e75
// > ??> @ 0x14091715c
//
// 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:27:05 +0000
//
// Hidden C++ exception states: #wind=1
bool CreatorLayer::onOnlineLevels()
{
__int64 v0; // rcx
struct cocos2d::CCScene *v1; // rax
struct cocos2d::CCScene *v2; // rbx
__int64 v3; // rcx
cocos2d::CCDirector *v4; // rax
void *v6; // [rsp+40h] [rbp+18h]
v0 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v6 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager(v6);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v0 = qword_14090BFD0;
}
v1 = (struct cocos2d::CCScene *)LevelSearchLayer::scene(*(unsigned int *)(v0 + 1304));
v2 = cocos2d::CCTransitionFade::create(0.5, v1);
v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3);
return cocos2d::CCDirector::pushScene(v4, v2);
}