//
// CCCounterLabel::init from 0x100511700 to 0x100511780 (128 bytes)
//
// 0 xrefs:
//
// 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)
{
__int64 v4; // rax
cocos2d::CCPoint v5; // xmm1_8
bool result; // al
bool v9; // bl
_QWORD v10[6]; // [rsp+0h] [rbp-30h] BYREF
v10[0] = v4;
sub_10028CC60(v10, &dbl_1009A2760);
result = cocos2d::CCLabelBMFont::initWithString(a1, " ", a3, -1.0, kCCTextAlignmentLeft, v5);
if ( result )
{
a1->m_formatterType = a4;
a1->m_targetCount = a2;
a1->m_currentCount = a2;
v9 = result;
CCCounterLabel::updateString(a1);
return v9;
}
return result;
}