//
// GJEffectManager::removeColorAction from 0x9f9d3c to 0x9f9da0 (100 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::resetUnusedColorChannels @ 0x7a9ba0
// > ??> @ 0xbff20
//
// 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::removeColorAction(cocos2d::CCDictionary **this, int a2)
{
__int64 v3; // x19
__int64 v4; // x21
if ( a2 > 1100 )
{
v4 = 8808;
v3 = 1101;
}
else
{
if ( a2 < 0 )
a2 = 0;
v3 = a2;
v4 = 8LL * a2;
}
cocos2d::CCDictionary::removeObjectForKey(*(this + 41), v3);
*(_QWORD *)((char *)*(this + 80) + v4) = 0;
return cocos2d::CCDictionary::removeObjectForKey(*(this + 70), v3);
}