{"type": "func", "start": 4297926768, "end": 4297926830, "name": "GJEffectManager::updateColorAction", "pseudocode": "// \n// GJEffectManager::updateColorAction from 0x1002d2870 to 0x1002d28ae (62 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::runColorEffect @ 0x1000c34f6\n// > LevelEditorLayer::stopTriggersInGroup @ 0x1000c3825\n// \n// This function is hookable on this platform (idp: pc, 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:28:13 +0000\n// \n\n__int64 __fastcall GJEffectManager::updateColorAction(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n\n  if ( !*(_DWORD *)(a2 + 120) )\n  {\n    result = *(_QWORD *)(a2 + 144);\n    *(_BYTE *)(result + 322) = *(_BYTE *)(a2 + 60);\n    *(_WORD *)(result + 320) = *(_WORD *)(a2 + 58);\n    *(float *)(result + 316) = *(float *)(a2 + 64) * 255.0;\n  }\n  return result;\n}", "assembly": "; \n; GJEffectManager::updateColorAction from 0x1002d2870 to 0x1002d28ae (62 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::runColorEffect @ 0x1000c34f6\n; > LevelEditorLayer::stopTriggersInGroup @ 0x1000c3825\n; \n; This function is hookable on this platform (idp: pc, 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:28:13 +0000\n; \ncmp     dword ptr [rsi+78h], 0                                         ; +0x0, 0x1002d2870\njz      short loc_1002D2877                                            ; +0x4, 0x1002d2874\nretn                                                                   ; +0x6, 0x1002d2876\npush    rbp                                                            ; +0x7, 0x1002d2877\nmov     rbp, rsp                                                       ; +0x8, 0x1002d2878\nmov     rax, [rsi+90h]                                                 ; +0xb, 0x1002d287b\nmovzx   ecx, byte ptr [rsi+3Ch]                                        ; +0x12, 0x1002d2882\nmov     [rax+142h], cl                                                 ; +0x16, 0x1002d2886\nmovzx   ecx, word ptr [rsi+3Ah]                                        ; +0x1c, 0x1002d288c\nmov     [rax+140h], cx                                                 ; +0x20, 0x1002d2890\nmovss   xmm0, dword ptr [rsi+40h]                                      ; +0x27, 0x1002d2897\nmulss   xmm0, cs:dword_100A03F80                                       ; +0x2c, 0x1002d289c\nmovss   dword ptr [rax+13Ch], xmm0                                     ; +0x34, 0x1002d28a4\npop     rbp                                                            ; +0x3c, 0x1002d28ac\nretn                                                                   ; +0x3d, 0x1002d28ad", "xrefs": ["LevelEditorLayer::runColorEffect @ 0x1000c34f6", "LevelEditorLayer::stopTriggersInGroup @ 0x1000c3825"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}