//
// OptionsLayer::create from 0x1000ec6fc to 0x1000ec7b8 (188 bytes)
//
// 3 xrefs:
// > MenuLayer::onOptions @ 0x1002678cc
// > MenuLayer::openOptions @ 0x100267f80
// > MenuLayer::keyDown @ 0x10026831c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
OptionsLayer *__fastcall OptionsLayer::create()
{
char *v0; // x19
v0 = (char *)operator new(0x298u);
GJDropDownLayer::GJDropDownLayer((GJDropDownLayer *)v0);
*(_QWORD *)v0 = &off_100784290;
*((_QWORD *)v0 + 40) = off_100784800;
*((_QWORD *)v0 + 41) = &off_100784870;
*((_QWORD *)v0 + 42) = off_100784888;
*((_QWORD *)v0 + 43) = &off_1007848A8;
*((_QWORD *)v0 + 44) = off_1007848C8;
*((_QWORD *)v0 + 51) = off_1007848F0;
*((_QWORD *)v0 + 54) = off_100784970;
*((_QWORD *)v0 + 76) = &off_100784990;
*(_OWORD *)(v0 + 616) = 0u;
*(_QWORD *)(v0 + 629) = 0;
*((_DWORD *)v0 + 164) = -1;
if ( GJDropDownLayer::init_1((GJDropDownLayer *)v0, "Settings") )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (OptionsLayer *)v0;
}