//
// sub_14048EC10 from 0x14048ec10 to 0x14048ecd9 (201 bytes)
//
// 3 xrefs:
// > sub_140491EB0 @ 0x140491eb7
// > ??> @ 0x14060bb60
// > ??> @ 0x1406dbffc
//
// 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
//
_QWORD *__fastcall sub_14048EC10(_QWORD *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
cocos2d::CCObject *v5; // rcx
*Block = &ShareLevelLayer::`vftable';
Block[40] = &ShareLevelLayer::`vftable';
Block[41] = &ShareLevelLayer::`vftable';
Block[42] = &ShareLevelLayer::`vftable';
Block[43] = &ShareLevelLayer::`vftable';
Block[44] = &ShareLevelLayer::`vftable';
Block[51] = &ShareLevelLayer::`vftable';
Block[54] = &ShareLevelLayer::`vftable';
v4 = (cocos2d::CCObject *)Block[79];
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = (cocos2d::CCObject *)Block[81];
if ( v5 )
cocos2d::CCObject::release(v5);
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}