//
// sub_10066F0D4 from 0x10066f0d4 to 0x10066f114 (64 bytes)
//
// 6 xrefs:
// > sub_1006708D4 @ 0x10067092c
// > sub_1006708D4 @ 0x100670940
// > sub_1006708D4 @ 0x100670954
// > sub_1006708D4 @ 0x100670968
// > sub_1006708D4 @ 0x10067097c
// > sub_1006708D4 @ 0x1006709a0
//
// This function is hookable on this platform (idp: arm, 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:11:06 +0000
//
double __fastcall sub_10066F0D4(__int64 a1, int a2, __int64 a3, int a4)
{
if ( a1 == a3 )
return (double)(a2 - a4) / 1000000.0;
else
return (double)(a1 - a3) + (double)(a2 - a4) / 1000000.0;
}