{"type": "func", "start": 4297982032, "end": 4297982069, "name": "GJEffectManager::colorForEffect", "pseudocode": "// \n// GJEffectManager::colorForEffect from 0x1002e0050 to 0x1002e0075 (37 bytes)\n// \n// 8 xrefs:\n// > LevelEditorLayer::updateVisibility @ 0x1000eb362\n// > LevelEditorLayer::updateVisibility @ 0x1000eb46d\n// > LevelEditorLayer::updateVisibility @ 0x1000eb5b6\n// > LevelEditorLayer::updateObjectColors @ 0x1000eba12\n// > LevelEditorLayer::updateObjectColors @ 0x1000ebb01\n// > LevelEditorLayer::updateObjectColors @ 0x1000ebc22\n// > GameObject::colorForMode @ 0x1005ca8f1\n// > GameObject::getActiveColorForMode @ 0x1005caf08\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\ncocos2d::ccColor3B __fastcall GJEffectManager::colorForEffect(\n        GJEffectManager *a1,\n        cocos2d::ccColor3B a2,\n        cocos2d::ccHSVValue a3)\n{\n  cocos2d::ccColor3B v3; // [rsp+Ch] [rbp-4h] BYREF\n\n  v3 = a2;\n  return GameToolbox::transformColor_1(&v3, a3);\n}", "assembly": "; \n; GJEffectManager::colorForEffect from 0x1002e0050 to 0x1002e0075 (37 bytes)\n; \n; 8 xrefs:\n; > LevelEditorLayer::updateVisibility @ 0x1000eb362\n; > LevelEditorLayer::updateVisibility @ 0x1000eb46d\n; > LevelEditorLayer::updateVisibility @ 0x1000eb5b6\n; > LevelEditorLayer::updateObjectColors @ 0x1000eba12\n; > LevelEditorLayer::updateObjectColors @ 0x1000ebb01\n; > LevelEditorLayer::updateObjectColors @ 0x1000ebc22\n; > GameObject::colorForMode @ 0x1005ca8f1\n; > GameObject::getActiveColorForMode @ 0x1005caf08\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\npush    rbp                                                            ; +0x0, 0x1002e0050\nmov     rbp, rsp                                                       ; +0x1, 0x1002e0051\nsub     rsp, 10h                                                       ; +0x4, 0x1002e0054\nmov     [rbp+var_4], si                                                ; +0x8, 0x1002e0058\nshr     esi, 10h                                                       ; +0xc, 0x1002e005c\nmov     [rbp+var_2], sil                                               ; +0xf, 0x1002e005f\nlea     rdi, [rbp+var_4]                                               ; +0x13, 0x1002e0063\nmov     rsi, rdx                                                       ; +0x17, 0x1002e0067\ncall    GameToolbox__transformColor_1                                  ; +0x1a, 0x1002e006a\nadd     rsp, 10h                                                       ; +0x1f, 0x1002e006f\npop     rbp                                                            ; +0x23, 0x1002e0073\nretn                                                                   ; +0x24, 0x1002e0074", "xrefs": ["LevelEditorLayer::updateVisibility @ 0x1000eb362", "LevelEditorLayer::updateVisibility @ 0x1000eb46d", "LevelEditorLayer::updateVisibility @ 0x1000eb5b6", "LevelEditorLayer::updateObjectColors @ 0x1000eba12", "LevelEditorLayer::updateObjectColors @ 0x1000ebb01", "LevelEditorLayer::updateObjectColors @ 0x1000ebc22", "GameObject::colorForMode @ 0x1005ca8f1", "GameObject::getActiveColorForMode @ 0x1005caf08"], "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"}