//
// CCCounterLabel::init from 0x68ffb8 to 0x690070 (184 bytes)
//
// 2 xrefs:
// > CCCounterLabel::create @ 0x6900f4
// > ??> @ 0xd1380
//
// This function is hookable on this platform (idp: arm, 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:50:35 +0000
//
__int64 __fastcall CCCounterLabel::init(CCCounterLabel *a1, int a2, cocos2d *a3, int a4)
{
unsigned __int8 v7; // w0
unsigned int v8; // w21
_BYTE v11[8]; // [xsp+50h] [xbp+50h] BYREF
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, (const cocos2d::CCPoint *)&unk_155A798);
v7 = cocos2d::CCLabelBMFont::initWithString((int)a1, (int)&byte_11E1A70, a3);
v8 = v7;
if ( v7 )
{
*((_DWORD *)a1 + 135) = a4;
*((_DWORD *)a1 + 130) = a2;
CCCounterLabel::fastUpdateCounter(a1);
}
return v8;
}