//
// MultilineBitmapFont::createWithFont from 0x2f1a0c to 0x2f1b14 (264 bytes)
//
// 1 xrefs:
// > TextArea::setString @ 0x2f43ac
//
// 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
//
int __fastcall MultilineBitmapFont::createWithFont(
const char *a1,
int a2,
float a3,
float a4,
const cocos2d::CCPoint *a5,
int a6,
char a7)
{
int v11; // r4
int v12; // r6
int v14; // [sp+10h] [bp-14h] BYREF
cocos2d::CCPoint v15; // [sp+14h] [bp-10h] BYREF
v11 = operator new(0x6DCu);
cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v11);
*(_DWORD *)v11 = &off_A3FA40;
*(_DWORD *)(v11 + 264) = &off_A3FCAC;
*(_DWORD *)(v11 + 280) = &off_A3FCEC;
*(_DWORD *)(v11 + 1708) = 0;
*(_DWORD *)(v11 + 1712) = 0;
*(_DWORD *)(v11 + 1716) = 0;
*(_DWORD *)(v11 + 1720) = 0;
*(_BYTE *)(v11 + 1724) = 0;
*(_DWORD *)(v11 + 1728) = 0;
*(_DWORD *)(v11 + 1732) = 0;
*(_DWORD *)(v11 + 1736) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v11 + 1740));
*(_DWORD *)(v11 + 1748) = 0;
*(_BYTE *)(v11 + 1752) = 0;
sub_775C20(&v14, a2);
cocos2d::CCPoint::CCPoint(&v15, a5);
v12 = MultilineBitmapFont::initWithFont((MultilineBitmapFont *)v11, a1, &v14, a3, a4, &v15.x, a6, a7);
sub_774008(&v14);
if ( v12 )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v11);
return v11;
}
else
{
(*(void (__fastcall **)(int))(*(_DWORD *)v11 + 8))(v11);
return 0;
}
}