//
// sub_B70C30 from 0xb70c30 to 0xb70c68 (56 bytes)
//
// 7 xrefs:
// > sub_B720EC @ 0xb72130
// > sub_B720EC @ 0xb7218c
// > sub_B720EC @ 0xb721a8
// > sub_B720EC @ 0xb721c4
// > sub_B720EC @ 0xb721e0
// > sub_B720EC @ 0xb721fc
// > sub_B72490 @ 0xb724dc
//
// 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
//
double __fastcall sub_B70C30(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
__int64 v4; // x1
v4 = a2 - a4;
if ( a1 == a3 )
return (double)v4 / 1000000.0;
else
return (double)(a1 - a3) + (double)v4 / 1000000.0;
}