//
// __aeabi_d2lz from 0x8e15b0 to 0x8e15f4 (68 bytes)
//
// 7 xrefs:
// > sub_610EFC @ 0x610f72
// > sub_610EFC @ 0x610fa4
// > sub_610EFC @ 0x6110a8
// > sub_610EFC @ 0x61111e
// > sub_610EFC @ 0x611270
// > ??> @ 0x54a1c
// > ??> @ 0x6bf7c
//
// 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
//
// Alternative name is '__fixdfdi'
__int64 __fastcall _aeabi_d2lz(double a1)
{
if ( a1 >= 0.0 )
return (unsigned __int64)a1;
HIDWORD(a1) += 0x80000000;
return -(__int64)(unsigned __int64)a1;
}