//
// CheckpointGameObject::updateCheckpointSpriteVisibility from 0x76683c to 0x7669d4 (408 bytes)
//
// 3 xrefs:
// > CheckpointGameObject::triggerActivated @ 0x766aa8
// > CheckpointGameObject::resetCheckpoint @ 0x76700c
// > ??> @ 0x6d5a8
//
// 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 CheckpointGameObject::updateCheckpointSpriteVisibility(CheckpointGameObject *a1)
{
cocos2d::CCNode *v2; // x0
cocos2d::CCNode *v3; // x0
cocos2d::CCNode *v4; // x0
cocos2d::CCNode *v5; // x0
cocos2d::CCNode *v6; // x0
cocos2d::CCNode *v7; // x0
cocos2d::CCNode *v8; // x0
cocos2d::CCNode *v9; // x0
v2 = a1->getChildByTag(a1, 1125);
v2->setVisible(v2, !a1->m_checkpointActivated);
v3 = a1->getChildByTag(a1, 1126);
v3->setVisible(v3, !a1->m_checkpointActivated);
v4 = a1->getChildByTag(a1, 1127);
v4->setVisible(v4, !a1->m_checkpointActivated);
v5 = a1->getChildByTag(a1, 1128);
v5->setVisible(v5, a1->m_checkpointActivated);
v6 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1125);
v6->setVisible(v6, !a1->m_checkpointActivated);
v7 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1126);
v7->setVisible(v7, !a1->m_checkpointActivated);
v8 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1127);
v8->setVisible(v8, !a1->m_checkpointActivated);
v9 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1128);
v9->setVisible(v9, a1->m_checkpointActivated);
if ( a1->m_checkpointActivated )
{
a1->setObjectColor(a1, (const cocos2d::ccColor3B *)&off_ECDB18);
a1->m_isColorSpriteBlack = 1;
}
else
{
a1->m_isColorSpriteBlack = 0;
}
}