{"type": "func", "start": 4824598, "end": 4824652, "name": "GJEffectManager::removeColorAction", "pseudocode": "// \n// GJEffectManager::removeColorAction from 0x499e16 to 0x499e4c (54 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::resetUnusedColorChannels @ 0x371cf6\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  cocos2d::CCDictionary *m_unkObject148; // r0\n  intptr_t v4; // r4\n\n  m_unkObject148 = a1->m_unkObject148;\n  if ( a2 > 1100 )\n    v4 = 1101;\n  else\n    v4 = a2 & ~(a2 >> 31);\n  cocos2d::CCDictionary::removeObjectForKey(m_unkObject148, v4);\n  a1->m_colorActionVector.m_start[v4] = nullptr;\n  cocos2d::CCDictionary::removeObjectForKey(a1->m_colorActionDict, v4);\n}", "assembly": "; \n; GJEffectManager::removeColorAction from 0x499e16 to 0x499e4c (54 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::resetUnusedColorChannels @ 0x371cf6\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            {R3-R5,LR}                                             ; +0x0, 0x499e16\nMOVW            R3, #0x44C                                             ; +0x2, 0x499e18\nCMP             R1, R3                                                 ; +0x6, 0x499e1c\nMOV             R5, R0                                                 ; +0x8, 0x499e1e\nLDR.W           R0, [R0,#0x10C]; this                                  ; +0xa, 0x499e20\nITE LE                                                                 ; +0xe, 0x499e24\nBICLE.W         R4, R1, R1,ASR#31                                      ; +0x10, 0x499e26\nMOVWGT          R4, #0x44D                                             ; +0x14, 0x499e2a\nMOV             R1, R4; int                                            ; +0x18, 0x499e2e\nBL              _ZN7cocos2d12CCDictionary18removeObjectForKeyEi; cocos2d::CCDictionary::removeObjectForKey(int) ; +0x1a, 0x499e30\nLDR.W           R3, [R5,#0x1C8]                                        ; +0x1e, 0x499e34\nMOVS            R2, #0                                                 ; +0x22, 0x499e38\nMOV             R1, R4; int                                            ; +0x24, 0x499e3a\nSTR.W           R2, [R3,R4,LSL#2]                                      ; +0x26, 0x499e3c\nLDR.W           R0, [R5,#0x198]; this                                  ; +0x2a, 0x499e40\nPOP.W           {R3-R5,LR}                                             ; +0x2e, 0x499e44\nB.W             _ZN7cocos2d12CCDictionary18removeObjectForKeyEi; cocos2d::CCDictionary::removeObjectForKey(int) ; +0x32, 0x499e48", "xrefs": ["LevelEditorLayer::resetUnusedColorChannels @ 0x371cf6"], "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"}