{"type": "func", "start": 4825572, "end": 4825614, "name": "GJEffectManager::updateColorAction", "pseudocode": "// \n// GJEffectManager::updateColorAction from 0x49a1e4 to 0x49a20e (42 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::runColorEffect @ 0x367e66\n// > LevelEditorLayer::stopTriggersInGroup @ 0x36db22\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 GJEffectManager::updateColorAction(GJEffectManager *a1, ColorAction *a2)\n{\n  ColorActionSprite *m_colorSprite; // r3\n  GLubyte b; // r2\n\n  if ( !a2->m_copyID )\n  {\n    m_colorSprite = a2->m_colorSprite;\n    b = a2->m_color.b;\n    *(_WORD *)&m_colorSprite->m_color.r = *(_WORD *)&a2->m_color.r;\n    m_colorSprite->m_color.b = b;\n    m_colorSprite->m_opacity = a2->m_currentOpacity * 255.0;\n  }\n}", "assembly": "; \n; GJEffectManager::updateColorAction from 0x49a1e4 to 0x49a20e (42 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::runColorEffect @ 0x367e66\n; > LevelEditorLayer::stopTriggersInGroup @ 0x36db22\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             R3, [R1,#0x74]                                         ; +0x0, 0x49a1e4\nCBNZ            R3, locret_49A20C                                      ; +0x2, 0x49a1e6\nMOV             R2, R1                                                 ; +0x4, 0x49a1e8\nLDR.W           R3, [R1,#0x88]                                         ; +0x6, 0x49a1ea\nLDRH.W          R0, [R2,#0x36]!                                        ; +0xa, 0x49a1ee\nVLDR            S14, =255.0                                            ; +0xe, 0x49a1f2\nLDRB            R2, [R2,#2]                                            ; +0x12, 0x49a1f6\nSTRH.W          R0, [R3,#0x10C]                                        ; +0x14, 0x49a1f8\nSTRB.W          R2, [R3,#0x10E]                                        ; +0x18, 0x49a1fc\nVLDR            S15, [R1,#0x3C]                                        ; +0x1c, 0x49a200\nVMUL.F32        S15, S15, S14                                          ; +0x20, 0x49a204\nVSTR            S15, [R3,#0x108]                                       ; +0x24, 0x49a208\nBX              LR                                                     ; +0x28, 0x49a20c", "xrefs": ["LevelEditorLayer::runColorEffect @ 0x367e66", "LevelEditorLayer::stopTriggersInGroup @ 0x36db22"], "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"}