//
// sub_1403A5120 from 0x1403a5120 to 0x1403a51be (158 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405c93f0
// > ??> @ 0x1406d6af4
//
// 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
//
void *__fastcall sub_1403A5120(void *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
*(_QWORD *)Block = &PlayerCheckpoint::`vftable';
v4 = *((cocos2d::CCObject **)Block + 135);
if ( v4 )
cocos2d::CCObject::release(v4);
sub_140093D70((void **)Block + 169);
sub_14005D100((__int64)Block + 1112);
sub_14005D870((void **)Block + 137);
sub_14005D100((__int64)Block + 832);
sub_14005D870((void **)Block + 102);
sub_14005E430((__int64)Block + 488);
cocos2d::CCNode::~CCNode((cocos2d::CCNode *)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}