//
// GJColorSetupLayer::updateSpriteColor from 0x497ff8 to 0x49804a (82 bytes)
//
// 1 xrefs:
// > GJColorSetupLayer::updateSpriteColors @ 0x4980cc
//
// 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 GJColorSetupLayer::updateSpriteColor(
GJColorSetupLayer *a1,
ColorChannelSprite *a2,
cocos2d::CCLabelBMFont *a3,
int a4)
{
void (__fastcall *setString)(cocos2d::CCLabelBMFont *__hidden, const unsigned __int8 *); // r8
cocos2d::CCString *v9; // r0
const char *CString; // r0
ColorAction *ColorAction; // r1
setString = a3->setString;
v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"Col %i", (const char *)a4);
CString = cocos2d::CCString::getCString(v9);
setString(a3, (const unsigned __int8 *)CString);
ColorAction = (ColorAction *)GJEffectManager::colorExists(a1->m_settingsObject->m_effectManager, a4);
if ( ColorAction )
ColorAction = GJEffectManager::getColorAction(a1->m_settingsObject->m_effectManager, a4);
ColorChannelSprite::updateValues(a2, ColorAction);
}