//
// sub_D14F30 from 0xd14f30 to 0xd14f58 (40 bytes)
//
// 0 xrefs:
//
// 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
//
__int64 __fastcall sub_D14F30(__int64 a1, __int64 a2)
{
__int64 v2; // x1
__int64 result; // x0
v2 = a1 - a2;
result = 0x7FFFFFFF;
if ( v2 <= 0x7FFFFFFF )
{
if ( v2 >= (__int64)0xFFFFFFFF80000000LL )
return (unsigned int)v2;
else
return 0x80000000LL;
}
return result;
}