//
// CheckpointGameObject::init from 0x1404b9d90 to 0x1404b9e0c (124 bytes)
//
// 4 xrefs:
// > GameObject::createWithKey @ 0x14018c08a
// > GameObject::createWithKey @ 0x14018c077
// > ??> @ 0x140611800
// > ??> @ 0x1406dcce0
//
// 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
//
bool CheckpointGameObject::init(CheckpointGameObject *a1)
{
a1->m_eObjType = GameObjectObjectType;
if ( !cocos2d::CCSprite::initWithSpriteFrameName(a1, "checkpoint_d_01_001.png") )
return 0;
GameObject::commonSetup(a1);
a1->m_bUnkBool2 = 0;
a1->m_classType = Effect;
*(_WORD *)&a1->m_triggerTargetColor.r = -1;
a1->m_triggerTargetColor.b = -1;
a1->m_duration = 0.5;
a1->m_legacyHSV = 1;
a1->m_objectType = Modifier;
a1->m_hasCustomAnimation = 1;
return 1;
}