; ; cocos2d::CCDictionary::removeObjectsForKeys from 0x18000b2b0 to 0x18000b384 (212 bytes) ; ; 5 xrefs: ; > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary @ 0x180092074 ; > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromTexture @ 0x1800926ab ; > cocos2d::CCTextureCache::removeTexture @ 0x1800a984d ; > @ 0x1801438a8 ; > @ 0x1801addd4 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; test rdx, rdx ; +0x0, 0x18000b2b0 jz locret_18000B37C ; +0x3, 0x18000b2b3 mov [rsp+arg_10], rbx ; +0x9, 0x18000b2b9 mov [rsp+arg_18], rsi ; +0xe, 0x18000b2be push rdi ; +0x13, 0x18000b2c3 sub rsp, 50h ; +0x14, 0x18000b2c4 mov rax, cs:__security_cookie ; +0x18, 0x18000b2c8 xor rax, rsp ; +0x1f, 0x18000b2cf mov [rsp+58h+var_18], rax ; +0x22, 0x18000b2d2 mov rsi, rcx ; +0x27, 0x18000b2d7 mov rbx, [rdx+38h] ; +0x2a, 0x18000b2da mov eax, [rbx] ; +0x2e, 0x18000b2de test eax, eax ; +0x30, 0x18000b2e0 jz short loc_18000B360 ; +0x32, 0x18000b2e2 mov rbx, [rbx+10h] ; +0x34, 0x18000b2e4 lea rdi, [rax-1] ; +0x38, 0x18000b2e8 lea rdi, [rbx+rdi*8] ; +0x3c, 0x18000b2ec cmp rbx, rdi ; +0x40, 0x18000b2f0 ja short loc_18000B360 ; +0x43, 0x18000b2f3 mov rcx, [rbx]; this ; +0x45, 0x18000b2f5 test rcx, rcx ; +0x48, 0x18000b2f8 jz short loc_18000B360 ; +0x4b, 0x18000b2fb call ?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x4d, 0x18000b2fd mov rdx, rax ; +0x52, 0x18000b302 lea rcx, [rsp+58h+Buf2] ; +0x55, 0x18000b305 call sub_180005910 ; +0x5a, 0x18000b30a nop ; +0x5f, 0x18000b30f lea rdx, [rsp+58h+Buf2]; Buf2 ; +0x60, 0x18000b310 mov rcx, rsi; this ; +0x65, 0x18000b315 call ?removeObjectForKey@CCDictionary@cocos2d@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::removeObjectForKey(std::string const &) ; +0x68, 0x18000b318 nop ; +0x6d, 0x18000b31d mov rdx, [rsp+58h+var_20] ; +0x6e, 0x18000b31e cmp rdx, 0Fh ; +0x73, 0x18000b323 jbe short loc_18000B357 ; +0x77, 0x18000b327 inc rdx ; +0x79, 0x18000b329 mov rcx, qword ptr [rsp+58h+Buf2] ; +0x7c, 0x18000b32c mov rax, rcx ; +0x81, 0x18000b331 cmp rdx, 1000h ; +0x84, 0x18000b334 jb short loc_18000B352 ; +0x8b, 0x18000b33b add rdx, 27h ; ''' ; +0x8d, 0x18000b33d mov rcx, [rcx-8]; Block ; +0x91, 0x18000b341 sub rax, rcx ; +0x95, 0x18000b345 add rax, 0FFFFFFFFFFFFFFF8h ; +0x98, 0x18000b348 cmp rax, 1Fh ; +0x9c, 0x18000b34c ja short loc_18000B37D ; +0xa0, 0x18000b350 call j_j_free_0 ; +0xa2, 0x18000b352 add rbx, 8 ; +0xa7, 0x18000b357 cmp rbx, rdi ; +0xab, 0x18000b35b jbe short loc_18000B2F5 ; +0xae, 0x18000b35e mov rcx, [rsp+58h+var_18] ; +0xb0, 0x18000b360 xor rcx, rsp; StackCookie ; +0xb5, 0x18000b365 call __security_check_cookie ; +0xb8, 0x18000b368 mov rbx, [rsp+58h+arg_10] ; +0xbd, 0x18000b36d mov rsi, [rsp+58h+arg_18] ; +0xc2, 0x18000b372 add rsp, 50h ; +0xc7, 0x18000b377 pop rdi ; +0xcb, 0x18000b37b retn ; +0xcc, 0x18000b37c call cs:_invalid_parameter_noinfo_noreturn ; +0xcd, 0x18000b37d db 0CCh ; +0xd3, 0x18000b383