//
// VideoOptionsLayer::create from 0x1000ed4ac to 0x1000ed554 (168 bytes)
//
// 1 xrefs:
// > MenuLayer::openOptions @ 0x100267fb8
//
// 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
//
VideoOptionsLayer *__fastcall VideoOptionsLayer::create()
{
char *v0; // x19
v0 = (char *)operator new(0x2D8u);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v0);
*(_QWORD *)v0 = off_100782E38;
*((_QWORD *)v0 + 40) = off_100783358;
*((_QWORD *)v0 + 41) = &off_1007833C8;
*((_QWORD *)v0 + 42) = off_1007833E0;
*((_QWORD *)v0 + 43) = off_100783400;
*((_QWORD *)v0 + 44) = off_100783420;
*((_QWORD *)v0 + 51) = off_100783448;
*((_QWORD *)v0 + 54) = off_1007834C8;
*((_DWORD *)v0 + 181) = 0;
*(_OWORD *)(v0 + 680) = 0u;
*(_OWORD *)(v0 + 696) = 0u;
*(_OWORD *)(v0 + 707) = 0u;
if ( VideoOptionsLayer::init((VideoOptionsLayer *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (VideoOptionsLayer *)v0;
}