//
// GJGameLoadingLayer::create from 0x47cc5c to 0x47ccdc (128 bytes)
//
// 1 xrefs:
// > GJGameLoadingLayer::transitionToLoadingLayer @ 0x47ccf6
//
// 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 *GJGameLoadingLayer::create(GJGameLevel *a1, bool a2)
{
GJGameLoadingLayer *v4; // r4
GJGameLoadingLayer_vtbl *v5; // r3
GJGameLoadingLayer *v6; // r0
v4 = (GJGameLoadingLayer *)operator new(0x144u);
cocos2d::CCLayer::CCLayer(v4);
v4->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJGameLoadingLayer_vtbl *)&off_A69360;
v4->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A695A0;
v4->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A695D8;
v4->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A695E4;
v4->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A695F4;
v4->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A69604;
v4->m_level = nullptr;
v4->m_editor = 0;
if ( GJGameLoadingLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
v5 = v4->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v6 = v4;
v4 = nullptr;
v5->~GJGameLoadingLayer_0(v6);
}
return v4;
}