//
// GJEffectManager::colorExists from 0x5c32cc to 0x5c32ec (32 bytes)
//
// 5 xrefs:
// > LevelEditorLayer::getNextColorChannel @ 0x4734c0
// > CustomizeObjectLayer::updateColorSprite @ 0x57e726
// > GJColorSetupLayer::updateSpriteColor @ 0x5c16c0
// > LevelSettingsLayer::updateColorSprite @ 0x6a95d4
// > EditorUI::spriteFromObjectString @ 0x6f522a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:53:51 +0000
//
bool __fastcall GJEffectManager::colorExists(GJEffectManager *this, int a2)
{
int v2; // r1
if ( a2 > 1100 )
v2 = 1101;
else
v2 = a2 & ~(a2 >> 31);
return *(_DWORD *)(*((_DWORD *)this + 106) + 4 * v2) != 0;
}