{"type": "func", "start": 4297979408, "end": 4297979449, "name": "GJEffectManager::colorExists", "pseudocode": "// \n// GJEffectManager::colorExists from 0x1002df610 to 0x1002df639 (41 bytes)\n// \n// 12 xrefs:\n// > EditorUI::spriteFromObjectString @ 0x10003402c\n// > LevelEditorLayer::getNextColorChannel @ 0x1000ed8b1\n// > CustomizeObjectLayer::updateColorSprite @ 0x1001f855a\n// > GJColorSetupLayer::updateSpriteColors @ 0x10020be6a\n// > GJColorSetupLayer::updateSpriteColor @ 0x10020c077\n// > LevelSettingsLayer::updateColorSprites @ 0x10026dc46\n// > LevelSettingsLayer::updateColorSprites @ 0x10026dcd2\n// > LevelSettingsLayer::updateColorSprites @ 0x10026dd5e\n// > LevelSettingsLayer::updateColorSprites @ 0x10026ddea\n// > LevelSettingsLayer::updateColorSprites @ 0x10026de76\n// > LevelSettingsLayer::updateColorSprites @ 0x10026dee4\n// > LevelSettingsLayer::updateColorSprite @ 0x10026f0de\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\nbool __fastcall GJEffectManager::colorExists(GJEffectManager *a1, int a2)\n{\n  int v2; // eax\n  __int64 v3; // rcx\n\n  v2 = 0;\n  if ( a2 > 0 )\n    v2 = a2;\n  v3 = 1101;\n  if ( v2 < 1101 )\n    v3 = (unsigned int)v2;\n  return a1->m_colorActionVector.__begin_[v3] != nullptr;\n}", "assembly": "; \n; GJEffectManager::colorExists from 0x1002df610 to 0x1002df639 (41 bytes)\n; \n; 12 xrefs:\n; > EditorUI::spriteFromObjectString @ 0x10003402c\n; > LevelEditorLayer::getNextColorChannel @ 0x1000ed8b1\n; > CustomizeObjectLayer::updateColorSprite @ 0x1001f855a\n; > GJColorSetupLayer::updateSpriteColors @ 0x10020be6a\n; > GJColorSetupLayer::updateSpriteColor @ 0x10020c077\n; > LevelSettingsLayer::updateColorSprites @ 0x10026dc46\n; > LevelSettingsLayer::updateColorSprites @ 0x10026dcd2\n; > LevelSettingsLayer::updateColorSprites @ 0x10026dd5e\n; > LevelSettingsLayer::updateColorSprites @ 0x10026ddea\n; > LevelSettingsLayer::updateColorSprites @ 0x10026de76\n; > LevelSettingsLayer::updateColorSprites @ 0x10026dee4\n; > LevelSettingsLayer::updateColorSprite @ 0x10026f0de\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, 0x1002df610\nmov     rbp, rsp                                                       ; +0x1, 0x1002df611\nxor     eax, eax                                                       ; +0x4, 0x1002df614\ntest    esi, esi                                                       ; +0x6, 0x1002df616\ncmovg   eax, esi                                                       ; +0x8, 0x1002df618\ncmp     eax, 44Dh                                                      ; +0xb, 0x1002df61b\nmov     ecx, 44Dh                                                      ; +0x10, 0x1002df620\ncmovl   ecx, eax                                                       ; +0x15, 0x1002df625\nmov     rax, [rdi+280h]                                                ; +0x18, 0x1002df628\ncmp     qword ptr [rax+rcx*8], 0                                       ; +0x1f, 0x1002df62f\nsetnz   al                                                             ; +0x24, 0x1002df634\npop     rbp                                                            ; +0x27, 0x1002df637\nretn                                                                   ; +0x28, 0x1002df638", "xrefs": ["EditorUI::spriteFromObjectString @ 0x10003402c", "LevelEditorLayer::getNextColorChannel @ 0x1000ed8b1", "CustomizeObjectLayer::updateColorSprite @ 0x1001f855a", "GJColorSetupLayer::updateSpriteColors @ 0x10020be6a", "GJColorSetupLayer::updateSpriteColor @ 0x10020c077", "LevelSettingsLayer::updateColorSprites @ 0x10026dc46", "LevelSettingsLayer::updateColorSprites @ 0x10026dcd2", "LevelSettingsLayer::updateColorSprites @ 0x10026dd5e", "LevelSettingsLayer::updateColorSprites @ 0x10026ddea", "LevelSettingsLayer::updateColorSprites @ 0x10026de76", "LevelSettingsLayer::updateColorSprites @ 0x10026dee4", "LevelSettingsLayer::updateColorSprite @ 0x10026f0de"], "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"}