//
// GJColorSetupLayer::updateSpriteColor from 0x10020c020 to 0x10020c0b3 (147 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 GJColorSetupLayer::updateSpriteColor(
GJColorSetupLayer *a1,
ColorChannelSprite *a2,
cocos2d::CCLabelBMFont *a3,
int a4)
{
char v4; // al
ColorAction *ColorAction; // r15
cocos2d::CCString *v8; // rax
const char *CString; // rax
ColorAction = nullptr;
v8 = (cocos2d::CCString *)sub_1007AB580("Col %i", v4);
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);
ColorChannelSprite::updateValues(a2, ColorAction);
}