//
// cocos2d::CCLabelBMFont::createBatched from 0x5cdf00 to 0x5cdf7e (126 bytes)
//
// 1 xrefs:
// > TextGameObject::updateTextObject @ 0x3630dc
//
// 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
//
cocos2d::CCLabelBMFont *cocos2d::CCLabelBMFont::createBatched(
const char *a1,
const char *a2,
cocos2d::CCArray *a3,
int a4)
{
cocos2d::CCLabelBMFont *v8; // r4
cocos2d::CCPoint v10; // [sp+4h] [bp-18h]
cocos2d::CCPoint v11; // [sp+Ch] [bp-10h] BYREF
v8 = (cocos2d::CCLabelBMFont *)operator new(0x16Cu);
cocos2d::CCLabelBMFont::CCLabelBMFont(v8);
v8->m_pTargetArray = a3;
v8->m_bIsBatched = 1;
v8->m_nExtraKerning = a4;
cocos2d::CCPoint::CCPoint(&v11, &stru_AC8B70);
LODWORD(v10.x) = &v11;
if ( cocos2d::CCLabelBMFont::initWithString(v8, a1, a2, -1.0, kCCTextAlignmentLeft, v10) )
{
cocos2d::CCObject::autorelease(v8);
return v8;
}
else
{
v8->~CCLabelBMFont_0(v8);
return nullptr;
}
}