//
// GJGameLoadingLayer::create from 0x86c694 to 0x86c76c (216 bytes)
//
// 2 xrefs:
// > GJGameLoadingLayer::transitionToLoadingLayer @ 0x86c79c
// > ??> @ 0xaa598
//
// 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; // x19
v4 = (GJGameLoadingLayer *)operator new(0x1A8u);
cocos2d::CCLayer::CCLayer(v4);
v4->m_level = nullptr;
v4->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJGameLoadingLayer_vtbl *)&off_1191400;
v4->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1191880;
v4->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_11918F0;
v4->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1191908;
v4->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_1191928;
v4->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1191948;
v4->m_editor = 0;
if ( GJGameLoadingLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
else
{
v4->~GJGameLoadingLayer_0(v4);
return nullptr;
}
}