//
// LoadingLayer::create from 0x1001d5f40 to 0x1001d5fe0 (160 bytes)
//
// 1 xrefs:
// > LoadingLayer::scene @ 0x1001d5f18
//
// 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
//
LoadingLayer *__fastcall LoadingLayer::create(bool a1)
{
LoadingLayer *v2; // x19
v2 = (LoadingLayer *)operator new(0x1C8u);
cocos2d::CCLayer::CCLayer((__int64)v2);
v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LoadingLayer_vtbl *)off_1007BEBA8;
v2->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1007BF028;
v2->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1007BF098;
v2->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1007BF0B0;
v2->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_1007BF0D0;
v2->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1007BF0F0;
*(_WORD *)&v2->m_unknown = 0;
v2->m_loadStep = 0;
*(_OWORD *)&v2->m_caption = 0u;
*(_OWORD *)&v2->m_sliderBar = 0u;
v2->m_fromRefresh = 0;
if ( LoadingLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(LoadingLayer *))v2->~LoadingLayer_0)(v2);
return nullptr;
}
return v2;
}