//
// sub_1003E1C10 from 0x1003e1c10 to 0x1003e1cc0 (176 bytes)
//
// 2 xrefs:
// > sub_1003E0E90 @ 0x1003e16a4
// > sub_1003E1CC0 @ 0x1003e1d18
//
// 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:04:23 +0000
//
__int64 __fastcall sub_1003E1C10(__int64 a1)
{
int v2; // w8
const char *v3; // x1
v2 = *(_DWORD *)(a1 + 1024);
if ( v2 > 1 )
{
if ( v2 == 2 )
{
v3 = "Multiply";
goto LABEL_11;
}
if ( v2 == 3 )
{
v3 = "Invert";
goto LABEL_11;
}
LABEL_8:
v3 = "Normal";
goto LABEL_11;
}
if ( v2 == -99999 )
{
v3 = "Mixed";
goto LABEL_11;
}
if ( v2 != 1 )
goto LABEL_8;
v3 = "Additive";
LABEL_11:
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 1016) + 928LL))(*(_QWORD *)(a1 + 1016), v3);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 1016), 150.0, 0.7, 0.0);
}