//
// sub_1400B1B50 from 0x1400b1b50 to 0x1400b1bfd (173 bytes)
//
// 3 xrefs:
// > sub_1400C04D0 @ 0x1400c04d7
// > ??> @ 0x14054a960
// > ??> @ 0x1406c7a4c
//
// 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_1400B1B50(_QWORD *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
cocos2d::CCObject *v5; // rcx
*Block = &MapPackCell::`vftable';
Block[40] = &MapPackCell::`vftable';
Block[41] = &MapPackCell::`vftable';
Block[42] = &MapPackCell::`vftable';
Block[43] = &MapPackCell::`vftable';
Block[44] = &MapPackCell::`vftable';
v4 = (cocos2d::CCObject *)Block[73];
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = (cocos2d::CCObject *)Block[74];
if ( v5 )
cocos2d::CCObject::release(v5);
TableViewCell::dTableViewCell((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}