//
// HardStreak::normalizeAngle from 0x56a0a0 to 0x56a0cc (44 bytes)
//
// 1 xrefs:
// > HardStreak::quadCornerOffset @ 0x56a150
//
// 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:52:30 +0000
//
__int64 __fastcall HardStreak::normalizeAngle(HardStreak *this, double a2)
{
double v3; // d7
v3 = a2;
if ( a2 <= 360.0 )
{
if ( a2 < 0.0 )
v3 = a2 + 360.0;
}
else
{
v3 = a2 - 360.0;
}
return *(_QWORD *)&v3;
}