//
// GJEffectManager::colorExists from 0x1002df610 to 0x1002df639 (41 bytes)
//
// 12 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
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall GJEffectManager::colorExists(GJEffectManager *a1, int a2)
{
int v2; // eax
__int64 v3; // rcx
v2 = 0;
if ( a2 > 0 )
v2 = a2;
v3 = 1101;
if ( v2 < 1101 )
v3 = (unsigned int)v2;
return a1->m_colorActionVector.__begin_[v3] != nullptr;
}