//
// __extendsfdf2 from 0x8e0b88 to 0x8e0bc8 (64 bytes)
//
// 3 xrefs:
// > __aeabi_f2ulz @ 0x8e15f8
// > ??> @ 0x6bd6c
// > ??> @ 0x6bd7c
//
// 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 '__aeabi_f2d'
int __fastcall _extendsfdf2(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(0x8E09D8);
}
return result;
}