//
// sub_1004C03C0 from 0x1004c03c0 to 0x1004c04a4 (228 bytes)
//
// 2 xrefs:
// > sub_1004BEB94 @ 0x1004bfbe0
// > DeathTrackerPopup::mountVirtualRow @ 0x1004c064c
//
// This function is hookable on this platform (idp: arm, 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:06:19 +0000
//
__int64 __fastcall sub_1004C03C0(float a1, float a2, __int64 a3, __int64 a4, __int64 a5, int a6)
{
const char *v9; // x0
void *v10; // x20
float v12[2]; // [xsp+4h] [xbp-2Ch] BYREF
__int16 v13; // [xsp+Ch] [xbp-24h] BYREF
char v14; // [xsp+Eh] [xbp-22h]
v13 = a6;
v14 = BYTE2(a6);
if ( *(char *)(a5 + 23) >= 0 )
v9 = (const char *)a5;
else
v9 = *(const char **)a5;
v10 = cocos2d::CCLabelBMFont::create_1(v9, "chatFont.fnt");
sub_1000262BC(v12, 0.0, 0.5);
(*(void (__fastcall **)(void *, float *))(*(_QWORD *)v10 + 296LL))(v10, v12);
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v10 + 160LL))(v10, a2);
(*(void (__fastcall **)(void *, __int16 *))(*(_QWORD *)v10 + 1072LL))(v10, &v13);
sub_1000262BC(v12, 12.0, a1);
(*(void (__fastcall **)(void *, float *))(*(_QWORD *)v10 + 184LL))(v10, v12);
return (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)a4 + 456LL))(a4, v10);
}