{"type": "func", "start": 7199796, "end": 7199836, "name": "CCSpriteWithHue::setLuminance", "pseudocode": "// \n// CCSpriteWithHue::setLuminance from 0x6ddc34 to 0x6ddc5c (40 bytes)\n// \n// 4 xrefs:\n// > GameToolbox::createOnOffSprite @ 0x69ef98\n// > CCSpriteWithHue::setupDefaultSettings @ 0x6ddc74\n// > GauntletSprite::addLockedSprite @ 0xa77e84\n// > <???> @ 0xf4540\n// \n// This function is hookable on this platform (idp: arm, 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:51:35 +0000\n// \n\nfloat __fastcall CCSpriteWithHue::setLuminance(CCSpriteWithHue *this, float a2)\n{\n  float v2; // s2\n  float v3; // s1\n  float result; // s0\n\n  v2 = a2 * 0.21;\n  v3 = a2 * 0.72;\n  result = a2 * 0.07;\n  *((float *)this + 150) = v2;\n  *((float *)this + 151) = v3;\n  *((float *)this + 152) = result;\n  return result;\n}", "assembly": "; \n; CCSpriteWithHue::setLuminance from 0x6ddc34 to 0x6ddc5c (40 bytes)\n; \n; 4 xrefs:\n; > GameToolbox::createOnOffSprite @ 0x69ef98\n; > CCSpriteWithHue::setupDefaultSettings @ 0x6ddc74\n; > GauntletSprite::addLockedSprite @ 0xa77e84\n; > <???> @ 0xf4540\n; \n; This function is hookable on this platform (idp: arm, 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:51:35 +0000\n; \nLDR             S2, =0x3E570A3D                                        ; +0x0, 0x6ddc34\nLDR             S1, =0x3F3851EC                                        ; +0x4, 0x6ddc38\nLDR             S3, =0x3D8F5C29                                        ; +0x8, 0x6ddc3c\nFMUL            S2, S0, S2                                             ; +0xc, 0x6ddc40\nFMUL            S1, S0, S1                                             ; +0x10, 0x6ddc44\nFMUL            S0, S0, S3                                             ; +0x14, 0x6ddc48\nSTR             S2, [X0,#0x258]                                        ; +0x18, 0x6ddc4c\nSTR             S1, [X0,#0x25C]                                        ; +0x1c, 0x6ddc50\nSTR             S0, [X0,#0x260]                                        ; +0x20, 0x6ddc54\nRET                                                                    ; +0x24, 0x6ddc58", "xrefs": ["GameToolbox::createOnOffSprite @ 0x69ef98", "CCSpriteWithHue::setupDefaultSettings @ 0x6ddc74", "GauntletSprite::addLockedSprite @ 0xa77e84", "<???> @ 0xf4540"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}