; ; cocos2d::CCDictionary::removeAllObjects from 0x18000aa20 to 0x18000abc2 (418 bytes) ; ; 10 xrefs: ; > cocos2d::CCTextureCache::removeAllTextures @ 0x180005f54 ; > cocos2d::CCDictionary::~CCDictionary @ 0x1800096c3 ; > sub_1800096F0 @ 0x18000975c ; > cocos2d::CCLabelBMFont::purgeCachedData @ 0x180047940 ; > cocos2d::CCSpriteFrameCache::removeSpriteFrames @ 0x180091c81 ; > cocos2d::CCSpriteFrameCache::removeSpriteFrames @ 0x180091c8a ; > @ 0x180131d4c ; > @ 0x180131d5c ; > @ 0x1801438a8 ; > @ 0x1801add2c ; ; 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 ; mov [rsp+arg_10], rbx ; +0x0, 0x18000aa20 push rdi ; +0x5, 0x18000aa25 sub rsp, 20h ; +0x6, 0x18000aa26 mov rdi, [rcx+38h] ; +0xa, 0x18000aa2a mov rbx, rcx ; +0xe, 0x18000aa2e test rdi, rdi ; +0x11, 0x18000aa31 jz loc_18000ABB7 ; +0x14, 0x18000aa34 mov [rsp+28h+arg_0], rbp ; +0x1a, 0x18000aa3a xor ebp, ebp ; +0x1f, 0x18000aa3f mov [rsp+28h+arg_8], rsi ; +0x21, 0x18000aa41 mov rsi, [rdi+120h] ; +0x26, 0x18000aa46 nop dword ptr [rax] ; +0x2d, 0x18000aa4d mov r8, [rdi+118h] ; +0x30, 0x18000aa50 test r8, r8 ; +0x37, 0x18000aa57 jnz short loc_18000AA93 ; +0x3a, 0x18000aa5a cmp [rdi+120h], rbp ; +0x3c, 0x18000aa5c jnz short loc_18000AA93 ; +0x43, 0x18000aa63 mov rax, [rbx+38h] ; +0x45, 0x18000aa65 mov rcx, [rax+110h] ; +0x49, 0x18000aa69 mov rcx, [rcx]; Block ; +0x50, 0x18000aa70 call cs:__imp_free ; +0x53, 0x18000aa73 mov rcx, [rbx+38h] ; +0x59, 0x18000aa79 mov rcx, [rcx+110h]; Block ; +0x5d, 0x18000aa7d call cs:__imp_free ; +0x64, 0x18000aa84 mov [rbx+38h], rbp ; +0x6a, 0x18000aa8a jmp loc_18000AB80 ; +0x6e, 0x18000aa8e mov r10, [rbx+38h] ; +0x73, 0x18000aa93 lea rax, [rdi+110h] ; +0x77, 0x18000aa97 mov r9, [r10+110h] ; +0x7e, 0x18000aa9e mov r11, [r9+20h] ; +0x85, 0x18000aaa5 mov rcx, [r9+18h] ; +0x89, 0x18000aaa9 sub rcx, r11 ; +0x8d, 0x18000aaad cmp rdi, rcx ; +0x90, 0x18000aab0 jnz short loc_18000AAC1 ; +0x93, 0x18000aab3 lea rcx, [r11+r8] ; +0x95, 0x18000aab5 mov [r9+18h], rcx ; +0x99, 0x18000aab9 mov r10, [rbx+38h] ; +0x9d, 0x18000aabd mov r9, [rdi+118h] ; +0xa1, 0x18000aac1 mov r8, [rdi+120h] ; +0xa8, 0x18000aac8 test r9, r9 ; +0xaf, 0x18000aacf jz short loc_18000AAEA ; +0xb2, 0x18000aad2 mov rcx, [r10+110h] ; +0xb4, 0x18000aad4 mov rdx, [rcx+20h] ; +0xbb, 0x18000aadb mov [rdx+r9+10h], r8 ; +0xbf, 0x18000aadf mov r8, [rbx+38h] ; +0xc4, 0x18000aae4 jmp short loc_18000AAEE ; +0xc8, 0x18000aae8 mov [rbx+38h], r8 ; +0xca, 0x18000aaea mov r9, [rax+10h] ; +0xce, 0x18000aaee test r9, r9 ; +0xd2, 0x18000aaf2 jz short loc_18000AB0B ; +0xd5, 0x18000aaf5 mov rcx, [r8+110h] ; +0xd7, 0x18000aaf7 mov rdx, [rcx+20h] ; +0xde, 0x18000aafe mov rcx, [rax+8] ; +0xe2, 0x18000ab02 mov [rdx+r9+8], rcx ; +0xe6, 0x18000ab06 mov rcx, [rbx+38h] ; +0xeb, 0x18000ab0b mov rdx, [rcx+110h] ; +0xef, 0x18000ab0f mov ecx, [rax+34h] ; +0xf6, 0x18000ab16 mov r9d, [rdx+8] ; +0xf9, 0x18000ab19 dec r9d ; +0xfd, 0x18000ab1d and r9, rcx ; +0x100, 0x18000ab20 mov rcx, [rdx] ; +0x103, 0x18000ab23 mov r8, r9 ; +0x106, 0x18000ab26 add r8, r8 ; +0x109, 0x18000ab29 dec dword ptr [rcx+r8*8+8] ; +0x10c, 0x18000ab2c mov rcx, [rbx+38h] ; +0x111, 0x18000ab31 mov rdx, [rcx+110h] ; +0x115, 0x18000ab35 mov r10, [rdx] ; +0x11c, 0x18000ab3c cmp [r10+r8*8], rax ; +0x11f, 0x18000ab3f jnz short loc_18000AB50 ; +0x123, 0x18000ab43 mov rcx, [rax+20h] ; +0x125, 0x18000ab45 add r9, r9 ; +0x129, 0x18000ab49 mov [r10+r9*8], rcx ; +0x12c, 0x18000ab4c mov rdx, [rax+18h] ; +0x130, 0x18000ab50 test rdx, rdx ; +0x134, 0x18000ab54 jz short loc_18000AB61 ; +0x137, 0x18000ab57 mov rcx, [rax+20h] ; +0x139, 0x18000ab59 mov [rdx+20h], rcx ; +0x13d, 0x18000ab5d mov rcx, [rax+20h] ; +0x141, 0x18000ab61 test rcx, rcx ; +0x145, 0x18000ab65 jz short loc_18000AB72 ; +0x148, 0x18000ab68 mov rdx, [rax+18h] ; +0x14a, 0x18000ab6a mov [rcx+18h], rdx ; +0x14e, 0x18000ab6e mov rax, [rbx+38h] ; +0x152, 0x18000ab72 mov rdx, [rax+110h] ; +0x156, 0x18000ab76 dec dword ptr [rdx+10h] ; +0x15d, 0x18000ab7d mov rcx, [rdi+108h]; this ; +0x160, 0x18000ab80 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x167, 0x18000ab87 mov edx, 148h ; +0x16c, 0x18000ab8c mov rcx, rdi; Block ; +0x171, 0x18000ab91 call j_j_free_0 ; +0x174, 0x18000ab94 mov rdi, rsi ; +0x179, 0x18000ab99 test rsi, rsi ; +0x17c, 0x18000ab9c jz short loc_18000ABAD ; +0x17f, 0x18000ab9f mov rsi, [rsi+120h] ; +0x181, 0x18000aba1 jmp loc_18000AA50 ; +0x188, 0x18000aba8 mov rbp, [rsp+28h+arg_0] ; +0x18d, 0x18000abad mov rsi, [rsp+28h+arg_8] ; +0x192, 0x18000abb2 mov rbx, [rsp+28h+arg_10] ; +0x197, 0x18000abb7 add rsp, 20h ; +0x19c, 0x18000abbc pop rdi ; +0x1a0, 0x18000abc0 retn ; +0x1a1, 0x18000abc1