//
// GJGameLoadingLayer::create from 0x9ad910 to 0x9ad9e8 (216 bytes)
//
// 2 xrefs:
// > GJGameLoadingLayer::transitionToLoadingLayer @ 0x9ada18
// > ??> @ 0xdf4c8
//
// 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 12:58:13 +0000
//
__int64 __fastcall GJGameLoadingLayer::create(GJGameLoadingLayer *this, GJGameLevel *a2)
{
char v3; // w20
__int64 v4; // x19
v3 = (char)a2;
v4 = operator new(0x1A8u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v4);
*(_QWORD *)(v4 + 408) = 0;
*(_QWORD *)v4 = &off_14764D0;
*(_QWORD *)(v4 + 320) = off_1476960;
*(_QWORD *)(v4 + 328) = &off_14769D0;
*(_QWORD *)(v4 + 336) = off_14769E8;
*(_QWORD *)(v4 + 344) = off_1476A08;
*(_QWORD *)(v4 + 352) = off_1476A30;
*(_BYTE *)(v4 + 416) = 0;
if ( (unsigned __int8)GJGameLoadingLayer::init((GJGameLoadingLayer *)v4, this, v3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return v4;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4);
return 0;
}
}