//
// cocos2d::CCLabelBMFont::createBatched from 0x7d5f1c to 0x7d5f9a (126 bytes)
//
// 1 xrefs:
// > TextGameObject::updateTextObject @ 0x45ada2
//
// 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 12:00:39 +0000
//
int __fastcall cocos2d::CCLabelBMFont::createBatched(
cocos2d::CCLabelBMFont *this,
cocos2d *a2,
const char *a3,
cocos2d::CCArray *a4,
int a5)
{
int v9; // r4
float v11[2]; // [sp+Ch] [bp-10h] BYREF
v9 = operator new(0x17Cu);
cocos2d::CCLabelBMFont::CCLabelBMFont((cocos2d::CCLabelBMFont *)v9);
*(_DWORD *)(v9 + 368) = a3;
*(_BYTE *)(v9 + 367) = 1;
*(_DWORD *)(v9 + 376) = a4;
cocos2d::CCPoint::CCPoint(v11, (const cocos2d::CCPoint *)&unk_D2F2BC);
if ( cocos2d::CCLabelBMFont::initWithString((int *)v9, (const char *)this, a2, -1082130432, 0, v11) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v9);
return v9;
}
else
{
(*(void (__fastcall **)(int))(*(_DWORD *)v9 + 8))(v9);
return 0;
}
}