//
// sub_E11FEC from 0xe11fec to 0xe1209c (176 bytes)
//
// 3 xrefs:
// > sub_E01368 @ 0xe013b8
// > sub_E01368 @ 0xe01420
// > sub_E0D708 @ 0xe0d9dc
//
// 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:09:39 +0000
//
void __fastcall sub_E11FEC(_QWORD *a1, __int64 a2)
{
__int64 v4; // x4
__int64 v5; // x1
__int64 v6; // x2
v4 = a2 / 1000 + sub_DE6D4C();
v6 = v5 + 1000 * (a2 % 1000);
if ( v6 > 999999 )
{
++v4;
v6 -= 1000000;
}
if ( !a1[4490] && !a1[4491] || sub_DE6DB4(v4, v6, a1[4490], a1[4491]) <= 0 )
sub_E11B04(a1, a2);
}