//
// LoadingLayer::create from 0x6ed8f4 to 0x6ed9d8 (228 bytes)
//
// 2 xrefs:
// > LoadingLayer::scene @ 0x6ed9f4
// > ??> @ 0xa8370
//
// 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:51:46 +0000
//
__int64 __fastcall LoadingLayer::create(LoadingLayer *this)
{
char v1; // w20
__int64 v2; // x19
v1 = (char)this;
v2 = operator new(0x1C8u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v2);
*(_BYTE *)(v2 + 404) = 0;
*(_QWORD *)v2 = &off_14271D0;
*(_QWORD *)(v2 + 320) = off_1427660;
*(_QWORD *)(v2 + 328) = &off_14276D0;
*(_QWORD *)(v2 + 336) = off_14276E8;
*(_QWORD *)(v2 + 344) = off_1427708;
*(_QWORD *)(v2 + 352) = off_1427730;
*(_BYTE *)(v2 + 405) = 0;
*(_DWORD *)(v2 + 408) = 0;
*(_QWORD *)(v2 + 416) = 0;
*(_QWORD *)(v2 + 424) = 0;
*(_QWORD *)(v2 + 432) = 0;
*(_BYTE *)(v2 + 448) = 0;
*(_DWORD *)(v2 + 440) = 0;
*(_DWORD *)(v2 + 444) = 0;
if ( (unsigned __int8)LoadingLayer::init((LoadingLayer *)v2, v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return 0;
}
}