//
// sub_1800E4A64 from 0x1800e4a64 to 0x1800e4abe (90 bytes)
//
// 2 xrefs:
// > sub_1800E49F8 @ 0x1800e8f7b
// > ??> @ 0x1801c5460
//
// This function is hookable on this platform (idp: pc, 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 11:22:37 +0000
//
__int64 __fastcall sub_1800E4A64(__int64 a1, __int64 a2, __int64 a3, __int64 (__fastcall *a4)(__int64))
{
__int64 i; // rbx
__int64 result; // rax
for ( i = 0; i != a3; ++i )
{
a1 -= a2;
result = a4(a1);
}
return result;
}