//
// CCCounterLabel::enableCounter from 0x2e57dc to 0x2e580c (48 bytes)
//
// 1 xrefs:
// > CCCounterLabel::setTargetCount @ 0x2e5888
//
// 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)
{
cocos2d::SEL_SCHEDULE v1; // r1
if ( !a1->m_counterEnabled )
{
a1->m_counterEnabled = 1;
if ( !a1->m_dontSchedule )
{
v1.ptr = (void (__cdecl *)(float))CCCounterLabel::updateCounter;
v1.adj = a1->m_dontSchedule;
cocos2d::CCNode::schedule(a1, v1);
}
}
}