//
// GJEffectManager::colorActionChanged from 0x5c32ec to 0x5c3302 (22 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::transferDefaultColors @ 0x461ade
// > GJBaseGameLayer::updateColor @ 0x58b512
// > GJEffectManager::loadFromState @ 0x5d2168
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:53:51 +0000
//
int __fastcall GJEffectManager::colorActionChanged(GJEffectManager *this, ColorAction *a2)
{
cocos2d::CCDictionary *v2; // r0
v2 = *((cocos2d::CCDictionary **)this + 96);
if ( *((int *)a2 + 29) <= 0 )
return cocos2d::CCDictionary::removeObjectForKey(v2, *((_DWORD *)a2 + 22));
else
return cocos2d::CCDictionary::setObject(v2, a2, *((_DWORD *)a2 + 22));
}