; ; cocos2d::CCDictionary::removeAllObjects from 0x18000aae0 to 0x18000ac83 (419 bytes) ; ; 10 xrefs: ; > cocos2d::CCTextureCache::removeAllTextures @ 0x1800060a4 ; > cocos2d::CCDictionary::~CCDictionary @ 0x180009793 ; > sub_1800097C0 @ 0x18000982c ; > cocos2d::CCLabelBMFont::purgeCachedData @ 0x180048e60 ; > cocos2d::CCSpriteFrameCache::removeSpriteFrames @ 0x1800951c1 ; > cocos2d::CCSpriteFrameCache::removeSpriteFrames @ 0x1800951ca ; > @ 0x18013abe8 ; > @ 0x18013abf8 ; > @ 0x18014cf68 ; > @ 0x1801b7d44 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:21:19 +0000 ; mov [rsp+arg_10], rbx ; +0x0, 0x18000aae0 push rdi ; +0x5, 0x18000aae5 sub rsp, 20h ; +0x6, 0x18000aae6 mov rdi, [rcx+38h] ; +0xa, 0x18000aaea mov rbx, rcx ; +0xe, 0x18000aaee test rdi, rdi ; +0x11, 0x18000aaf1 jz loc_18000AC78 ; +0x14, 0x18000aaf4 mov [rsp+28h+arg_0], rbp ; +0x1a, 0x18000aafa xor ebp, ebp ; +0x1f, 0x18000aaff mov [rsp+28h+arg_8], rsi ; +0x21, 0x18000ab01 mov rsi, [rdi+120h] ; +0x26, 0x18000ab06 nop dword ptr [rax] ; +0x2d, 0x18000ab0d mov r8, [rdi+118h] ; +0x30, 0x18000ab10 test r8, r8 ; +0x37, 0x18000ab17 jnz short loc_18000AB53 ; +0x3a, 0x18000ab1a cmp [rdi+120h], rbp ; +0x3c, 0x18000ab1c jnz short loc_18000AB53 ; +0x43, 0x18000ab23 mov rax, [rbx+38h] ; +0x45, 0x18000ab25 mov rcx, [rax+110h] ; +0x49, 0x18000ab29 mov rcx, [rcx]; Block ; +0x50, 0x18000ab30 call cs:__imp_free ; +0x53, 0x18000ab33 mov rcx, [rbx+38h] ; +0x59, 0x18000ab39 mov rcx, [rcx+110h]; Block ; +0x5d, 0x18000ab3d call cs:__imp_free ; +0x64, 0x18000ab44 mov [rbx+38h], rbp ; +0x6a, 0x18000ab4a jmp loc_18000AC41 ; +0x6e, 0x18000ab4e mov r10, [rbx+38h] ; +0x73, 0x18000ab53 lea rax, [rdi+110h] ; +0x77, 0x18000ab57 mov r9, [r10+110h] ; +0x7e, 0x18000ab5e mov r11, [r9+20h] ; +0x85, 0x18000ab65 mov rcx, [r9+18h] ; +0x89, 0x18000ab69 sub rcx, r11 ; +0x8d, 0x18000ab6d cmp rdi, rcx ; +0x90, 0x18000ab70 jnz short loc_18000AB81 ; +0x93, 0x18000ab73 lea rcx, [r8+r11] ; +0x95, 0x18000ab75 mov [r9+18h], rcx ; +0x99, 0x18000ab79 mov r10, [rbx+38h] ; +0x9d, 0x18000ab7d mov r9, [rdi+118h] ; +0xa1, 0x18000ab81 mov r8, [rdi+120h] ; +0xa8, 0x18000ab88 test r9, r9 ; +0xaf, 0x18000ab8f jz short loc_18000ABAA ; +0xb2, 0x18000ab92 mov rcx, [r10+110h] ; +0xb4, 0x18000ab94 mov rdx, [rcx+20h] ; +0xbb, 0x18000ab9b mov [rdx+r9+10h], r8 ; +0xbf, 0x18000ab9f mov r8, [rbx+38h] ; +0xc4, 0x18000aba4 jmp short loc_18000ABAE ; +0xc8, 0x18000aba8 mov [rbx+38h], r8 ; +0xca, 0x18000abaa mov r9, [rax+10h] ; +0xce, 0x18000abae test r9, r9 ; +0xd2, 0x18000abb2 jz short loc_18000ABCB ; +0xd5, 0x18000abb5 mov rcx, [r8+110h] ; +0xd7, 0x18000abb7 mov rdx, [rcx+20h] ; +0xde, 0x18000abbe mov rcx, [rax+8] ; +0xe2, 0x18000abc2 mov [rdx+r9+8], rcx ; +0xe6, 0x18000abc6 mov rcx, [rbx+38h] ; +0xeb, 0x18000abcb mov rdx, [rcx+110h] ; +0xef, 0x18000abcf mov ecx, [rax+34h] ; +0xf6, 0x18000abd6 mov r9d, [rdx+8] ; +0xf9, 0x18000abd9 dec r9d ; +0xfd, 0x18000abdd and r9, rcx ; +0x100, 0x18000abe0 mov rcx, [rdx] ; +0x103, 0x18000abe3 mov r8, r9 ; +0x106, 0x18000abe6 shl r8, 4 ; +0x109, 0x18000abe9 dec dword ptr [r8+rcx+8] ; +0x10d, 0x18000abed mov rcx, [rbx+38h] ; +0x112, 0x18000abf2 mov rdx, [rcx+110h] ; +0x116, 0x18000abf6 mov r10, [rdx] ; +0x11d, 0x18000abfd cmp [r8+r10], rax ; +0x120, 0x18000ac00 jnz short loc_18000AC11 ; +0x124, 0x18000ac04 mov rcx, [rax+20h] ; +0x126, 0x18000ac06 add r9, r9 ; +0x12a, 0x18000ac0a mov [r10+r9*8], rcx ; +0x12d, 0x18000ac0d mov rdx, [rax+18h] ; +0x131, 0x18000ac11 test rdx, rdx ; +0x135, 0x18000ac15 jz short loc_18000AC22 ; +0x138, 0x18000ac18 mov rcx, [rax+20h] ; +0x13a, 0x18000ac1a mov [rdx+20h], rcx ; +0x13e, 0x18000ac1e mov rcx, [rax+20h] ; +0x142, 0x18000ac22 test rcx, rcx ; +0x146, 0x18000ac26 jz short loc_18000AC33 ; +0x149, 0x18000ac29 mov rdx, [rax+18h] ; +0x14b, 0x18000ac2b mov [rcx+18h], rdx ; +0x14f, 0x18000ac2f mov rax, [rbx+38h] ; +0x153, 0x18000ac33 mov rdx, [rax+110h] ; +0x157, 0x18000ac37 dec dword ptr [rdx+10h] ; +0x15e, 0x18000ac3e mov rcx, [rdi+108h]; this ; +0x161, 0x18000ac41 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x168, 0x18000ac48 mov edx, 148h ; +0x16d, 0x18000ac4d mov rcx, rdi; Block ; +0x172, 0x18000ac52 call j_j_free_0 ; +0x175, 0x18000ac55 mov rdi, rsi ; +0x17a, 0x18000ac5a test rsi, rsi ; +0x17d, 0x18000ac5d jz short loc_18000AC6E ; +0x180, 0x18000ac60 mov rsi, [rsi+120h] ; +0x182, 0x18000ac62 jmp loc_18000AB10 ; +0x189, 0x18000ac69 mov rbp, [rsp+28h+arg_0] ; +0x18e, 0x18000ac6e mov rsi, [rsp+28h+arg_8] ; +0x193, 0x18000ac73 mov rbx, [rsp+28h+arg_10] ; +0x198, 0x18000ac78 add rsp, 20h ; +0x19d, 0x18000ac7d pop rdi ; +0x1a1, 0x18000ac81 retn ; +0x1a2, 0x18000ac82