//
// CheckpointGameObject::create from 0x1001d4e70 to 0x1001d4f2f (191 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10059d6b5
//
// 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
//
CheckpointGameObject *__fastcall CheckpointGameObject::create()
{
CheckpointGameObject *v0; // rbx
v0 = (CheckpointGameObject *)operator new(0x738u);
EffectGameObject::EffectGameObject(v0);
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CheckpointGameObject_vtbl *)off_1008D0A90;
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1008D11D8;
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1008D1258;
v0->m_checkpointActivated = 0;
v0->m_respawnID = 0;
if ( EnhancedGameObject::init(v0, "checkpoint_d_01_001.png") )
{
v0->m_classType = Effect;
v0->m_triggerTargetColor.b = -1;
*(_WORD *)&v0->m_triggerTargetColor.r = -1;
v0->m_duration = 0.5;
v0->m_legacyHSV = 1;
v0->m_objectType = Modifier;
v0->m_hasCustomAnimation = 1;
cocos2d::CCObject::autorelease(v0);
}
else
{
((void (__fastcall *)(CheckpointGameObject *))v0->~CheckpointGameObject_0)(v0);
return nullptr;
}
return v0;
}