{"type": "func", "start": 4140104, "end": 4140160, "name": "CCSpriteWithHue::setHueDegrees", "pseudocode": "// \n// CCSpriteWithHue::setHueDegrees from 0x3f2c48 to 0x3f2c80 (56 bytes)\n// \n// 4 xrefs:\n// > GJShopLayer::init @ 0x612c6e\n// > GJShopLayer::init @ 0x612e3c\n// > RewardUnlockLayer::init @ 0x6199ea\n// > SecretLayer5::updateTweenActionInt @ 0x6e278c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:47:15 +0000\n// \n\nfloat *__fastcall CCSpriteWithHue::setHueDegrees(CCSpriteWithHue *this, 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  return CCSpriteWithHue::setHue(this, v3);\n}", "assembly": "; \n; CCSpriteWithHue::setHueDegrees from 0x3f2c48 to 0x3f2c80 (56 bytes)\n; \n; 4 xrefs:\n; > GJShopLayer::init @ 0x612c6e\n; > GJShopLayer::init @ 0x612e3c\n; > RewardUnlockLayer::init @ 0x6199ea\n; > SecretLayer5::updateTweenActionInt @ 0x6e278c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:47:15 +0000\n; \nVLDR            S14, =360.0                                            ; +0x0, 0x3f2c48\nVMOV            S15, R1                                                ; +0x4, 0x3f2c4c\nVCMPE.F32       S15, #0.0                                              ; +0x8, 0x3f2c50\nVMRS            APSR_nzcv, FPSCR                                       ; +0xc, 0x3f2c54\nBPL             loc_3F2C60                                             ; +0x10, 0x3f2c58\nVADD.F32        S15, S15, S14                                          ; +0x12, 0x3f2c5a\nB               loc_3F2C50                                             ; +0x16, 0x3f2c5e\nVLDR            S13, =360.0                                            ; +0x18, 0x3f2c60\nVDIV.F32        S15, S15, S13                                          ; +0x1c, 0x3f2c64\nVLDR            D6, =6.28318531                                        ; +0x20, 0x3f2c68\nVCVT.F64.F32    D7, S15                                                ; +0x24, 0x3f2c6c\nVMUL.F64        D7, D7, D6                                             ; +0x28, 0x3f2c70\nVCVT.F32.F64    S15, D7                                                ; +0x2c, 0x3f2c74\nVMOV            R1, S15; float                                         ; +0x30, 0x3f2c78\nB.W             _ZN15CCSpriteWithHue6setHueEf; CCSpriteWithHue::setHue(float) ; +0x34, 0x3f2c7c", "xrefs": ["GJShopLayer::init @ 0x612c6e", "GJShopLayer::init @ 0x612e3c", "RewardUnlockLayer::init @ 0x6199ea", "SecretLayer5::updateTweenActionInt @ 0x6e278c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}