//
// sub_140255E50 from 0x140255e50 to 0x140255f47 (247 bytes)
//
// 3 xrefs:
// > sub_140256DBC @ 0x140256dc3
// > ??> @ 0x140567890
// > ??> @ 0x1406cf93c
//
// 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_140255E50(_QWORD *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
cocos2d::CCObject *v5; // rcx
cocos2d::CCObject *v6; // rcx
*Block = &GJColorSetupLayer::`vftable';
Block[40] = &GJColorSetupLayer::`vftable';
Block[41] = &GJColorSetupLayer::`vftable';
Block[42] = &GJColorSetupLayer::`vftable';
Block[43] = &GJColorSetupLayer::`vftable';
Block[44] = &GJColorSetupLayer::`vftable';
Block[51] = &GJColorSetupLayer::`vftable';
Block[54] = &GJColorSetupLayer::`vftable';
Block[79] = &GJColorSetupLayer::`vftable';
Block[80] = &GJColorSetupLayer::`vftable';
v4 = (cocos2d::CCObject *)Block[82];
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = (cocos2d::CCObject *)Block[81];
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = (cocos2d::CCObject *)Block[83];
if ( v6 )
cocos2d::CCObject::release(v6);
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}