//
// cocos2d::CCLabelBMFont::create from 0x180049250 to 0x180049301 (177 bytes)
//
// 5 xrefs:
// > cocos2d::CCLabelBMFont::create @ 0x180049187
// > cocos2d::CCLabelBMFont::create @ 0x1800491da
// > cocos2d::CCLabelBMFont::create @ 0x180049232
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bbb30
//
// 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 11:21:42 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCObject *__fastcall cocos2d::CCLabelBMFont::create(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
_DWORD *a5)
{
cocos2d::CCLabelBMFont *v7; // rax
cocos2d::CCObject *v8; // rbx
cocos2d::CCLabelBMFont *v10; // [rsp+30h] [rbp-28h] BYREF
v7 = (cocos2d::CCLabelBMFont *)sub_1800E4AC0(0x218u);
v10 = v7;
if ( v7 )
v8 = cocos2d::CCLabelBMFont::CCLabelBMFont(v7);
else
v8 = nullptr;
if ( v8 )
{
cocos2d::cc_timeval::operator=(&v10, a5);
if ( (unsigned __int8)cocos2d::CCLabelBMFont::initWithString(v8, a1, a2) )
{
cocos2d::CCObject::autorelease(v8);
return v8;
}
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v8 + 8LL))(v8, 1);
}
return nullptr;
}