//
// sub_C7FCA4 from 0xc7fca4 to 0xc7fce4 (64 bytes)
//
// 1 xrefs:
// > sub_C80560 @ 0xc80740
//
// 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
//
__int64 __fastcall sub_C7FCA4(__int64 result, int *a2)
{
__int64 v2; // x2
int v3; // w5
int v4; // w4
int v5; // w3
int v6; // w6
v2 = 0;
v3 = 1;
v4 = 0;
do
{
v5 = *(_DWORD *)(result + 4 * v2);
if ( v5 < v4 )
v6 = v4;
else
v6 = *(_DWORD *)(result + 4 * v2);
if ( v5 > 0 )
{
v4 = v6;
v3 = v2;
}
++v2;
}
while ( v2 != 32 );
*a2 = v4;
a2[1] = v3;
return result;
}