//
// CCSpriteWithHue::setHueDegrees from 0x1006c3980 to 0x1006c39c3 (67 bytes)
//
// 4 xrefs:
// > RewardUnlockLayer::init @ 0x1001ffaab
// > GJShopLayer::init @ 0x10030ebc0
// > GJShopLayer::init @ 0x10030ee6a
// > SecretLayer5::updateTweenActionInt @ 0x100470ff1
//
// 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 12:35:33 +0000
//
__int64 __fastcall CCSpriteWithHue::setHueDegrees(__int64 a1, float a2)
{
float v2; // xmm0_4
for ( ; a2 < 0.0; a2 = a2 + 360.0 )
;
v2 = (float)(a2 / 360.0) * 6.283185307179586;
*(float *)(a1 + 596) = v2;
return CCSpriteWithHue::updateColorMatrix(a1);
}