//
// UILayer::toggleCheckpointsMenu from 0x1004c8520 to 0x1004c855e (62 bytes)
//
// 1 xrefs:
// > PlayLayer::togglePracticeMode @ 0x1000be19a
//
// 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 __fastcall UILayer::toggleCheckpointsMenu(UILayer *a1, bool a2)
{
GameManager *v2; // rax
__int64 v3; // rsi
v2 = GameManager::sharedState();
v3 = a2 & (unsigned __int8)~GameManager::getGameVariable(v2, "0071");
((void (__fastcall *)(cocos2d::CCMenu *, __int64))a1->m_checkpointMenu->setVisible)(a1->m_checkpointMenu, v3);
}