//
// sub_D1F8F8 from 0xd1f8f8 to 0xd1f908 (16 bytes)
//
// 2 xrefs:
// > ??> @ 0x111f398
// > ??> @ 0x121d378
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
unsigned __int64 __fastcall sub_D1F8F8(__int64 a1, __int64 a2, __int64 a3, __int64 a4, unsigned __int64 a5)
{
unsigned __int64 result; // x0
result = a4 - a3;
if ( a4 - a3 > a5 )
return a5;
return result;
}