{"type": "func", "start": 3173784, "end": 3173826, "name": "CCSpriteWithHue::setLuminance", "pseudocode": "// \n// CCSpriteWithHue::setLuminance from 0x306d98 to 0x306dc2 (42 bytes)\n// \n// 2 xrefs:\n// > CCSpriteWithHue::setupDefaultSettings @ 0x306dda\n// > GauntletSprite::addLockedSprite @ 0x4da234\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 0x306d98 to 0x306dc2 (42 bytes)\n; \n; 2 xrefs:\n; > CCSpriteWithHue::setupDefaultSettings @ 0x306dda\n; > GauntletSprite::addLockedSprite @ 0x4da234\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, =0.21                                             ; +0x0, 0x306d98\nVMOV            S15, R1                                                ; +0x4, 0x306d9c\nVMUL.F32        S14, S15, S14                                          ; +0x8, 0x306da0\nVSTR            S14, [R0,#0x200]                                       ; +0xc, 0x306da4\nVLDR            S14, =0.72                                             ; +0x10, 0x306da8\nVMUL.F32        S14, S15, S14                                          ; +0x14, 0x306dac\nVSTR            S14, [R0,#0x204]                                       ; +0x18, 0x306db0\nVLDR            S14, =0.07                                             ; +0x1c, 0x306db4\nVMUL.F32        S15, S15, S14                                          ; +0x20, 0x306db8\nVSTR            S15, [R0,#0x208]                                       ; +0x24, 0x306dbc\nBX              LR                                                     ; +0x28, 0x306dc0", "xrefs": ["CCSpriteWithHue::setupDefaultSettings @ 0x306dda", "GauntletSprite::addLockedSprite @ 0x4da234"], "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"}