//
// PlayerCheckpoint::create from 0x10011fd08 to 0x10011fd68 (96 bytes)
//
// 2 xrefs:
// > PlayLayer::createCheckpoint @ 0x10011f964
// > PlayLayer::createCheckpoint @ 0x10011f990
//
// 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
//
PlayerCheckpoint *__fastcall PlayerCheckpoint::create()
{
PlayerCheckpoint *v0; // x19
v0 = (PlayerCheckpoint *)operator new(0x540u);
PlayerCheckpoint::PlayerCheckpoint(v0);
if ( ((unsigned int (__fastcall *)(PlayerCheckpoint *))v0->init)(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
((void (__fastcall *)(PlayerCheckpoint *))v0->~PlayerCheckpoint_0)(v0);
return nullptr;
}
return v0;
}