//
// sub_9D6B8 from 0x9d6b8 to 0x9d6fa (66 bytes)
//
// 4 xrefs:
// > sub_9CEEC @ 0x9d108
// > sub_9CEEC @ 0x9d116
// > sub_9CEEC @ 0x9d124
// > sub_9CEEC @ 0x9d132
//
// 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:41:31 +0000
//
float __fastcall sub_9D6B8(int a1, float a2, float a3)
{
float *v4; // r0
if ( a2 == 0.0 )
return 0.0;
v4 = &flt_9D700;
if ( a2 > 0.0 )
v4 = &flt_9D704;
if ( a3 != 0.0 )
return atan2f(a2, a3);
return *v4;
}