//
// LevelSettingsLayer::updateColorSprite from 0x10026f0a0 to 0x10026f144 (164 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall LevelSettingsLayer::updateColorSprite(LevelSettingsLayer *a1, ColorChannelSprite *a2)
{
int v2; // r15d
ColorAction *ColorAction; // rax
if ( a1->m_editorLayer )
{
v2 = ((__int64 (__fastcall *)(ColorChannelSprite *))a2->getTag)(a2);
if ( GJEffectManager::colorExists(a1->m_editorLayer->m_levelSettings->m_effectManager, v2) )
{
ColorAction = GJEffectManager::getColorAction(a1->m_editorLayer->m_levelSettings->m_effectManager, v2);
ColorChannelSprite::updateValues(a2, ColorAction);
}
else
{
((void (__fastcall *)(ColorChannelSprite *, void *))a2->setColor)(a2, &unk_100818516);
}
}
}