//
// __aeabi_d2lz from 0xaf65b0 to 0xaf65f4 (68 bytes)
//
// 7 xrefs:
// > sub_820F7C @ 0x820ff2
// > sub_820F7C @ 0x821024
// > sub_820F7C @ 0x821128
// > sub_820F7C @ 0x82119e
// > sub_820F7C @ 0x8212f0
// > ??> @ 0x676ac
// > ??> @ 0x859fc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:11:03 +0000
//
// 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;
}