{"type": "func", "start": 6015960, "end": 6016000, "name": "CCSpriteWithHue::setLuminance", "pseudocode": "// \n// CCSpriteWithHue::setLuminance from 0x5bcbd8 to 0x5bcc00 (40 bytes)\n// \n// 3 xrefs:\n// > CCSpriteWithHue::setupDefaultSettings @ 0x5bcc18\n// > GauntletSprite::addLockedSprite @ 0x91db5c\n// > <???> @ 0xbb578\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::setLuminance(CCSpriteWithHue *a1, float a2)\n{\n  a1->m_luminance.__elems_[0] = a2 * 0.21;\n  a1->m_luminance.__elems_[1] = a2 * 0.72;\n  a1->m_luminance.__elems_[2] = a2 * 0.07;\n}", "assembly": "; \n; CCSpriteWithHue::setLuminance from 0x5bcbd8 to 0x5bcc00 (40 bytes)\n; \n; 3 xrefs:\n; > CCSpriteWithHue::setupDefaultSettings @ 0x5bcc18\n; > GauntletSprite::addLockedSprite @ 0x91db5c\n; > <???> @ 0xbb578\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\nLDR             S2, =0x3E570A3D                                        ; +0x0, 0x5bcbd8\nLDR             S1, =0x3F3851EC                                        ; +0x4, 0x5bcbdc\nLDR             S3, =0x3D8F5C29                                        ; +0x8, 0x5bcbe0\nFMUL            S2, S0, S2                                             ; +0xc, 0x5bcbe4\nFMUL            S1, S0, S1                                             ; +0x10, 0x5bcbe8\nFMUL            S0, S0, S3                                             ; +0x14, 0x5bcbec\nSTR             S2, [X0,#0x258]                                        ; +0x18, 0x5bcbf0\nSTR             S1, [X0,#0x25C]                                        ; +0x1c, 0x5bcbf4\nSTR             S0, [X0,#0x260]                                        ; +0x20, 0x5bcbf8\nRET                                                                    ; +0x24, 0x5bcbfc", "xrefs": ["CCSpriteWithHue::setupDefaultSettings @ 0x5bcc18", "GauntletSprite::addLockedSprite @ 0x91db5c", "<???> @ 0xbb578"], "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"}