//
// sub_ED0D90 from 0xed0d90 to 0xed0e08 (120 bytes)
//
// 4 xrefs:
// > sub_ED27D4 @ 0xed28dc
// > sub_ED27D4 @ 0xed28e4
// > sub_ED27D4 @ 0xed29ac
// > sub_ED27D4 @ 0xed29b4
//
// 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:40 +0000
//
__int64 __fastcall sub_ED0D90(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v3; // x22
__int64 result; // x0
__int64 v8; // x21
__int64 v9; // x1
v3 = *(_QWORD *)(a1 + 848);
result = (*(__int64 (**)(void))(v3 + 72))();
if ( (_DWORD)result )
{
v8 = *(_QWORD *)(v3 + 16);
while ( a3 > 0 )
{
v9 = a2;
a3 -= v8;
a2 += v8;
(*(void (__fastcall **)(__int64, __int64, __int64))(v3 + 80))(a1, v9, v8);
}
return 1;
}
return result;
}