//
// GJGameLoadingLayer::create from 0x1002a6378 to 0x1002a641c (164 bytes)
//
// 1 xrefs:
// > GJGameLoadingLayer::transitionToLoadingLayer @ 0x1002a631c
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:02:15 +0000
//
_QWORD *__fastcall GJGameLoadingLayer::create(__int64 a1, __int64 a2)
{
_QWORD *v4; // x19
v4 = operator new(0x1A8u);
cocos2d::CCLayer::CCLayer((__int64)v4);
*v4 = off_100919228;
v4[40] = off_1009196B8;
v4[41] = &off_100919728;
v4[42] = off_100919740;
v4[43] = &off_100919760;
v4[44] = off_100919788;
v4[51] = 0;
*((_BYTE *)v4 + 416) = 0;
if ( (unsigned int)GJGameLoadingLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v4 + 16LL))(v4);
return nullptr;
}
return v4;
}