//
// VideoOptionsLayer::create from 0x1404cc770 to 0x1404cc8a1 (305 bytes)
//
// 3 xrefs:
// > MenuLayer::openOptions @ 0x140474da9
// > OptionsLayer::onVideo @ 0x1404cc434
// > ??> @ 0x140929678
//
// This function is hookable on this platform (idp: pc, 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 11:32:58 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *VideoOptionsLayer::create()
{
_QWORD *v0; // rbx
v0 = operator new(0x2F8u);
FLAlertLayer::FLAlertLayer((__int64)v0);
*v0 = &VideoOptionsLayer::`vftable';
v0[40] = &VideoOptionsLayer::`vftable';
v0[41] = &VideoOptionsLayer::`vftable';
v0[42] = &VideoOptionsLayer::`vftable';
v0[43] = &VideoOptionsLayer::`vftable';
v0[44] = &VideoOptionsLayer::`vftable';
v0[51] = &VideoOptionsLayer::`vftable';
v0[54] = &VideoOptionsLayer::`vftable';
v0[68] = &VideoOptionsLayer::`vftable';
v0[89] = 0;
v0[90] = 0;
v0[91] = 0;
v0[92] = 0;
v0[93] = 0;
*((_WORD *)v0 + 376) = 0;
*((_BYTE *)v0 + 754) = 0;
*((_DWORD *)v0 + 189) = 0;
if ( (unsigned __int8)VideoOptionsLayer::init(v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
return v0;
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v0 + 8LL))(v0, 1);
return nullptr;
}
}