//
// PlayerCheckpoint::dPlayerCheckpoint from 0x140520ed0 to 0x140520f6e (158 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407d6470
// > ??> @ 0x14092b3e8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:33:37 +0000
//
void *__fastcall PlayerCheckpoint::dPlayerCheckpoint(void *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
*(_QWORD *)Block = &PlayerCheckpoint::`vftable';
v4 = *((cocos2d::CCObject **)Block + 136);
if ( v4 )
cocos2d::CCObject::release(v4);
sub_140080450((void **)Block + 170);
sub_14003EA90((_QWORD *)Block + 140);
sub_14003EB00((void **)Block + 138);
sub_14003EA90((_QWORD *)Block + 105);
sub_14003EB00((void **)Block + 103);
sub_140069730((__int64)Block + 488);
cocos2d::CCNode::~CCNode((cocos2d::CCNode *)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}