//
// CCCounterLabel::init from 0x10003aae8 to 0x10003ab70 (136 bytes)
//
// 1 xrefs:
// > CCCounterLabel::create @ 0x10003aa98
//
// 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 __fastcall CCCounterLabel::init(CCCounterLabel *a1, int a2, const char *a3, FormatterType a4)
{
_BOOL4 v8; // w22
__int64 v10; // [xsp+8h] [xbp-28h] BYREF
cocos2d::CCPoint v11; // 0:s1.4,4:s2.4
sub_1000229B8(&v10, &qword_10086A650);
v8 = cocos2d::CCLabelBMFont::initWithString(a1, " ", a3, -1.0, kCCTextAlignmentLeft, v11);
if ( v8 )
{
a1->m_formatterType = a4;
a1->m_targetCount = a2;
a1->m_currentCount = a2;
CCCounterLabel::updateString(a1);
}
return v8;
}