//
// sub_EFC7F4 from 0xefc7f4 to 0xefc83c (72 bytes)
//
// 1 xrefs:
// > sub_EFFC48 @ 0xeffcec
//
// 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:16 +0000
//
double __fastcall sub_EFC7F4(__int64 a1, __int64 a2, int a3)
{
double result; // d0
int *v4; // x0
int *v5; // x1
int v6; // w2
int v7; // w5
int v8; // w6
int v9; // t1
int v10; // w4
int v11; // t1
result = 0.0;
if ( a3 > 4 )
{
v4 = (int *)(a1 + 16);
v5 = (int *)(a2 + 16);
v6 = a3 - 2;
v7 = 2;
do
{
v9 = *v5++;
v8 = v9;
v10 = v7 >> 1;
v11 = *v4++;
++v7;
result = result + (double)(v10 * (v8 + v11));
}
while ( v7 != v6 );
}
return result;
}