//
// cocos2d::CCLabelBMFont::create from 0x7d5dc0 to 0x7d5e30 (112 bytes)
//
// 6 xrefs:
// > ParentalOptionsLayer::addMasterToggle @ 0x532062
// > MoreOptionsLayer::init @ 0x533516
// > ProfilePage::createOfflineNotice @ 0x5f5c28
// > cocos2d::CCLabelBMFont::create @ 0x7d5e64
// > cocos2d::CCLabelBMFont::create @ 0x7d5eb2
// > cocos2d::CCLabelBMFont::create @ 0x7d5efa
//
// 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
//
cocos2d::CCLabelBMFont *__fastcall cocos2d::CCLabelBMFont::create(
const char *a1,
cocos2d *a2,
int a3,
int a4,
const cocos2d::CCPoint *a5)
{
cocos2d::CCLabelBMFont *v9; // r6
float v11[2]; // [sp+Ch] [bp-10h] BYREF
v9 = (cocos2d::CCLabelBMFont *)operator new(0x17Cu);
cocos2d::CCLabelBMFont::CCLabelBMFont(v9);
cocos2d::CCPoint::CCPoint(v11, a5);
if ( cocos2d::CCLabelBMFont::initWithString((int *)v9, a1, a2, a3, a4, v11) )
{
cocos2d::CCObject::autorelease(v9);
return v9;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v9 + 8))(v9);
return nullptr;
}
}