//
// sub_140371B20 from 0x140371b20 to 0x140371bf7 (215 bytes)
//
// 3 xrefs:
// > sub_14037C7A0 @ 0x14037c7a7
// > ??> @ 0x1405c6068
// > ??> @ 0x1406d5a8c
//
// 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
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall sub_140371B20(_QWORD *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
cocos2d::CCObject *v5; // rcx
*Block = &MoreVideoOptionsLayer::`vftable';
Block[40] = &MoreVideoOptionsLayer::`vftable';
Block[41] = &MoreVideoOptionsLayer::`vftable';
Block[42] = &MoreVideoOptionsLayer::`vftable';
Block[43] = &MoreVideoOptionsLayer::`vftable';
Block[44] = &MoreVideoOptionsLayer::`vftable';
Block[51] = &MoreVideoOptionsLayer::`vftable';
Block[54] = &MoreVideoOptionsLayer::`vftable';
Block[79] = &MoreVideoOptionsLayer::`vftable';
v4 = (cocos2d::CCObject *)Block[83];
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = (cocos2d::CCObject *)Block[82];
if ( v5 )
cocos2d::CCObject::release(v5);
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}