//
// sub_18001F11C from 0x18001f11c to 0x18001f176 (90 bytes)
//
// 2 xrefs:
// > sub_18001F0B0 @ 0x180021091
// > ??> @ 0x18004d0b8
//
// 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 12:15:45 +0000
//
__int64 __fastcall sub_18001F11C(__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;
}