//
// cocos2d::CCLabelBMFont::create from 0x1002fb024 to 0x1002fb0d0 (172 bytes)
//
// 1 xrefs:
// > cocos2d::CCLabelBMFont::create_1 @ 0x1002fb120
//
// 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 *__fastcall cocos2d::CCLabelBMFont::create(
const char *a1,
const char *a2,
float a3,
cocos2d::CCTextAlignment a4,
cocos2d::CCPoint a5)
{
__int64 *v5; // x3
__int64 *v6; // x23
cocos2d::CCLabelBMFont *v11; // x19
__int64 v13; // [xsp+8h] [xbp-48h] BYREF
cocos2d::CCPoint v14; // 0:s1.4,4:s2.4
v6 = v5;
v11 = (cocos2d::CCLabelBMFont *)operator new(0x208u);
cocos2d::CCLabelBMFont::CCLabelBMFont();
sub_1000229B8(&v13, v6);
if ( cocos2d::CCLabelBMFont::initWithString(v11, a1, a2, a3, a4, v14) )
{
cocos2d::CCObject::autorelease(v11);
}
else
{
((void (__fastcall *)(cocos2d::CCLabelBMFont *))v11->~CCLabelBMFont_0)(v11);
return nullptr;
}
return v11;
}