//
// CCCounterLabel::create from 0x2e5a10 to 0x2e5a9a (138 bytes)
//
// 1 xrefs:
// > GJShopLayer::init @ 0x4e370a
//
// 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 *CCCounterLabel::create(int a1, const char *a2, FormatterType a3)
{
CCCounterLabel *v6; // r4
CCCounterLabel_vtbl *v7; // r3
int *v8; // r0
v6 = (CCCounterLabel *)operator new(0x188u);
cocos2d::CCLabelBMFont::CCLabelBMFont(v6);
v6->cocos2d::CCLabelBMFont::cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CCCounterLabel_vtbl *)&off_A3CD48;
v6->cocos2d::CCLabelBMFont::cocos2d::CCSpriteBatchNode::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A3CF74;
v6->cocos2d::CCLabelBMFont::cocos2d::CCLabelProtocol::__vftable = (cocos2d::CCLabelProtocol_vtbl *)&off_A3CF8C;
v6->cocos2d::CCLabelBMFont::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A3CF9C;
v6->m_stepCount = 10;
v6->m_stepSize = 0;
v6->m_targetCount = 0;
v6->m_currentCount = 0;
v6->m_counterEnabled = 0;
v6->m_dontSchedule = 0;
v6->m_formatterType = Integer;
if ( CCCounterLabel::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
v7 = v6->cocos2d::CCLabelBMFont::cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v8 = (int *)v6;
v6 = nullptr;
v7->~CCCounterLabel_0((CCCounterLabel *)v8);
}
return v6;
}