//
// GJColorSetupLayer::updateSpriteColor from 0x1001ef370 to 0x1001ef403 (147 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:26:32 +0000
//
__int64 __fastcall GJColorSetupLayer::updateSpriteColor(__int64 a1, __int64 a2, __int64 a3, unsigned int a4, double a5)
{
char v5; // al
__int64 ColorAction; // r15
__int64 v9; // rax
__int64 CString; // rax
ColorAction = 0;
v9 = sub_10088E820("Col %i", v5);
CString = cocos2d::CCString::getCString(v9);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a3 + 928LL))(a3, CString);
if ( (unsigned __int8)GJEffectManager::colorExists(*(_QWORD *)(*(_QWORD *)(a1 + 680) + 320LL), a4) )
ColorAction = GJEffectManager::getColorAction(*(_QWORD *)(*(_QWORD *)(a1 + 680) + 320LL), a4);
return ColorChannelSprite::updateValues(a2, ColorAction, a5);
}