//
// LoadingLayer::scene from 0x14032e3b0 to 0x14032e4be (270 bytes)
//
// 3 xrefs:
// > AppDelegate::applicationDidFinishLaunching @ 0x140082d65
// > GameManager::reloadAllStep5 @ 0x14018a7e1
// > ??> @ 0x1406d4f94
//
// 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
//
// local variable allocation has failed, the output may be wrong!
// Hidden C++ exception states: #wind=1
cocos2d::CCScene *LoadingLayer::scene(bool a1)
{
cocos2d::CCScene *v2; // rsi
LoadingLayer *v3; // rdi
v2 = (cocos2d::CCScene *)cocos2d::CCScene::create(a1);
v3 = (LoadingLayer *)operator new(0x1C8u);
cocos2d::CCLayer::CCLayer(v3);
v3->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LoadingLayer_vtbl *)&LoadingLayer::`vftable';
v3->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&LoadingLayer::`vftable';
v3->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&LoadingLayer::`vftable';
v3->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&LoadingLayer::`vftable';
v3->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&LoadingLayer::`vftable';
v3->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&LoadingLayer::`vftable';
*(_WORD *)&v3->m_unknown = 0;
v3->m_loadStep = 0;
v3->m_caption = nullptr;
v3->m_textArea = nullptr;
v3->m_sliderBar = nullptr;
*(_QWORD *)&v3->m_sliderGrooveXPos = 0;
v3->m_fromRefresh = 0;
if ( LoadingLayer::init(v3, a1) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
((void (__fastcall *)(LoadingLayer *, __int64))v3->~LoadingLayer)(v3, 1);
v3 = nullptr;
}
v2->addChild_1(v2, v3);
return v2;
}