{"type": "func", "start": 6442683328, "end": 6442683470, "name": "cocos2d::CCActionManager::removeActionAtIndex", "pseudocode": "// \n// cocos2d::CCActionManager::removeActionAtIndex from 0x180038bc0 to 0x180038c4e (142 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCActionManager::removeAction @ 0x180038ba6\n// > cocos2d::CCActionManager::removeActionByTag @ 0x180038da4\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bace4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:36 +0000\n// \n\nvoid __fastcall cocos2d::CCActionManager::removeActionAtIndex(\n        cocos2d::CCActionManager *this,\n        unsigned int a2,\n        struct cocos2d::_hashElement *a3)\n{\n  cocos2d::CCObject *v4; // rcx\n  struct cocos2d::_hashElement *v5; // rbx\n  unsigned int v7; // eax\n\n  v4 = *((cocos2d::CCObject **)a3 + 3);\n  v5 = a3;\n  if ( *(cocos2d::CCObject **)(*(_QWORD *)(*(_QWORD *)a3 + 16LL) + 8LL * a2) == v4 && !*((_BYTE *)a3 + 32) )\n  {\n    cocos2d::CCObject::retain(v4);\n    *((_BYTE *)v5 + 32) = 1;\n  }\n  LOBYTE(a3) = 1;\n  sub_1800A1B70(*(_QWORD *)v5, a2, a3);\n  v7 = *((_DWORD *)v5 + 4);\n  if ( v7 >= a2 )\n    *((_DWORD *)v5 + 4) = v7 - 1;\n  if ( !**(_DWORD **)v5 )\n  {\n    if ( *((struct cocos2d::_hashElement **)this + 8) == v5 )\n      *((_BYTE *)this + 72) = 1;\n    else\n      cocos2d::CCActionManager::deleteHashElement(this, v5);\n  }\n}", "assembly": "; \n; cocos2d::CCActionManager::removeActionAtIndex from 0x180038bc0 to 0x180038c4e (142 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCActionManager::removeAction @ 0x180038ba6\n; > cocos2d::CCActionManager::removeActionByTag @ 0x180038da4\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bace4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:36 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180038bc0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180038bc5\npush    rdi                                                            ; +0xa, 0x180038bca\nsub     rsp, 20h                                                       ; +0xb, 0x180038bcb\nmov     rax, [r8]                                                      ; +0xf, 0x180038bcf\nmov     rdi, rcx                                                       ; +0x12, 0x180038bd2\nmov     rcx, [r8+18h]; this                                            ; +0x15, 0x180038bd5\nmov     rbx, r8                                                        ; +0x19, 0x180038bd9\nmov     esi, edx                                                       ; +0x1c, 0x180038bdc\nmov     r9, [rax+10h]                                                  ; +0x1e, 0x180038bde\ncmp     [r9+rsi*8], rcx                                                ; +0x22, 0x180038be2\njnz     short loc_180038BF8                                            ; +0x26, 0x180038be6\ncmp     byte ptr [r8+20h], 0                                           ; +0x28, 0x180038be8\njnz     short loc_180038BF8                                            ; +0x2d, 0x180038bed\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x2f, 0x180038bef\nmov     byte ptr [rbx+20h], 1                                          ; +0x34, 0x180038bf4\nmov     rcx, [rbx]                                                     ; +0x38, 0x180038bf8\nmov     r8b, 1                                                         ; +0x3b, 0x180038bfb\nmov     edx, esi                                                       ; +0x3e, 0x180038bfe\ncall    sub_1800A1B70                                                  ; +0x40, 0x180038c00\nmov     eax, [rbx+10h]                                                 ; +0x45, 0x180038c05\ncmp     eax, esi                                                       ; +0x48, 0x180038c08\njb      short loc_180038C11                                            ; +0x4a, 0x180038c0a\ndec     eax                                                            ; +0x4c, 0x180038c0c\nmov     [rbx+10h], eax                                                 ; +0x4e, 0x180038c0e\nmov     rax, [rbx]                                                     ; +0x51, 0x180038c11\ncmp     dword ptr [rax], 0                                             ; +0x54, 0x180038c14\njnz     short loc_180038C3E                                            ; +0x57, 0x180038c17\ncmp     [rdi+40h], rbx                                                 ; +0x59, 0x180038c19\njnz     short loc_180038C33                                            ; +0x5d, 0x180038c1d\nmov     byte ptr [rdi+48h], 1                                          ; +0x5f, 0x180038c1f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x63, 0x180038c23\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x68, 0x180038c28\nadd     rsp, 20h                                                       ; +0x6d, 0x180038c2d\npop     rdi                                                            ; +0x71, 0x180038c31\nretn                                                                   ; +0x72, 0x180038c32\nmov     rdx, rbx; struct cocos2d::_hashElement *                       ; +0x73, 0x180038c33\nmov     rcx, rdi; this                                                 ; +0x76, 0x180038c36\ncall    ?deleteHashElement@CCActionManager@cocos2d@@IEAAXPEAU_hashElement@2@@Z; cocos2d::CCActionManager::deleteHashElement(cocos2d::_hashElement *) ; +0x79, 0x180038c39\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7e, 0x180038c3e\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x83, 0x180038c43\nadd     rsp, 20h                                                       ; +0x88, 0x180038c48\npop     rdi                                                            ; +0x8c, 0x180038c4c\nretn                                                                   ; +0x8d, 0x180038c4d", "xrefs": ["cocos2d::CCActionManager::removeAction @ 0x180038ba6", "cocos2d::CCActionManager::removeActionByTag @ 0x180038da4", "<???> @ 0x18014cf68", "<???> @ 0x1801bace4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}