{"type": "func", "start": 4297979312, "end": 4297979394, "name": "GJEffectManager::removeColorAction", "pseudocode": "// \n// GJEffectManager::removeColorAction from 0x1002df5b0 to 0x1002df602 (82 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::resetUnusedColorChannels @ 0x1000edb52\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 __fastcall GJEffectManager::removeColorAction(GJEffectManager *a1, int a2)\n{\n  intptr_t v2; // rbx\n\n  v2 = (unsigned int)a2;\n  if ( a2 <= 0 )\n    v2 = 0;\n  if ( (int)v2 >= 1101 )\n    v2 = 1101;\n  cocos2d::CCDictionary::removeObjectForKey(a1->m_unkObject148, v2);\n  a1->m_colorActionVector.__begin_[v2] = nullptr;\n  cocos2d::CCDictionary::removeObjectForKey(a1->m_colorActionDict, v2);\n}", "assembly": "; \n; GJEffectManager::removeColorAction from 0x1002df5b0 to 0x1002df602 (82 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::resetUnusedColorChannels @ 0x1000edb52\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\npush    rbp                                                            ; +0x0, 0x1002df5b0\nmov     rbp, rsp                                                       ; +0x1, 0x1002df5b1\npush    r14                                                            ; +0x4, 0x1002df5b4\npush    rbx                                                            ; +0x6, 0x1002df5b6\nmov     ebx, esi                                                       ; +0x7, 0x1002df5b7\nmov     r14, rdi                                                       ; +0x9, 0x1002df5b9\nxor     eax, eax                                                       ; +0xc, 0x1002df5bc\ntest    esi, esi                                                       ; +0xe, 0x1002df5be\ncmovle  ebx, eax                                                       ; +0x10, 0x1002df5c0\ncmp     ebx, 44Dh                                                      ; +0x13, 0x1002df5c3\nmov     eax, 44Dh                                                      ; +0x19, 0x1002df5c9\ncmovge  ebx, eax                                                       ; +0x1e, 0x1002df5ce\nmov     rdi, [rdi+148h]                                                ; +0x21, 0x1002df5d1\nmov     rsi, rbx                                                       ; +0x28, 0x1002df5d8\ncall    cocos2d__CCDictionary__removeObjectForKey                      ; +0x2b, 0x1002df5db\nmov     rax, [r14+280h]                                                ; +0x30, 0x1002df5e0\nmov     qword ptr [rax+rbx*8], 0                                       ; +0x37, 0x1002df5e7\nmov     rdi, [r14+230h]                                                ; +0x3f, 0x1002df5ef\nmov     rsi, rbx                                                       ; +0x46, 0x1002df5f6\npop     rbx                                                            ; +0x49, 0x1002df5f9\npop     r14                                                            ; +0x4a, 0x1002df5fa\npop     rbp                                                            ; +0x4c, 0x1002df5fc\njmp     cocos2d__CCDictionary__removeObjectForKey                      ; +0x4d, 0x1002df5fd", "xrefs": ["LevelEditorLayer::resetUnusedColorChannels @ 0x1000edb52"], "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"}