{"type": "func", "start": 4297894640, "end": 4297894677, "name": "GJEffectManager::colorForEffect", "pseudocode": "// \n// GJEffectManager::colorForEffect from 0x1002caaf0 to 0x1002cab15 (37 bytes)\n// \n// 8 xrefs:\n// > LevelEditorLayer::updateVisibility @ 0x1000be212\n// > LevelEditorLayer::updateVisibility @ 0x1000be31e\n// > LevelEditorLayer::updateVisibility @ 0x1000be469\n// > LevelEditorLayer::updateObjectColors @ 0x1000be8d2\n// > LevelEditorLayer::updateObjectColors @ 0x1000be9c1\n// > LevelEditorLayer::updateObjectColors @ 0x1000beae2\n// > GameObject::colorForMode @ 0x10069bff1\n// > GameObject::getActiveColorForMode @ 0x10069c608\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:10 +0000\n// \n\n__int64 __fastcall GJEffectManager::colorForEffect(double a1, __int64 a2, int a3, __int64 a4)\n{\n  __int16 v5; // [rsp+Ch] [rbp-4h] BYREF\n  char v6; // [rsp+Eh] [rbp-2h]\n\n  v5 = a3;\n  v6 = BYTE2(a3);\n  return GameToolbox::transformColor_1(&v5, a4, a1);\n}", "assembly": "; \n; GJEffectManager::colorForEffect from 0x1002caaf0 to 0x1002cab15 (37 bytes)\n; \n; 8 xrefs:\n; > LevelEditorLayer::updateVisibility @ 0x1000be212\n; > LevelEditorLayer::updateVisibility @ 0x1000be31e\n; > LevelEditorLayer::updateVisibility @ 0x1000be469\n; > LevelEditorLayer::updateObjectColors @ 0x1000be8d2\n; > LevelEditorLayer::updateObjectColors @ 0x1000be9c1\n; > LevelEditorLayer::updateObjectColors @ 0x1000beae2\n; > GameObject::colorForMode @ 0x10069bff1\n; > GameObject::getActiveColorForMode @ 0x10069c608\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:10 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002caaf0\nmov     rbp, rsp                                                       ; +0x1, 0x1002caaf1\nsub     rsp, 10h                                                       ; +0x4, 0x1002caaf4\nmov     [rbp+var_4], si                                                ; +0x8, 0x1002caaf8\nshr     esi, 10h                                                       ; +0xc, 0x1002caafc\nmov     [rbp+var_2], sil                                               ; +0xf, 0x1002caaff\nlea     rdi, [rbp+var_4]                                               ; +0x13, 0x1002cab03\nmov     rsi, rdx                                                       ; +0x17, 0x1002cab07\ncall    GameToolbox__transformColor_1                                  ; +0x1a, 0x1002cab0a\nadd     rsp, 10h                                                       ; +0x1f, 0x1002cab0f\npop     rbp                                                            ; +0x23, 0x1002cab13\nretn                                                                   ; +0x24, 0x1002cab14", "xrefs": ["LevelEditorLayer::updateVisibility @ 0x1000be212", "LevelEditorLayer::updateVisibility @ 0x1000be31e", "LevelEditorLayer::updateVisibility @ 0x1000be469", "LevelEditorLayer::updateObjectColors @ 0x1000be8d2", "LevelEditorLayer::updateObjectColors @ 0x1000be9c1", "LevelEditorLayer::updateObjectColors @ 0x1000beae2", "GameObject::colorForMode @ 0x10069bff1", "GameObject::getActiveColorForMode @ 0x10069c608"], "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"}