//
// sub_EF5E64 from 0xef5e64 to 0xef5ea4 (64 bytes)
//
// 1 xrefs:
// > sub_EF6720 @ 0xef6900
//
// 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 13:12:13 +0000
//
__int64 __fastcall sub_EF5E64(__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;
}