{"type": "func", "start": 6442496784, "end": 6442497017, "name": "cocos2d::CCDictionary::removeObjectsForKeys", "pseudocode": "// \n// cocos2d::CCDictionary::removeObjectsForKeys from 0x18000b310 to 0x18000b3f9 (233 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary @ 0x180095545\n// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromTexture @ 0x180095ba5\n// > cocos2d::CCTextureCache::removeTexture @ 0x1800ad04d\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b7df8\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:20 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall cocos2d::CCDictionary::removeObjectsForKeys(cocos2d::CCDictionary *this, struct cocos2d::CCArray *a2)\n{\n  unsigned int *v3; // rbx\n  __int64 v4; // rax\n  cocos2d::CCString **v5; // rbx\n  cocos2d::CCString **i; // rdi\n  char *CString; // rax\n  void *v8; // rcx\n  char Str[24]; // [rsp+30h] [rbp-38h] BYREF\n  unsigned __int64 v10; // [rsp+48h] [rbp-20h]\n\n  if ( a2 )\n  {\n    v3 = *((unsigned int **)a2 + 7);\n    v4 = *v3;\n    if ( (_DWORD)v4 )\n    {\n      v5 = *((cocos2d::CCString ***)v3 + 2);\n      for ( i = &v5[v4 - 1]; v5 <= i; ++v5 )\n      {\n        if ( !*v5 )\n          break;\n        CString = (char *)cocos2d::CCString::getCString(*v5);\n        sub_180005A10(Str, CString);\n        cocos2d::CCDictionary::removeObjectForKey(this, Str);\n        if ( v10 > 0xF )\n        {\n          v8 = *(void **)Str;\n          if ( v10 + 1 >= 0x1000 )\n          {\n            v8 = *(void **)(*(_QWORD *)Str - 8LL);\n            if ( (unsigned __int64)(*(_QWORD *)Str - (_QWORD)v8 - 8LL) > 0x1F )\n              invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n          }\n          j_j_free_0(v8);\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCDictionary::removeObjectsForKeys from 0x18000b310 to 0x18000b3f9 (233 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary @ 0x180095545\n; > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromTexture @ 0x180095ba5\n; > cocos2d::CCTextureCache::removeTexture @ 0x1800ad04d\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b7df8\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:20 +0000\n; \ntest    rdx, rdx                                                       ; +0x0, 0x18000b310\njz      locret_18000B3DE                                               ; +0x3, 0x18000b313\nmov     [rsp+arg_10], rbx                                              ; +0x9, 0x18000b319\nmov     [rsp+arg_18], rsi                                              ; +0xe, 0x18000b31e\npush    rdi                                                            ; +0x13, 0x18000b323\nsub     rsp, 60h                                                       ; +0x14, 0x18000b324\nmov     rax, cs:__security_cookie                                      ; +0x18, 0x18000b328\nxor     rax, rsp                                                       ; +0x1f, 0x18000b32f\nmov     [rsp+68h+var_18], rax                                          ; +0x22, 0x18000b332\nmov     rsi, rcx                                                       ; +0x27, 0x18000b337\nmov     rbx, [rdx+38h]                                                 ; +0x2a, 0x18000b33a\nmov     eax, [rbx]                                                     ; +0x2e, 0x18000b33e\ntest    eax, eax                                                       ; +0x30, 0x18000b340\njz      short loc_18000B3C0                                            ; +0x32, 0x18000b342\nmov     rbx, [rbx+10h]                                                 ; +0x34, 0x18000b344\nlea     rdi, [rax-1]                                                   ; +0x38, 0x18000b348\nlea     rdi, [rbx+rdi*8]                                               ; +0x3c, 0x18000b34c\ncmp     rbx, rdi                                                       ; +0x40, 0x18000b350\nja      short loc_18000B3C0                                            ; +0x43, 0x18000b353\nmov     rcx, [rbx]; this                                               ; +0x45, 0x18000b355\ntest    rcx, rcx                                                       ; +0x48, 0x18000b358\njz      short loc_18000B3C0                                            ; +0x4b, 0x18000b35b\ncall    ?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x4d, 0x18000b35d\nmov     rdx, rax; Str                                                  ; +0x52, 0x18000b362\nlea     rcx, [rsp+68h+Str]; void *                                     ; +0x55, 0x18000b365\ncall    sub_180005A10                                                  ; +0x5a, 0x18000b36a\nnop                                                                    ; +0x5f, 0x18000b36f\nlea     rdx, [rsp+68h+Str]; Str                                        ; +0x60, 0x18000b370\nmov     rcx, rsi; this                                                 ; +0x65, 0x18000b375\ncall    ?removeObjectForKey@CCDictionary@cocos2d@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::removeObjectForKey(std::string const &) ; +0x68, 0x18000b378\nnop                                                                    ; +0x6d, 0x18000b37d\nmov     rdx, [rsp+68h+var_20]                                          ; +0x6e, 0x18000b37e\ncmp     rdx, 0Fh                                                       ; +0x73, 0x18000b383\njbe     short loc_18000B3B7                                            ; +0x77, 0x18000b387\ninc     rdx                                                            ; +0x79, 0x18000b389\nmov     rcx, qword ptr [rsp+68h+Str]                                   ; +0x7c, 0x18000b38c\nmov     rax, rcx                                                       ; +0x81, 0x18000b391\ncmp     rdx, 1000h                                                     ; +0x84, 0x18000b394\njb      short loc_18000B3B2                                            ; +0x8b, 0x18000b39b\nadd     rdx, 27h ; '''                                                 ; +0x8d, 0x18000b39d\nmov     rcx, [rcx-8]; Block                                            ; +0x91, 0x18000b3a1\nsub     rax, rcx                                                       ; +0x95, 0x18000b3a5\nsub     rax, 8                                                         ; +0x98, 0x18000b3a8\ncmp     rax, 1Fh                                                       ; +0x9c, 0x18000b3ac\nja      short loc_18000B3DF                                            ; +0xa0, 0x18000b3b0\ncall    j_j_free_0                                                     ; +0xa2, 0x18000b3b2\nadd     rbx, 8                                                         ; +0xa7, 0x18000b3b7\ncmp     rbx, rdi                                                       ; +0xab, 0x18000b3bb\njbe     short loc_18000B355                                            ; +0xae, 0x18000b3be\nmov     rcx, [rsp+68h+var_18]                                          ; +0xb0, 0x18000b3c0\nxor     rcx, rsp; StackCookie                                          ; +0xb5, 0x18000b3c5\ncall    __security_check_cookie                                        ; +0xb8, 0x18000b3c8\nlea     r11, [rsp+68h+var_8]                                           ; +0xbd, 0x18000b3cd\nmov     rbx, [r11+20h]                                                 ; +0xc2, 0x18000b3d2\nmov     rsi, [r11+28h]                                                 ; +0xc6, 0x18000b3d6\nmov     rsp, r11                                                       ; +0xca, 0x18000b3da\npop     rdi                                                            ; +0xcd, 0x18000b3dd\nretn                                                                   ; +0xce, 0x18000b3de\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0xcf, 0x18000b3df\nxor     r9d, r9d; LineNo                                               ; +0xd8, 0x18000b3e8\nxor     r8d, r8d; FileName                                             ; +0xdb, 0x18000b3eb\nxor     edx, edx; FunctionName                                         ; +0xde, 0x18000b3ee\nxor     ecx, ecx; Expression                                           ; +0xe0, 0x18000b3f0\ncall    cs:_invoke_watson                                              ; +0xe2, 0x18000b3f2\ndb 0CCh                                                                ; +0xe8, 0x18000b3f8", "xrefs": ["cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary @ 0x180095545", "cocos2d::CCSpriteFrameCache::removeSpriteFramesFromTexture @ 0x180095ba5", "cocos2d::CCTextureCache::removeTexture @ 0x1800ad04d", "<???> @ 0x18014cf68", "<???> @ 0x1801b7df8"], "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"}