//
// CCCounterLabel::create from 0x10003aa20 to 0x10003aad4 (180 bytes)
//
// 1 xrefs:
// > GJShopLayer::init @ 0x10014b050
//
// 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
//
CCCounterLabel *__fastcall CCCounterLabel::create(int a1, const char *a2, FormatterType a3)
{
char *v6; // x19
v6 = (char *)operator new(0x220u);
cocos2d::CCLabelBMFont::CCLabelBMFont();
*(_QWORD *)v6 = off_10076CA30;
*((_QWORD *)v6 + 40) = off_10076CE88;
*((_QWORD *)v6 + 45) = off_10076CEB8;
*((_QWORD *)v6 + 46) = off_10076CED8;
*(_QWORD *)(v6 + 516) = 0;
*(_QWORD *)(v6 + 521) = 0;
*((_DWORD *)v6 + 133) = 10;
v6[536] = 0;
*((_DWORD *)v6 + 135) = 0;
if ( CCCounterLabel::init((CCCounterLabel *)v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
return (CCCounterLabel *)v6;
}