//
// GJEffectManager::colorActionChanged from 0x1002ca0e0 to 0x1002ca104 (36 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::transferDefaultColors @ 0x1000c2133
// > GJBaseGameLayer::updateColor @ 0x100119e61
//
// 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:28:09 +0000
//
__int64 __fastcall GJEffectManager::colorActionChanged(__int64 a1, __int64 a2)
{
__int64 v2; // rdi
v2 = *(_QWORD *)(a1 + 560);
if ( *(int *)(a2 + 120) <= 0 )
return cocos2d::CCDictionary::removeObjectForKey_1(v2, *(int *)(a2 + 92));
else
return cocos2d::CCDictionary::setObject_1(v2, a2, *(int *)(a2 + 92));
}