//
// cocos2d::CCLabelBMFont::create from 0x180047ce0 to 0x180047d3f (95 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b18fc
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCLabelBMFont *__fastcall cocos2d::CCLabelBMFont::create()
{
cocos2d::CCLabelBMFont *v0; // rax
cocos2d::CCLabelBMFont *v1; // rbx
v0 = (cocos2d::CCLabelBMFont *)operator new(0x218u);
if ( v0 )
v1 = cocos2d::CCLabelBMFont::CCLabelBMFont(v0);
else
v1 = nullptr;
if ( v1 )
{
if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCLabelBMFont *))v1->init)(v1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
((void (__fastcall *)(cocos2d::CCLabelBMFont *, __int64))v1->~CCLabelBMFont)(v1, 1);
}
return nullptr;
}