//
// CCCounterLabel::init from 0x574b44 to 0x574bfc (184 bytes)
//
// 2 xrefs:
// > CCCounterLabel::create @ 0x574c80
// > ??> @ 0x9ef58
//
// 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
//
bool CCCounterLabel::init(CCCounterLabel *a1, int a2, const char *a3, FormatterType a4)
{
bool v7; // w21
cocos2d::CCPoint v10; // [xsp+50h] [xbp+50h] BYREF
cocos2d::CCPoint v11; // 0:s1.4,4:s2.4
cocos2d::CCPoint::CCPoint(&v10, &stru_1241530);
v7 = cocos2d::CCLabelBMFont::initWithString(a1, " ", a3, -1.0, kCCTextAlignmentLeft, v11);
if ( v7 )
{
a1->m_formatterType = a4;
a1->m_targetCount = a2;
CCCounterLabel::fastUpdateCounter(a1);
}
return v7;
}