//
// cocos2d::CCLabelBMFont::create_1 from 0x1006a9d80 to 0x1006a9e18 (152 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_1(__int64 a1, __int64 a2, unsigned int a3, float a4)
{
void *v5; // rbx
__int64 v7; // [rsp+4h] [rbp-3Ch] BYREF
__int64 v8; // [rsp+Ch] [rbp-34h] BYREF
float v9; // [rsp+14h] [rbp-2Ch]
v9 = a4;
sub_1002782D0(&v8, &qword_100BE5D00);
v5 = operator new(0x208u);
cocos2d::CCLabelBMFont::CCLabelBMFont(v5);
sub_1002782D0(&v7, &v8);
if ( (unsigned __int8)cocos2d::CCLabelBMFont::initWithString(v5, a1, a2, a3, &v7, v9) )
{
cocos2d::CCObject::autorelease((__int64)v5);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v5 + 16LL))(v5);
return nullptr;
}
return v5;
}