{"type": "func", "start": 4302059904, "end": 4302059971, "name": "CCSpriteWithHue::setHueDegrees", "pseudocode": "// \n// CCSpriteWithHue::setHueDegrees from 0x1006c3980 to 0x1006c39c3 (67 bytes)\n// \n// 4 xrefs:\n// > RewardUnlockLayer::init @ 0x1001ffaab\n// > GJShopLayer::init @ 0x10030ebc0\n// > GJShopLayer::init @ 0x10030ee6a\n// > SecretLayer5::updateTweenActionInt @ 0x100470ff1\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:35:33 +0000\n// \n\n__int64 __fastcall CCSpriteWithHue::setHueDegrees(__int64 a1, float a2)\n{\n  float v2; // xmm0_4\n\n  for ( ; a2 < 0.0; a2 = a2 + 360.0 )\n    ;\n  v2 = (float)(a2 / 360.0) * 6.283185307179586;\n  *(float *)(a1 + 596) = v2;\n  return CCSpriteWithHue::updateColorMatrix(a1);\n}", "assembly": "; \n; CCSpriteWithHue::setHueDegrees from 0x1006c3980 to 0x1006c39c3 (67 bytes)\n; \n; 4 xrefs:\n; > RewardUnlockLayer::init @ 0x1001ffaab\n; > GJShopLayer::init @ 0x10030ebc0\n; > GJShopLayer::init @ 0x10030ee6a\n; > SecretLayer5::updateTweenActionInt @ 0x100470ff1\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:35:33 +0000\n; \nxorps   xmm1, xmm1                                                     ; +0x0, 0x1006c3980\nucomiss xmm1, xmm0                                                     ; +0x3, 0x1006c3983\njbe     short loc_1006C3999                                            ; +0x6, 0x1006c3986\nmovss   xmm2, cs:flt_100A03590                                         ; +0x8, 0x1006c3988\naddss   xmm0, xmm2                                                     ; +0x10, 0x1006c3990\nucomiss xmm1, xmm0                                                     ; +0x14, 0x1006c3994\nja      short loc_1006C3990                                            ; +0x17, 0x1006c3997\npush    rbp                                                            ; +0x19, 0x1006c3999\nmov     rbp, rsp                                                       ; +0x1a, 0x1006c399a\ndivss   xmm0, cs:flt_100A03590                                         ; +0x1d, 0x1006c399d\ncvtss2sd xmm0, xmm0                                                    ; +0x25, 0x1006c39a5\nmulsd   xmm0, cs:qword_100A093F8                                       ; +0x29, 0x1006c39a9\ncvtsd2ss xmm0, xmm0                                                    ; +0x31, 0x1006c39b1\nmovss   dword ptr [rdi+254h], xmm0                                     ; +0x35, 0x1006c39b5\npop     rbp                                                            ; +0x3d, 0x1006c39bd\njmp     CCSpriteWithHue__updateColorMatrix                             ; +0x3e, 0x1006c39be", "xrefs": ["RewardUnlockLayer::init @ 0x1001ffaab", "GJShopLayer::init @ 0x10030ebc0", "GJShopLayer::init @ 0x10030ee6a", "SecretLayer5::updateTweenActionInt @ 0x100470ff1"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}