//
// sub_EFDA78 from 0xefda78 to 0xefdbe0 (360 bytes)
//
// 1 xrefs:
// > sub_EFFC48 @ 0xeffcfc
//
// 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:17 +0000
//
float __fastcall sub_EFDA78(__int64 a1, __int64 a2)
{
double v2; // d8
__int64 v5; // x19
unsigned int v6; // w21
unsigned int v7; // w22
unsigned int v8; // w20
float v9; // s0
float v10; // s0
unsigned int v11; // w0
__int64 v12; // x0
float v13; // s9
float v14; // s0
float v16; // s0
v2 = 0.0;
v5 = 0;
v6 = 0;
v7 = 0;
do
{
v11 = *(_DWORD *)(a1 + v5);
if ( v11 )
{
v7 += v11;
v8 = v11 + *(_DWORD *)(a2 + v5);
if ( v11 > 0xFF )
((void (*)(void))off_1569348)();
else
v9 = flt_11E5160[v11];
v6 += v8;
v2 = v2 - v9;
if ( v8 > 0xFF )
off_1569348(v8);
else
v10 = flt_11E5160[v8];
goto LABEL_6;
}
v12 = *(unsigned int *)(a2 + v5);
if ( (_DWORD)v12 )
{
v6 += v12;
if ( (unsigned int)v12 > 0xFF )
off_1569348(v12);
else
v10 = flt_11E5160[(unsigned int)v12];
LABEL_6:
v2 = v2 - v10;
}
v5 += 4;
}
while ( v5 != 1024 );
if ( v7 > 0xFF )
{
off_1569348(v7);
v13 = v16;
}
else
{
v13 = flt_11E5160[v7];
}
if ( v6 > 0xFF )
off_1569348(v6);
else
v14 = flt_11E5160[v6];
return (float)(v13 + v14) + v2;
}