//
// LoadingLayer::create from 0x30c6f8 to 0x30c792 (154 bytes)
//
// 1 xrefs:
// > LoadingLayer::scene @ 0x30c7a4
//
// 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 *LoadingLayer::create(bool a1)
{
LoadingLayer *v2; // r4
LoadingLayer_vtbl *v3; // r3
int *v4; // r0
v2 = (LoadingLayer *)operator new(0x15Cu);
cocos2d::CCLayer::CCLayer(v2);
v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LoadingLayer_vtbl *)&off_A44AF8;
v2->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A44D38;
v2->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A44D70;
v2->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A44D7C;
v2->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A44D8C;
v2->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A44D9C;
v2->m_sliderGrooveXPos = 0.0;
v2->m_unknown = 0;
v2->m_unknown2 = 0;
v2->m_loadStep = 0;
v2->m_caption = nullptr;
v2->m_textArea = nullptr;
v2->m_sliderBar = nullptr;
v2->m_sliderGrooveHeight = 0.0;
v2->m_fromRefresh = 0;
if ( LoadingLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = (int *)v2;
v2 = nullptr;
v3->~LoadingLayer_0((LoadingLayer *)v4);
}
return v2;
}