//
// __aeabi_f2d from 0xdbc4c to 0xdbc8c (64 bytes)
//
// 5 xrefs:
// > j___aeabi_f2d @ 0xe3528
// > ??> @ 0x4f3c
// > ??> @ 0x57cc
// > j___aeabi_f2d @ 0xe3528
// > ??> @ 0xe72b4
//
// 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 11:42:06 +0000
//
// Alternative name is '__extendsfdf2'
int __fastcall _aeabi_f2d(int a1, int a2, int a3, unsigned int a4)
{
int v4; // r2
int result; // r0
bool v6; // zf
v4 = 2 * a1;
v6 = 2 * a1 == 0;
result = a1 << 29;
if ( v6 || (a4 = v4 & 0xFF000000, (v4 & 0xFF000000) == 0) || a4 == 0xFF000000 )
{
v6 = v4 == 0;
if ( v4 )
v6 = a4 == 0xFF000000;
if ( !v6 )
JUMPOUT(0xDBA9C);
}
return result;
}