//
// _log_special_common from 0x180133d90 to 0x180133e26 (150 bytes)
//
// 4 xrefs:
// > _log10_special @ 0x180133d46
// > _log_special @ 0x180133d86
// > ??> @ 0x1802031f4
// > ??> @ 0x180203200
//
// 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
//
// local variable allocation has failed, the output may be wrong!
__m128 __fastcall log_special_common(double a1, double a2, int a3, int a4, __int64 a5)
{
int v6; // r8d
int v7; // r9d
int v9; // [rsp+20h] [rbp-48h]
unsigned int v10; // [rsp+28h] [rbp-40h]
double v11; // [rsp+30h] [rbp-38h]
v6 = a3 - 1;
if ( !v6 )
{
v7 = 2;
v11 = a1;
v10 = 34;
v9 = 4;
goto LABEL_5;
}
if ( v6 == 1 )
{
v7 = 1;
v11 = a1;
v10 = 33;
v9 = 8;
LABEL_5:
handle_error(a5, a4, *(__int64 *)&a2, v7, v9, v10, v11, 0, 1);
}
return *(__m128 *)&a2;
}