//
// cocos2d::CCLabelBMFont::create_2 from 0x1006a9ed0 to 0x1006a9f60 (144 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:35:21 +0000
//
void *__fastcall cocos2d::CCLabelBMFont::create_2(__int64 a1, __int64 a2, float a3)
{
void *v3; // rbx
__int64 v5; // [rsp+Ch] [rbp-34h] BYREF
__int64 v6; // [rsp+14h] [rbp-2Ch] BYREF
float v7; // [rsp+1Ch] [rbp-24h]
v7 = a3;
sub_1002782D0(&v6, &qword_100BE5D00);
v3 = operator new(0x208u);
cocos2d::CCLabelBMFont::CCLabelBMFont(v3);
sub_1002782D0(&v5, &v6);
if ( (unsigned __int8)cocos2d::CCLabelBMFont::initWithString(v3, a1, a2, 0, &v5, v7) )
{
cocos2d::CCObject::autorelease((__int64)v3);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v3 + 16LL))(v3);
return nullptr;
}
return v3;
}