//
// cocos2d::CCLabelBMFont::create from 0xd5a364 to 0xd5a438 (212 bytes)
//
// 7 xrefs:
// > ParentalOptionsLayer::addMasterToggle @ 0x8f6798
// > MoreOptionsLayer::init @ 0x8f85b8
// > ProfilePage::createOfflineNotice @ 0xa53ab0
// > cocos2d::CCLabelBMFont::create @ 0xd5a498
// > cocos2d::CCLabelBMFont::create @ 0xd5a51c
// > cocos2d::CCLabelBMFont::create @ 0xd5a59c
// > ??> @ 0x8d100
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:07:46 +0000
//
cocos2d::CCLabelBMFont *__fastcall cocos2d::CCLabelBMFont::create(
const char *a1,
cocos2d *a2,
int a3,
const cocos2d::CCPoint *a4,
float a5)
{
cocos2d::CCLabelBMFont *v7; // x19
int v12; // [xsp+70h] [xbp+70h] BYREF
v7 = (cocos2d::CCLabelBMFont *)operator new(0x208u);
cocos2d::CCLabelBMFont::CCLabelBMFont(v7);
cocos2d::CCPoint::CCPoint(&v12, a4);
if ( (unsigned __int8)cocos2d::CCLabelBMFont::initWithString((__int64)v7, a1, a2, a3, (float *)&v12, a5) )
{
cocos2d::CCObject::autorelease(v7);
return v7;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v7 + 16LL))(v7);
return nullptr;
}
}