//
// cocos2d::CCLabelBMFont::create from 0x100397948 to 0x1003979f4 (172 bytes)
//
// 3 xrefs:
// > ParentalOptionsLayer::addMasterToggle @ 0x100117080
// > sub_10022A868 @ 0x10022a960
// > cocos2d::CCLabelBMFont::create_1 @ 0x100397a44
//
// 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 11:03:41 +0000
//
void *__fastcall cocos2d::CCLabelBMFont::create(int a1, char *a2, __int64 a3, double *a4)
{
void *v7; // x19
__int64 v9; // [xsp+8h] [xbp-48h] BYREF
v7 = operator new(0x208u);
cocos2d::CCLabelBMFont::CCLabelBMFont();
sub_1000262F4(&v9, a4);
if ( (unsigned int)cocos2d::CCLabelBMFont::initWithString((int)v7, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v7);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v7 + 16LL))(v7);
return nullptr;
}
return v7;
}