{"type": "func", "start": 9060972, "end": 9061072, "name": "GJEffectManager::removeColorAction", "pseudocode": "// \n// GJEffectManager::removeColorAction from 0x8a426c to 0x8a42d0 (100 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::resetUnusedColorChannels @ 0x672f80\n// > <???> @ 0x91218\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::removeColorAction(GJEffectManager *a1, int a2)\n{\n  intptr_t v3; // x19\n  __int64 v4; // x21\n\n  if ( a2 > 1100 )\n  {\n    v4 = 1101;\n    v3 = 1101;\n  }\n  else\n  {\n    if ( a2 < 0 )\n      a2 = 0;\n    v3 = a2;\n    v4 = a2;\n  }\n  cocos2d::CCDictionary::removeObjectForKey(a1->m_unkObject148, v3);\n  a1->m_colorActionVector.m_start[v4] = nullptr;\n  cocos2d::CCDictionary::removeObjectForKey(a1->m_colorActionDict, v3);\n}", "assembly": "; \n; GJEffectManager::removeColorAction from 0x8a426c to 0x8a42d0 (100 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::resetUnusedColorChannels @ 0x672f80\n; > <???> @ 0x91218\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x8a426c\nCMP             W1, #0x44C                                             ; +0x4, 0x8a4270\nMOV             X29, SP                                                ; +0x8, 0x8a4274\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0xc, 0x8a4278\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x10, 0x8a427c\nMOV             X20, X0                                                ; +0x14, 0x8a4280\nB.GT            loc_8A42C4                                             ; +0x18, 0x8a4284\nCMP             W1, WZR                                                ; +0x1c, 0x8a4288\nCSEL            W1, W1, WZR, GE                                        ; +0x20, 0x8a428c\nSXTW            X19, W1                                                ; +0x24, 0x8a4290\nLSL             X21, X19, #3                                           ; +0x28, 0x8a4294\nLDR             X0, [X20,#0x148]; this                                 ; +0x2c, 0x8a4298\nMOV             X1, X19; __int64                                       ; +0x30, 0x8a429c\nBL              _ZN7cocos2d12CCDictionary18removeObjectForKeyEl; cocos2d::CCDictionary::removeObjectForKey(long) ; +0x34, 0x8a42a0\nLDR             X0, [X20,#0x2C0]                                       ; +0x38, 0x8a42a4\nMOV             X1, X19; __int64                                       ; +0x3c, 0x8a42a8\nSTR             XZR, [X0,X21]                                          ; +0x40, 0x8a42ac\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x44, 0x8a42b0\nLDR             X0, [X20,#0x260]; this                                 ; +0x48, 0x8a42b4\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x4c, 0x8a42b8\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x50, 0x8a42bc\nB               _ZN7cocos2d12CCDictionary18removeObjectForKeyEl; cocos2d::CCDictionary::removeObjectForKey(long) ; +0x54, 0x8a42c0\nMOV             X21, #0x2268                                           ; +0x58, 0x8a42c4\nMOV             X19, #0x44D                                            ; +0x5c, 0x8a42c8\nB               loc_8A4298                                             ; +0x60, 0x8a42cc", "xrefs": ["LevelEditorLayer::resetUnusedColorChannels @ 0x672f80", "<???> @ 0x91218"], "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"}