//
// GameLevelOptionsLayer::create from 0x10037f748 to 0x10037f808 (192 bytes)
//
// 2 xrefs:
// > sub_10002C5E8 @ 0x10002c664
// > sub_1001115D0 @ 0x1001115dc
//
// 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:03:29 +0000
//
_QWORD *__fastcall GameLevelOptionsLayer::create(__int64 a1)
{
_QWORD *v2; // x19
double v3; // d0
v2 = operator new(0x470u);
v3 = GJOptionsLayer::GJOptionsLayer((__int64)v2);
*v2 = off_1009366F0;
v2[40] = off_100936D00;
v2[41] = &off_100936D70;
v2[42] = off_100936D88;
v2[43] = off_100936DA8;
v2[44] = off_100936DD0;
v2[51] = off_100936E00;
v2[54] = off_100936E80;
v2[68] = off_100936EA0;
v2[83] = &off_100936EE8;
v2[84] = off_100936F00;
v2[140] = &off_100936F20;
v2[141] = 0;
if ( (unsigned int)GameLevelOptionsLayer::init(v2, a1, v3) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v2 + 16LL))(v2);
return nullptr;
}
return v2;
}