//
// GJEffectManager::colorExists from 0x9f9da0 to 0x9f9dcc (44 bytes)
//
// 6 xrefs:
// > LevelEditorLayer::getNextColorChannel @ 0x7a93ec
// > CustomizeObjectLayer::updateColorSprite @ 0x983754
// > GJColorSetupLayer::updateSpriteColor @ 0x9f741c
// > LevelSettingsLayer::updateColorSprite @ 0xb62a28
// > EditorUI::spriteFromObjectString @ 0xbde594
// > ??> @ 0xd8520
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:59:15 +0000
//
bool __fastcall GJEffectManager::colorExists(GJEffectManager *this, int a2)
{
__int64 v2; // x2
v2 = 8808;
if ( a2 <= 1100 )
{
if ( a2 < 0 )
a2 = 0;
v2 = 8LL * a2;
}
return *(_QWORD *)(*((_QWORD *)this + 80) + v2) != 0;
}