//
// sub_FC080 from 0xfc080 to 0xfc138 (184 bytes)
//
// 1 xrefs:
// > ??> @ 0x11f720
//
// 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 12:15:09 +0000
//
__int64 __fastcall sub_FC080(__int64 a1, __int64 a2, _QWORD *a3, int a4)
{
__int64 v6; // x21
__int64 v7; // x1
__int64 v8; // x22
__int64 v9; // x8
__int64 v10; // x9
float *v11; // x23
int v12; // w24
__int64 v13; // x8
float *v14; // x9
float *v15; // x10
float v16; // t1
if ( *(__int16 *)(a1 + 98) >= 1 )
{
v6 = sub_FC238();
v8 = v7;
v11 = (float *)(v10 - v9);
v12 = 0;
while ( v12 < a4 )
{
if ( (unsigned int)sub_FBFB0(v6, a3, v11) )
return -1;
v13 = *(unsigned __int8 *)(v6 + 100);
v14 = (float *)(v8 + 4LL * v12);
v15 = v11;
if ( *(_BYTE *)(v6 + 100) )
{
do
{
v16 = *v15++;
--v13;
++v12;
*v14 = *v14 + v16;
++v14;
}
while ( v13 );
}
}
}
return 0;
}