{"type": "func", "start": 4301195328, "end": 4301195395, "name": "CCSpriteWithHue::setHueDegrees", "pseudocode": "// \n// CCSpriteWithHue::setHueDegrees from 0x1005f0840 to 0x1005f0883 (67 bytes)\n// \n// 4 xrefs:\n// > RewardUnlockLayer::init @ 0x10021c39b\n// > GJShopLayer::init @ 0x10032356e\n// > GJShopLayer::init @ 0x100323818\n// > SecretLayer5::updateTweenActionInt @ 0x10047c691\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall CCSpriteWithHue::setHueDegrees(CCSpriteWithHue *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  a1->m_hue = v2;\n  CCSpriteWithHue::updateColorMatrix(a1);\n}", "assembly": "; \n; CCSpriteWithHue::setHueDegrees from 0x1005f0840 to 0x1005f0883 (67 bytes)\n; \n; 4 xrefs:\n; > RewardUnlockLayer::init @ 0x10021c39b\n; > GJShopLayer::init @ 0x10032356e\n; > GJShopLayer::init @ 0x100323818\n; > SecretLayer5::updateTweenActionInt @ 0x10047c691\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nxorps   xmm1, xmm1                                                     ; +0x0, 0x1005f0840\nucomiss xmm1, xmm0                                                     ; +0x3, 0x1005f0843\njbe     short loc_1005F0859                                            ; +0x6, 0x1005f0846\nmovss   xmm2, cs:flt_100815070                                         ; +0x8, 0x1005f0848\naddss   xmm0, xmm2                                                     ; +0x10, 0x1005f0850\nucomiss xmm1, xmm0                                                     ; +0x14, 0x1005f0854\nja      short loc_1005F0850                                            ; +0x17, 0x1005f0857\npush    rbp                                                            ; +0x19, 0x1005f0859\nmov     rbp, rsp                                                       ; +0x1a, 0x1005f085a\ndivss   xmm0, cs:flt_100815070                                         ; +0x1d, 0x1005f085d\ncvtss2sd xmm0, xmm0                                                    ; +0x25, 0x1005f0865\nmulsd   xmm0, cs:qword_10081AEC8                                       ; +0x29, 0x1005f0869\ncvtsd2ss xmm0, xmm0                                                    ; +0x31, 0x1005f0871\nmovss   dword ptr [rdi+254h], xmm0                                     ; +0x35, 0x1005f0875\npop     rbp                                                            ; +0x3d, 0x1005f087d\njmp     CCSpriteWithHue__updateColorMatrix                             ; +0x3e, 0x1005f087e", "xrefs": ["RewardUnlockLayer::init @ 0x10021c39b", "GJShopLayer::init @ 0x10032356e", "GJShopLayer::init @ 0x100323818", "SecretLayer5::updateTweenActionInt @ 0x10047c691"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}