//
// CCCounterLabel::init from 0x3c56f8 to 0x3c5756 (94 bytes)
//
// 1 xrefs:
// > CCCounterLabel::create @ 0x3c57ca
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:34 +0000
//
int __fastcall CCCounterLabel::init(CCCounterLabel *a1, int a2, cocos2d *a3, int a4)
{
const char *v8; // r1
int v9; // r6
_BYTE v11[8]; // [sp+Ch] [bp-10h] BYREF
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, (const cocos2d::CCPoint *)&unk_D2A3F4);
v9 = cocos2d::CCLabelBMFont::initWithString((int)a1, (int)" ", a3, -1082130432, 0, (int)v11);
if ( v9 )
{
*((_DWORD *)a1 + 101) = a4;
*((_DWORD *)a1 + 96) = a2;
CCCounterLabel::fastUpdateCounter(a1, v8);
}
return v9;
}