{"type": "func", "start": 4295033144, "end": 4295033196, "name": "GJEffectManager::colorForEffect", "pseudocode": "// \n// GJEffectManager::colorForEffect from 0x100010138 to 0x10001016c (52 bytes)\n// \n// 7 xrefs:\n// > GameObject::getActiveColorForMode @ 0x1002624a4\n// > LevelEditorLayer::updateVisibility @ 0x10035edf8\n// > LevelEditorLayer::updateVisibility @ 0x10035ef20\n// > LevelEditorLayer::updateVisibility @ 0x10035f060\n// > LevelEditorLayer::updateObjectColors @ 0x10035f414\n// > LevelEditorLayer::updateObjectColors @ 0x10035f500\n// > LevelEditorLayer::updateObjectColors @ 0x10035f60c\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; // [xsp+Ch] [xbp-4h] BYREF\n\n  v3 = a2;\n  return GameToolbox::transformColor_1(&v3, a3);\n}", "assembly": "; \n; GJEffectManager::colorForEffect from 0x100010138 to 0x10001016c (52 bytes)\n; \n; 7 xrefs:\n; > GameObject::getActiveColorForMode @ 0x1002624a4\n; > LevelEditorLayer::updateVisibility @ 0x10035edf8\n; > LevelEditorLayer::updateVisibility @ 0x10035ef20\n; > LevelEditorLayer::updateVisibility @ 0x10035f060\n; > LevelEditorLayer::updateObjectColors @ 0x10035f414\n; > LevelEditorLayer::updateObjectColors @ 0x10035f500\n; > LevelEditorLayer::updateObjectColors @ 0x10035f60c\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\nSUB             SP, SP, #0x20                                          ; +0x0, 0x100010138\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10001013c\nADD             X29, SP, #0x10                                         ; +0x8, 0x100010140\nSTURH           W1, [X29,#var_4]                                       ; +0xc, 0x100010144\nUBFX            X8, X1, #0x10, #0x10                                   ; +0x10, 0x100010148\nSTURB           W8, [X29,#var_2]                                       ; +0x14, 0x10001014c\nSUB             X0, X29, #-var_4                                       ; +0x18, 0x100010150\nMOV             X1, X2                                                 ; +0x1c, 0x100010154\nMOV             X2, X3                                                 ; +0x20, 0x100010158\nBL              GameToolbox__transformColor_1                          ; +0x24, 0x10001015c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x28, 0x100010160\nADD             SP, SP, #0x20 ; ' '                                    ; +0x2c, 0x100010164\nRET                                                                    ; +0x30, 0x100010168", "xrefs": ["GameObject::getActiveColorForMode @ 0x1002624a4", "LevelEditorLayer::updateVisibility @ 0x10035edf8", "LevelEditorLayer::updateVisibility @ 0x10035ef20", "LevelEditorLayer::updateVisibility @ 0x10035f060", "LevelEditorLayer::updateObjectColors @ 0x10035f414", "LevelEditorLayer::updateObjectColors @ 0x10035f500", "LevelEditorLayer::updateObjectColors @ 0x10035f60c"], "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"}