//
// CCCounterLabel::init from 0x100512730 to 0x1005127b0 (128 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:31:37 +0000
//
__int64 __fastcall CCCounterLabel::init(_DWORD *a1, int a2, __int64 a3, int a4)
{
__int64 v4; // rax
__int64 result; // rax
unsigned int v8; // ebx
_QWORD v9[6]; // [rsp+0h] [rbp-30h] BYREF
v9[0] = v4;
sub_1002782D0(v9, &qword_100BE5400);
result = cocos2d::CCLabelBMFont::initWithString(a1, " ", a3, 0, v9, -1.0);
if ( (_BYTE)result )
{
a1[135] = a4;
a1[130] = a2;
a1[131] = a2;
v8 = result;
CCCounterLabel::updateString(a1);
return v8;
}
return result;
}