{"type": "func", "start": 9061116, "end": 9061148, "name": "GJEffectManager::colorActionChanged", "pseudocode": "// \n// GJEffectManager::colorActionChanged from 0x8a42fc to 0x8a431c (32 bytes)\n// \n// 4 xrefs:\n// > LevelEditorLayer::transferDefaultColors @ 0x65fe1c\n// > GJBaseGameLayer::updateColor @ 0x855668\n// > GJEffectManager::loadFromState @ 0x8c116c\n// > <???> @ 0x87c78\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid GJEffectManager::colorActionChanged(GJEffectManager *a1, ColorAction *a2)\n{\n  cocos2d::CCDictionary *m_colorActionDict; // x0\n\n  m_colorActionDict = a1->m_colorActionDict;\n  if ( a2->m_copyID <= 0 )\n    cocos2d::CCDictionary::removeObjectForKey(m_colorActionDict, a2->m_colorID);\n  else\n    cocos2d::CCDictionary::setObject(m_colorActionDict, a2, a2->m_colorID);\n}", "assembly": "; \n; GJEffectManager::colorActionChanged from 0x8a42fc to 0x8a431c (32 bytes)\n; \n; 4 xrefs:\n; > LevelEditorLayer::transferDefaultColors @ 0x65fe1c\n; > GJBaseGameLayer::updateColor @ 0x855668\n; > GJEffectManager::loadFromState @ 0x8c116c\n; > <???> @ 0x87c78\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR             W3, [X1,#0x78]                                         ; +0x0, 0x8a42fc\nLDR             X0, [X0,#0x260]; this                                  ; +0x4, 0x8a4300\nCMP             W3, WZR                                                ; +0x8, 0x8a4304\nB.LE            loc_8A4314                                             ; +0xc, 0x8a4308\nLDRSW           X2, [X1,#0x5C]; __int64                                ; +0x10, 0x8a430c\nB               _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectEl; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,long) ; +0x14, 0x8a4310\nLDRSW           X1, [X1,#0x5C]; __int64                                ; +0x18, 0x8a4314\nB               _ZN7cocos2d12CCDictionary18removeObjectForKeyEl; cocos2d::CCDictionary::removeObjectForKey(long) ; +0x1c, 0x8a4318", "xrefs": ["LevelEditorLayer::transferDefaultColors @ 0x65fe1c", "GJBaseGameLayer::updateColor @ 0x855668", "GJEffectManager::loadFromState @ 0x8c116c", "<???> @ 0x87c78"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}