//
// GauntletSelectLayer::create from 0xa774c0 to 0xa775dc (284 bytes)
//
// 2 xrefs:
// > GauntletSelectLayer::scene @ 0xa77600
// > ??> @ 0x8b090
//
// 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 13:00:26 +0000
//
__int64 __fastcall GauntletSelectLayer::create(GauntletSelectLayer *this)
{
__int64 v1; // x19
v1 = operator new(0x208u);
memset((void *)v1, 0, 0x208u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v1);
*(_QWORD *)(v1 + 432) = 0;
*(_QWORD *)v1 = &off_1493260;
*(_QWORD *)(v1 + 320) = off_1493718;
*(_QWORD *)(v1 + 328) = &off_1493788;
*(_QWORD *)(v1 + 336) = off_14937A0;
*(_QWORD *)(v1 + 344) = off_14937C0;
*(_QWORD *)(v1 + 352) = off_14937E8;
*(_QWORD *)(v1 + 408) = &off_1493818;
*(_QWORD *)(v1 + 416) = &off_1493848;
*(_QWORD *)(v1 + 424) = off_1493880;
*(_QWORD *)(v1 + 440) = 0;
*(_QWORD *)(v1 + 448) = 0;
*(_QWORD *)(v1 + 456) = 0;
*(_QWORD *)(v1 + 464) = 0;
*(_BYTE *)(v1 + 472) = 0;
*(_BYTE *)(v1 + 473) = 0;
*(_QWORD *)(v1 + 480) = 0;
*(_QWORD *)(v1 + 488) = 0;
*(_QWORD *)(v1 + 496) = 0;
*(_BYTE *)(v1 + 504) = 0;
*(_DWORD *)(v1 + 508) = 0;
*(_BYTE *)(v1 + 512) = 0;
*(_BYTE *)(v1 + 513) = 0;
if ( (unsigned __int8)GauntletSelectLayer::init((GauntletSelectLayer *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}