//
// OptionsLayer::create from 0x1001128f8 to 0x1001129c4 (204 bytes)
//
// 3 xrefs:
// > MenuLayer::onOptions @ 0x100304e10
// > MenuLayer::openOptions @ 0x1003055e0
// > MenuLayer::keyDown @ 0x10030597c
//
// 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 10:59:09 +0000
//
char *OptionsLayer::create()
{
char *v0; // x19
v0 = (char *)operator new(0x2A0u);
GJDropDownLayer::GJDropDownLayer((__int64)v0);
*(_QWORD *)v0 = off_1008D0440;
*((_QWORD *)v0 + 40) = off_1008D09C8;
*((_QWORD *)v0 + 41) = &off_1008D0A38;
*((_QWORD *)v0 + 42) = off_1008D0A50;
*((_QWORD *)v0 + 43) = &off_1008D0A70;
*((_QWORD *)v0 + 44) = off_1008D0A98;
*((_QWORD *)v0 + 51) = off_1008D0AC8;
*((_QWORD *)v0 + 54) = off_1008D0B48;
*((_QWORD *)v0 + 76) = &off_1008D0B68;
*((_QWORD *)v0 + 77) = &off_1008D0B80;
*((_OWORD *)v0 + 39) = 0u;
*(_QWORD *)(v0 + 637) = 0;
*(_OWORD *)(v0 + 648) = 0u;
*((_DWORD *)v0 + 166) = -1;
if ( (unsigned int)GJDropDownLayer::init_1(v0, "Settings") )
{
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}