//
// cocos2d::CCLabelBMFont::create_1 from 0x1005d8430 to 0x1005d84c8 (152 bytes)
//
// 0 xrefs:
//
// 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_1(
const char *a1,
const char *a2,
float a3,
cocos2d::CCTextAlignment a4)
{
cocos2d::CCPoint v4; // xmm1_8
cocos2d::CCLabelBMFont *v6; // rbx
__int64 v8; // [rsp+4h] [rbp-3Ch] BYREF
__int64 v9; // [rsp+Ch] [rbp-34h] BYREF
float v10; // [rsp+14h] [rbp-2Ch]
v10 = a3;
sub_10028CC60(&v9, &dbl_1009A2D70);
v6 = (cocos2d::CCLabelBMFont *)operator new(0x208u);
cocos2d::CCLabelBMFont::CCLabelBMFont(v6);
sub_10028CC60(&v8, (double *)&v9);
if ( cocos2d::CCLabelBMFont::initWithString(v6, a1, a2, v10, a4, v4) )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
((void (__fastcall *)(cocos2d::CCLabelBMFont *))v6->~CCLabelBMFont_0)(v6);
return nullptr;
}
return v6;
}