//
// cocos2d::CCLabelBMFont::createBatched from 0xae8938 to 0xae8a24 (236 bytes)
//
// 2 xrefs:
// > TextGameObject::updateTextObject @ 0x6562f4
// > ??> @ 0xc0480
//
// 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 *v6; // x19
cocos2d::CCPoint v10; // [xsp+60h] [xbp+60h] BYREF
cocos2d::CCPoint v11; // 0:s1.4,4:s2.4
v6 = (cocos2d::CCLabelBMFont *)operator new(0x1E8u);
cocos2d::CCLabelBMFont::CCLabelBMFont(v6);
v6->m_nExtraKerning = a4;
v6->m_pTargetArray = a3;
v6->m_bIsBatched = 1;
cocos2d::CCPoint::CCPoint(&v10, &stru_12452E0);
if ( cocos2d::CCLabelBMFont::initWithString(v6, a1, a2, -1.0, kCCTextAlignmentLeft, v11) )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
else
{
v6->~CCLabelBMFont_0(v6);
return nullptr;
}
}