//
// cocos2d::CCLabelBMFont::create_2 from 0x1005d8580 to 0x1005d8610 (144 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_2(const char *a1, const char *a2, float a3)
{
cocos2d::CCPoint v3; // xmm1_8
cocos2d::CCLabelBMFont *v4; // rbx
__int64 v6; // [rsp+Ch] [rbp-34h] BYREF
__int64 v7; // [rsp+14h] [rbp-2Ch] BYREF
float v8; // [rsp+1Ch] [rbp-24h]
v8 = a3;
sub_10028CC60(&v7, &dbl_1009A2D70);
v4 = (cocos2d::CCLabelBMFont *)operator new(0x208u);
cocos2d::CCLabelBMFont::CCLabelBMFont(v4);
sub_10028CC60(&v6, (double *)&v7);
if ( cocos2d::CCLabelBMFont::initWithString(v4, a1, a2, v8, kCCTextAlignmentLeft, v3) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
((void (__fastcall *)(cocos2d::CCLabelBMFont *))v4->~CCLabelBMFont_0)(v4);
return nullptr;
}
return v4;
}