//
// cocos2d::CCLabelBMFont::create from 0x1006a9e30 to 0x1006a9eba (138 bytes)
//
// 3 xrefs:
// > MoreOptionsLayer::init @ 0x10087d6bd
// > sub_100884A10 @ 0x100884eea
// > sub_10089E770 @ 0x10089e86e
//
// 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(__int64 a1, __int64 a2, unsigned int a3, _QWORD *a4, float a5)
{
void *v6; // rbx
__int64 v8; // [rsp+8h] [rbp-38h] BYREF
unsigned int v9; // [rsp+10h] [rbp-30h]
float v10; // [rsp+14h] [rbp-2Ch]
v9 = a3;
v10 = a5;
v6 = operator new(0x208u);
cocos2d::CCLabelBMFont::CCLabelBMFont(v6);
sub_1002782D0(&v8, a4);
if ( (unsigned __int8)cocos2d::CCLabelBMFont::initWithString(v6, a1, a2, v9, &v8, v10) )
{
cocos2d::CCObject::autorelease((__int64)v6);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
return v6;
}