//
// MoreOptionsLayer::create from 0x10079b220 to 0x10079b386 (358 bytes)
//
// 1 xrefs:
// > OptionsLayer::onOptions @ 0x10079ac14
//
// 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
//
MoreOptionsLayer *__fastcall MoreOptionsLayer::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x2E0u);
cocos2d::CCLayerColor::CCLayerColor((__int64)v0);
*((_QWORD *)v0 + 72) = 0;
*((_DWORD *)v0 + 146) = 0;
v0[588] = 0;
*((_OWORD *)v0 + 34) = 0;
*(_OWORD *)(v0 + 553) = 0;
*((_OWORD *)v0 + 37) = 0;
*((_QWORD *)v0 + 76) = 0;
*((_DWORD *)v0 + 154) = -1;
*((_WORD *)v0 + 310) = 0;
*((_DWORD *)v0 + 156) = -1;
v0[628] = 0;
*(_QWORD *)v0 = off_10098E6B0;
*((_QWORD *)v0 + 40) = off_10098EBF0;
*((_QWORD *)v0 + 41) = &off_10098EC60;
*((_QWORD *)v0 + 42) = off_10098EC78;
*((_QWORD *)v0 + 43) = off_10098EC98;
*((_QWORD *)v0 + 44) = off_10098ECB8;
*((_QWORD *)v0 + 51) = off_10098ECE0;
*((_QWORD *)v0 + 54) = off_10098ED60;
*((_QWORD *)v0 + 79) = off_10098ED80;
*((_QWORD *)v0 + 80) = &off_10098EDC8;
*((_QWORD *)v0 + 81) = &off_10098EDE0;
*((_QWORD *)v0 + 82) = 0xFFFFFFFFLL;
*((_DWORD *)v0 + 166) = 0;
*(_OWORD *)(v0 + 712) = 0;
*((_QWORD *)v0 + 91) = 0;
if ( MoreOptionsLayer::init((MoreOptionsLayer *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (MoreOptionsLayer *)v0;
}