//
// CCCounterLabel::enableCounter from 0x57485c to 0x5748a0 (68 bytes)
//
// 2 xrefs:
// > CCCounterLabel::setTargetCount @ 0x57492c
// > ??> @ 0x5f8e0
//
// 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::enableCounter(CCCounterLabel *a1)
{
_BOOL4 m_dontSchedule; // w2
cocos2d::SEL_SCHEDULE v2; // 0:x1.16
if ( !a1->m_counterEnabled )
{
m_dontSchedule = a1->m_dontSchedule;
a1->m_counterEnabled = 1;
if ( !m_dontSchedule )
{
v2.adj = 0;
v2.ptr = (void (__cdecl *)(float))CCCounterLabel::updateCounter;
cocos2d::CCNode::schedule(a1, v2);
}
}
}