//
// GJColorSetupLayer::updateSpriteColor from 0x10018e588 to 0x10018e61c (148 bytes)
//
// 1 xrefs:
// > GJColorSetupLayer::updateSpriteColors @ 0x10018e404
//
// 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 GJColorSetupLayer::updateSpriteColor(
GJColorSetupLayer *a1,
ColorChannelSprite *a2,
cocos2d::CCLabelBMFont *a3,
int a4)
{
cocos2d::CCString *v8; // x0
const char *CString; // x0
ColorAction *ColorAction; // x1
v8 = (cocos2d::CCString *)sub_100268F4C("Col %i", a4);
CString = cocos2d::CCString::getCString(v8);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a3->setString)(a3, CString);
if ( GJEffectManager::colorExists(a1->m_settingsObject->m_effectManager, a4) )
ColorAction = GJEffectManager::getColorAction(a1->m_settingsObject->m_effectManager, a4);
else
ColorAction = nullptr;
ColorChannelSprite::updateValues(a2, ColorAction);
}