{"type": "func", "start": 4301193936, "end": 4301193976, "name": "CCSpriteWithHue::setLuminance", "pseudocode": "// \n// CCSpriteWithHue::setLuminance from 0x1005f02d0 to 0x1005f02f8 (40 bytes)\n// \n// 1 xrefs:\n// > GauntletSprite::addLockedSprite @ 0x100394f33\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\n// local variable allocation has failed, the output may be wrong!\nvoid __fastcall CCSpriteWithHue::setLuminance(CCSpriteWithHue *a1, float a2)\n{\n  _mm_storel_ps(\n    (double *)a1->m_luminance.__elems_,\n    _mm_mul_ps(_mm_moveldup_ps(*(__m128 *)&a2), (__m128)xmmword_100821A40));\n  a1->m_luminance.__elems_[2] = a2 * 0.07;\n}", "assembly": "; \n; CCSpriteWithHue::setLuminance from 0x1005f02d0 to 0x1005f02f8 (40 bytes)\n; \n; 1 xrefs:\n; > GauntletSprite::addLockedSprite @ 0x100394f33\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\npush    rbp                                                            ; +0x0, 0x1005f02d0\nmov     rbp, rsp                                                       ; +0x1, 0x1005f02d1\nmovsldup xmm1, xmm0                                                    ; +0x4, 0x1005f02d4\nmulps   xmm1, cs:xmmword_100821A40                                     ; +0x8, 0x1005f02d8\nmovlps  qword ptr [rdi+258h], xmm1                                     ; +0xf, 0x1005f02df\nmulss   xmm0, cs:dword_1008182E4                                       ; +0x16, 0x1005f02e6\nmovss   dword ptr [rdi+260h], xmm0                                     ; +0x1e, 0x1005f02ee\npop     rbp                                                            ; +0x26, 0x1005f02f6\nretn                                                                   ; +0x27, 0x1005f02f7", "xrefs": ["GauntletSprite::addLockedSprite @ 0x100394f33"], "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"}