//
// CCCounterLabel::disableCounter from 0x5748a4 to 0x5748c0 (28 bytes)
//
// 2 xrefs:
// > CCCounterLabel::updateCounter @ 0x574b34
// > ??> @ 0xa5018
//
// 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 CCCounterLabel::disableCounter(CCCounterLabel *a1)
{
_BOOL4 m_dontSchedule; // w2
if ( a1->m_counterEnabled )
{
m_dontSchedule = a1->m_dontSchedule;
a1->m_counterEnabled = 0;
if ( !m_dontSchedule )
cocos2d::CCNode::unscheduleAllSelectors(a1);
}
}