//
// GauntletSelectLayer::create from 0x10059e560 to 0x10059e665 (261 bytes)
//
// 1 xrefs:
// > GauntletSelectLayer::scene @ 0x10059e53c
//
// This function is hookable on this platform (idp: pc, 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:32:32 +0000
//
char *GauntletSelectLayer::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x208u);
__bzero(v0, 520);
cocos2d::CCLayer::CCLayer((__int64)v0);
*(_QWORD *)v0 = off_100B71F40;
*((_QWORD *)v0 + 40) = off_100B723F8;
*((_QWORD *)v0 + 41) = &off_100B72468;
*((_QWORD *)v0 + 42) = off_100B72480;
*((_QWORD *)v0 + 43) = off_100B724A0;
*((_QWORD *)v0 + 44) = off_100B724C8;
*((_QWORD *)v0 + 51) = off_100B724F8;
*((_QWORD *)v0 + 52) = off_100B72528;
*((_QWORD *)v0 + 53) = off_100B72560;
*((_DWORD *)v0 + 127) = 0;
*((_WORD *)v0 + 256) = 0;
*((_OWORD *)v0 + 27) = 0;
*((_OWORD *)v0 + 28) = 0;
*(_OWORD *)(v0 + 458) = 0;
*((_OWORD *)v0 + 30) = 0;
*(_OWORD *)(v0 + 489) = 0;
if ( (unsigned __int8)GauntletSelectLayer::init(v0) )
{
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}