//
// _sincosf_special from 0x180136a40 to 0x180136ac9 (137 bytes)
//
// 4 xrefs:
// > _cosf_special @ 0x180136a39
// > _sinf_special @ 0x180136ad9
// > _tanf_special @ 0x180136aed
// > ??> @ 0x180203554
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 10:55:00 +0000
//
float __fastcall sincosf_special(float a1, __int64 a2, __int16 a3)
{
float v4; // [rsp+78h] [rbp+20h]
v4 = a1;
if ( (LODWORD(a1) & 0x7F800000) == 0x7F800000 )
{
if ( (LODWORD(a1) & 0x7FFFFF) != 0 )
{
LODWORD(v4) = LODWORD(a1) | 0x400000;
}
else
{
v4 = NAN;
handle_errorf(a2, a3, -4194304, 1, 8, 0x21u, a1, 0.0, 1);
}
}
return v4;
}