//
// sub_EFC7B8 from 0xefc7b8 to 0xefc7f4 (60 bytes)
//
// 1 xrefs:
// > sub_EFFC48 @ 0xeffcdc
//
// 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_EFC7B8(__int64 a1, int a2)
{
double result; // d0
int *v3; // x0
int v4; // w1
int v5; // w3
int v6; // t1
int v7; // w2
result = 0.0;
if ( a2 > 4 )
{
v3 = (int *)(a1 + 16);
v4 = a2 - 2;
v5 = 2;
do
{
v6 = *v3++;
v7 = v5++ >> 1;
result = result + (double)(unsigned int)(v7 * v6);
}
while ( v5 != v4 );
}
return result;
}