{"type": "func", "start": 3174488, "end": 3174544, "name": "CCSpriteWithHue::setHueDegrees", "pseudocode": "// \n// CCSpriteWithHue::setHueDegrees from 0x307058 to 0x307090 (56 bytes)\n// \n// 4 xrefs:\n// > GJShopLayer::init @ 0x4e323e\n// > GJShopLayer::init @ 0x4e33d8\n// > RewardUnlockLayer::init @ 0x4e89f6\n// > SecretLayer5::updateTweenActionInt @ 0x59c0ec\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 CCSpriteWithHue::setHueDegrees(CCSpriteWithHue *a1, float a2)\n{\n  float v3; // s15\n\n  while ( a2 < 0.0 )\n    a2 = a2 + 360.0;\n  v3 = (float)(a2 / 360.0) * 6.28318531;\n  CCSpriteWithHue::setHue(a1, v3);\n}", "assembly": "; \n; CCSpriteWithHue::setHueDegrees from 0x307058 to 0x307090 (56 bytes)\n; \n; 4 xrefs:\n; > GJShopLayer::init @ 0x4e323e\n; > GJShopLayer::init @ 0x4e33d8\n; > RewardUnlockLayer::init @ 0x4e89f6\n; > SecretLayer5::updateTweenActionInt @ 0x59c0ec\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\nVLDR            S14, =360.0                                            ; +0x0, 0x307058\nVMOV            S15, R1                                                ; +0x4, 0x30705c\nVCMPE.F32       S15, #0.0                                              ; +0x8, 0x307060\nVMRS            APSR_nzcv, FPSCR                                       ; +0xc, 0x307064\nBPL             loc_307070                                             ; +0x10, 0x307068\nVADD.F32        S15, S15, S14                                          ; +0x12, 0x30706a\nB               loc_307060                                             ; +0x16, 0x30706e\nVLDR            S13, =360.0                                            ; +0x18, 0x307070\nVDIV.F32        S15, S15, S13                                          ; +0x1c, 0x307074\nVLDR            D6, =6.28318531                                        ; +0x20, 0x307078\nVCVT.F64.F32    D7, S15                                                ; +0x24, 0x30707c\nVMUL.F64        D7, D7, D6                                             ; +0x28, 0x307080\nVCVT.F32.F64    S15, D7                                                ; +0x2c, 0x307084\nVMOV            R1, S15; float                                         ; +0x30, 0x307088\nB.W             _ZN15CCSpriteWithHue6setHueEf; CCSpriteWithHue::setHue(float) ; +0x34, 0x30708c", "xrefs": ["GJShopLayer::init @ 0x4e323e", "GJShopLayer::init @ 0x4e33d8", "RewardUnlockLayer::init @ 0x4e89f6", "SecretLayer5::updateTweenActionInt @ 0x59c0ec"], "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"}