{"type": "func", "start": 6443033248, "end": 6443033408, "name": "cocos2d::CCAnimationCache::removeAnimationByName", "pseudocode": "// \n// cocos2d::CCAnimationCache::removeAnimationByName from 0x18008e2a0 to 0x18008e340 (160 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfd84\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:22:07 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall cocos2d::CCAnimationCache::removeAnimationByName(cocos2d::CCDictionary **this, char *a2)\n{\n  void *v3; // rcx\n  void *Block[3]; // [rsp+30h] [rbp-38h] BYREF\n  unsigned __int64 v5; // [rsp+48h] [rbp-20h]\n\n  if ( a2 )\n  {\n    sub_180005A10(Block, a2);\n    cocos2d::CCDictionary::removeObjectForKey(*(this + 7), (char *)Block);\n    if ( v5 > 0xF )\n    {\n      v3 = Block[0];\n      if ( v5 + 1 >= 0x1000 )\n      {\n        v3 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v3 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      j_j_free_0(v3);\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCAnimationCache::removeAnimationByName from 0x18008e2a0 to 0x18008e340 (160 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfd84\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:22:07 +0000\n; \ntest    rdx, rdx                                                       ; +0x0, 0x18008e2a0\njz      locret_18008E33F                                               ; +0x3, 0x18008e2a3\npush    rbx                                                            ; +0x9, 0x18008e2a9\nsub     rsp, 60h                                                       ; +0xa, 0x18008e2aa\nmov     rax, cs:__security_cookie                                      ; +0xe, 0x18008e2ae\nxor     rax, rsp                                                       ; +0x15, 0x18008e2b5\nmov     [rsp+68h+var_18], rax                                          ; +0x18, 0x18008e2b8\nmov     rbx, rcx                                                       ; +0x1d, 0x18008e2bd\nlea     rcx, [rsp+68h+Block]; void *                                   ; +0x20, 0x18008e2c0\ncall    sub_180005A10                                                  ; +0x25, 0x18008e2c5\nnop                                                                    ; +0x2a, 0x18008e2ca\nlea     rdx, [rsp+68h+Block]; Str                                      ; +0x2b, 0x18008e2cb\nmov     rcx, [rbx+38h]; this                                           ; +0x30, 0x18008e2d0\ncall    ?removeObjectForKey@CCDictionary@cocos2d@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::removeObjectForKey(std::string const &) ; +0x34, 0x18008e2d4\nnop                                                                    ; +0x39, 0x18008e2d9\nmov     rdx, [rsp+68h+var_20]                                          ; +0x3a, 0x18008e2da\ncmp     rdx, 0Fh                                                       ; +0x3f, 0x18008e2df\njbe     short loc_18008E32D                                            ; +0x43, 0x18008e2e3\ninc     rdx                                                            ; +0x45, 0x18008e2e5\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0x48, 0x18008e2e8\nmov     rax, rcx                                                       ; +0x4d, 0x18008e2ed\ncmp     rdx, 1000h                                                     ; +0x50, 0x18008e2f0\njb      short loc_18008E328                                            ; +0x57, 0x18008e2f7\nadd     rdx, 27h ; '''                                                 ; +0x59, 0x18008e2f9\nmov     rcx, [rcx-8]                                                   ; +0x5d, 0x18008e2fd\nsub     rax, rcx                                                       ; +0x61, 0x18008e301\nsub     rax, 8                                                         ; +0x64, 0x18008e304\ncmp     rax, 1Fh                                                       ; +0x68, 0x18008e308\njbe     short loc_18008E328                                            ; +0x6c, 0x18008e30c\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0x6e, 0x18008e30e\nxor     r9d, r9d; LineNo                                               ; +0x77, 0x18008e317\nxor     r8d, r8d; FileName                                             ; +0x7a, 0x18008e31a\nxor     edx, edx; FunctionName                                         ; +0x7d, 0x18008e31d\nxor     ecx, ecx; Expression                                           ; +0x7f, 0x18008e31f\ncall    cs:_invoke_watson                                              ; +0x81, 0x18008e321\nalign 8                                                                ; +0x87, 0x18008e327\ncall    j_j_free_0                                                     ; +0x88, 0x18008e328\nmov     rcx, [rsp+68h+var_18]                                          ; +0x8d, 0x18008e32d\nxor     rcx, rsp; StackCookie                                          ; +0x92, 0x18008e332\ncall    __security_check_cookie                                        ; +0x95, 0x18008e335\nadd     rsp, 60h                                                       ; +0x9a, 0x18008e33a\npop     rbx                                                            ; +0x9e, 0x18008e33e\nretn                                                                   ; +0x9f, 0x18008e33f", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bfd84"], "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"}