//
// GJGameLoadingLayer::create from 0x100209258 to 0x1002092fc (164 bytes)
//
// 1 xrefs:
// > GJGameLoadingLayer::transitionToLoadingLayer @ 0x1002091fc
//
// 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 *v4; // x19
v4 = (GJGameLoadingLayer *)operator new(0x1A8u);
cocos2d::CCLayer::CCLayer((__int64)v4);
v4->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJGameLoadingLayer_vtbl *)off_1007C0DF0;
v4->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1007C1270;
v4->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1007C12E0;
v4->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1007C12F8;
v4->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_1007C1318;
v4->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1007C1338;
v4->m_level = nullptr;
v4->m_editor = 0;
if ( GJGameLoadingLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
((void (__fastcall *)(GJGameLoadingLayer *))v4->~GJGameLoadingLayer_0)(v4);
return nullptr;
}
return v4;
}