//
// GJGameLoadingLayer::create from 0x100165320 to 0x1001653dd (189 bytes)
//
// 0 xrefs:
//
// 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
//
GJGameLoadingLayer *__fastcall GJGameLoadingLayer::create(GJGameLevel *a1, bool a2)
{
GJGameLoadingLayer *v2; // rbx
v2 = (GJGameLoadingLayer *)operator new(0x1A8u);
cocos2d::CCLayer::CCLayer(v2);
v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJGameLoadingLayer_vtbl *)off_1008C1B10;
v2->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1008C1F90;
v2->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1008C2000;
v2->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1008C2018;
v2->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1008C2038;
v2->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1008C2058;
v2->m_level = nullptr;
v2->m_editor = 0;
if ( GJGameLoadingLayer::init(v2, a1, a2) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(GJGameLoadingLayer *))v2->~GJGameLoadingLayer_0)(v2);
return nullptr;
}
return v2;
}