//
// GJEffectManager::colorActionChanged from 0x9f9dcc to 0x9f9dec (32 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::transferDefaultColors @ 0x78c430
// > GJBaseGameLayer::updateColor @ 0x998790
// > GJEffectManager::loadFromState @ 0xa1b8a0
// > ??> @ 0xb4148
//
// This function is hookable on this platform (idp: arm, 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:59:15 +0000
//
__int64 __fastcall GJEffectManager::colorActionChanged(GJEffectManager *this, ColorAction *a2)
{
cocos2d::CCDictionary *v2; // x0
v2 = *((cocos2d::CCDictionary **)this + 70);
if ( *((int *)a2 + 30) <= 0 )
return cocos2d::CCDictionary::removeObjectForKey(v2, *((int *)a2 + 23));
else
return cocos2d::CCDictionary::setObject(v2, a2, *((int *)a2 + 23));
}