//
// sub_EDEEE8 from 0xedeee8 to 0xedefd8 (240 bytes)
//
// 1 xrefs:
// > sub_EDE8D4 @ 0xededf0
//
// 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:11:47 +0000
//
__int64 __fastcall sub_EDEEE8(int *a1, _DWORD *a2)
{
__int64 v2; // x19
_DWORD *v3; // x21
int v4; // w25
__int64 v5; // x23
int v6; // w24
__int64 v7; // x28
__int64 v8; // x26
int v9; // w27
unsigned int v10; // w20
int v11; // w22
int v12; // w0
int v15; // [xsp+6Ch] [xbp+6Ch]
v2 = *((_QWORD *)a1 + 19);
if ( v2 )
{
v3 = a2 + 90;
v4 = a1[4];
v5 = *(_QWORD *)a2 + 16LL;
v6 = a2[8];
v7 = *(_QWORD *)v5;
v8 = *(_QWORD *)(*(_QWORD *)a2 + 40LL);
v15 = *(_DWORD *)(*(_QWORD *)a2 + 48LL);
v9 = *(_DWORD *)(*(_QWORD *)a2 + 60LL);
v10 = *a1;
if ( v4 > 0 )
{
v11 = 0;
do
{
v12 = sub_F30FA0(v3, (unsigned int)v4, v2, v10);
v4 -= v12;
v2 += (int)(v10 * v12);
v11 += sub_F310A8(v3);
}
while ( v4 > 0 );
if ( v11 > 0 )
sub_EE93C0(
v7 + v6 * v15,
*(unsigned int *)(v5 + 32),
v8 + v6 * v9,
*(unsigned int *)(v5 + 44),
(unsigned int)a2[103],
(unsigned int)v11,
1);
}
}
return 0;
}