//
// cocos2d::CCLabelBMFont::create from 0x1005d84e0 to 0x1005d856a (138 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCLabelBMFont *__fastcall cocos2d::CCLabelBMFont::create(
const char *a1,
const char *a2,
float a3,
cocos2d::CCTextAlignment a4,
cocos2d::CCPoint a5)
{
double *v5; // rcx
double *v6; // r13
cocos2d::CCLabelBMFont *v7; // rbx
__int64 v9; // [rsp+8h] [rbp-38h] BYREF
cocos2d::CCTextAlignment v10; // [rsp+10h] [rbp-30h]
float v11; // [rsp+14h] [rbp-2Ch]
v6 = v5;
v10 = a4;
v11 = a3;
v7 = (cocos2d::CCLabelBMFont *)operator new(0x208u);
cocos2d::CCLabelBMFont::CCLabelBMFont(v7);
sub_10028CC60(&v9, v6);
if ( cocos2d::CCLabelBMFont::initWithString(v7, a1, a2, v11, v10, a5) )
{
cocos2d::CCObject::autorelease(v7);
}
else
{
((void (__fastcall *)(cocos2d::CCLabelBMFont *))v7->~CCLabelBMFont_0)(v7);
return nullptr;
}
return v7;
}