{"type": "func", "start": 4298014160, "end": 4298014222, "name": "GJEffectManager::updateColorAction", "pseudocode": "// \n// GJEffectManager::updateColorAction from 0x1002e7dd0 to 0x1002e7e0e (62 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::runColorEffect @ 0x1000efdc6\n// > LevelEditorLayer::stopTriggersInGroup @ 0x1000f00d5\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; // rax\n\n  if ( !a2->m_copyID )\n  {\n    m_colorSprite = a2->m_colorSprite;\n    m_colorSprite->m_color = a2->m_color;\n    m_colorSprite->m_opacity = a2->m_currentOpacity * 255.0;\n  }\n}", "assembly": "; \n; GJEffectManager::updateColorAction from 0x1002e7dd0 to 0x1002e7e0e (62 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::runColorEffect @ 0x1000efdc6\n; > LevelEditorLayer::stopTriggersInGroup @ 0x1000f00d5\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\ncmp     dword ptr [rsi+78h], 0                                         ; +0x0, 0x1002e7dd0\njz      short loc_1002E7DD7                                            ; +0x4, 0x1002e7dd4\nretn                                                                   ; +0x6, 0x1002e7dd6\npush    rbp                                                            ; +0x7, 0x1002e7dd7\nmov     rbp, rsp                                                       ; +0x8, 0x1002e7dd8\nmov     rax, [rsi+90h]                                                 ; +0xb, 0x1002e7ddb\nmovzx   ecx, byte ptr [rsi+3Ch]                                        ; +0x12, 0x1002e7de2\nmov     [rax+142h], cl                                                 ; +0x16, 0x1002e7de6\nmovzx   ecx, word ptr [rsi+3Ah]                                        ; +0x1c, 0x1002e7dec\nmov     [rax+140h], cx                                                 ; +0x20, 0x1002e7df0\nmovss   xmm0, dword ptr [rsi+40h]                                      ; +0x27, 0x1002e7df7\nmulss   xmm0, cs:dword_100815C10                                       ; +0x2c, 0x1002e7dfc\nmovss   dword ptr [rax+13Ch], xmm0                                     ; +0x34, 0x1002e7e04\npop     rbp                                                            ; +0x3c, 0x1002e7e0c\nretn                                                                   ; +0x3d, 0x1002e7e0d", "xrefs": ["LevelEditorLayer::runColorEffect @ 0x1000efdc6", "LevelEditorLayer::stopTriggersInGroup @ 0x1000f00d5"], "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"}