//
// sub_1402B7C70 from 0x1402b7c70 to 0x1402b7d27 (183 bytes)
//
// 3 xrefs:
// > sub_1402B8CBC @ 0x1402b8cc3
// > ??> @ 0x14057fcf8
// > ??> @ 0x1406d25a0
//
// 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_1402B7C70(_QWORD *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
*Block = &GJSpecialColorSelect::`vftable';
Block[40] = &GJSpecialColorSelect::`vftable';
Block[41] = &GJSpecialColorSelect::`vftable';
Block[42] = &GJSpecialColorSelect::`vftable';
Block[43] = &GJSpecialColorSelect::`vftable';
Block[44] = &GJSpecialColorSelect::`vftable';
Block[51] = &GJSpecialColorSelect::`vftable';
Block[54] = &GJSpecialColorSelect::`vftable';
v4 = (cocos2d::CCObject *)Block[81];
if ( v4 )
cocos2d::CCObject::release(v4);
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}