//
// MenuLayer::openOptions from 0x100391f30 to 0x100391fa1 (113 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall MenuLayer::openOptions(MenuLayer *a1, bool a2)
{
OptionsLayer *v2; // rbx
VideoOptionsLayer *v3; // rax
v2 = OptionsLayer::create();
((void (__fastcall *)(MenuLayer *, OptionsLayer *, __int64))a1->addChild_0)(a1, v2, 100);
((void (__fastcall *)(OptionsLayer *, bool))v2->showLayer)(v2, a2);
if ( a2 )
{
v3 = VideoOptionsLayer::create();
((void (__fastcall *)(OptionsLayer *, VideoOptionsLayer *, __int64))v2->addChild_0)(v2, v3, 100);
}
}