{"type": "func", "start": 4295049384, "end": 4295049440, "name": "GJEffectManager::updateColorAction", "pseudocode": "// \n// GJEffectManager::updateColorAction from 0x1000140a8 to 0x1000140e0 (56 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::runColorEffect @ 0x10036154c\n// > LevelEditorLayer::stopTriggersInGroup @ 0x100361750\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 __fastcall GJEffectManager::updateColorAction(GJEffectManager *a1, ColorAction *a2)\n{\n  ColorActionSprite *m_colorSprite; // x8\n  __int16 v3; // w9\n\n  if ( !a2->m_copyID )\n  {\n    m_colorSprite = a2->m_colorSprite;\n    v3 = *(_WORD *)&a2->m_color.r;\n    m_colorSprite->m_color.b = a2->m_color.b;\n    *(_WORD *)&m_colorSprite->m_color.r = v3;\n    m_colorSprite->m_opacity = a2->m_currentOpacity * 255.0;\n  }\n}", "assembly": "; \n; GJEffectManager::updateColorAction from 0x1000140a8 to 0x1000140e0 (56 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::runColorEffect @ 0x10036154c\n; > LevelEditorLayer::stopTriggersInGroup @ 0x100361750\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             W8, [X1,#0x78]                                         ; +0x0, 0x1000140a8\nCBZ             W8, loc_1000140B4                                      ; +0x4, 0x1000140ac\nRET                                                                    ; +0x8, 0x1000140b0\nLDR             X8, [X1,#0x90]                                         ; +0xc, 0x1000140b4\nLDRH            W9, [X1,#0x3A]                                         ; +0x10, 0x1000140b8\nLDRB            W10, [X1,#0x3C]                                        ; +0x14, 0x1000140bc\nSTRB            W10, [X8,#0x142]                                       ; +0x18, 0x1000140c0\nSTRH            W9, [X8,#0x140]                                        ; +0x1c, 0x1000140c4\nLDR             S0, [X1,#0x40]                                         ; +0x20, 0x1000140c8\nMOV             W9, #0x437F0000                                        ; +0x24, 0x1000140cc\nFMOV            S1, W9                                                 ; +0x28, 0x1000140d0\nFMUL            S0, S0, S1                                             ; +0x2c, 0x1000140d4\nSTR             S0, [X8,#0x13C]                                        ; +0x30, 0x1000140d8\nRET                                                                    ; +0x34, 0x1000140dc", "xrefs": ["LevelEditorLayer::runColorEffect @ 0x10036154c", "LevelEditorLayer::stopTriggersInGroup @ 0x100361750"], "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"}