//
// LevelOptionsLayer::create from 0x10020d184 to 0x10020d23c (184 bytes)
//
// 1 xrefs:
// > sub_10020D164 @ 0x10020d170
//
// 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:01:01 +0000
//
_QWORD *__fastcall LevelOptionsLayer::create(__int64 a1)
{
_QWORD *v2; // x19
double v3; // d0
v2 = operator new(0x468u);
v3 = GJOptionsLayer::GJOptionsLayer((__int64)v2);
*v2 = &off_1008F7EE8;
v2[40] = off_1008F84F0;
v2[41] = &off_1008F8560;
v2[42] = off_1008F8578;
v2[43] = off_1008F8598;
v2[44] = off_1008F85C0;
v2[51] = off_1008F85F0;
v2[54] = off_1008F8670;
v2[68] = off_1008F8690;
v2[83] = &off_1008F86D8;
v2[84] = off_1008F86F0;
v2[140] = 0;
if ( (unsigned int)LevelOptionsLayer::init(v2, a1, v3) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v2 + 16LL))(v2);
return nullptr;
}
return v2;
}