; ; cocos2d::CCDictionary::removeObjectForKey from 0x18000ae10 to 0x18000b178 (872 bytes) ; ; 11 xrefs: ; > cocos2d::CCDictionary::removeObjectsForKeys @ 0x18000b378 ; > cocos2d::CCAnimationCache::removeAnimationByName @ 0x18008e2d4 ; > cocos2d::CCSpriteFrameCache::removeSpriteFrameByName @ 0x18009501d ; > cocos2d::CCSpriteFrameCache::removeSpriteFrameByName @ 0x180095095 ; > cocos2d::CCSpriteFrameCache::removeSpriteFrameByName @ 0x18009510c ; > cocos2d::CCProfiler::releaseTimer @ 0x180097fac ; > cocos2d::CCTextureCache::removeTextureForKey @ 0x1800ad0af ; > @ 0x18013aae8 ; > @ 0x18013ab4c ; > @ 0x18014cf68 ; > @ 0x1801b7d74 ; ; 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:20 +0000 ; push rbx ; +0x0, 0x18000ae10 push r13 ; +0x2, 0x18000ae12 sub rsp, 28h ; +0x4, 0x18000ae14 cmp dword ptr [rcx+40h], 0 ; +0x8, 0x18000ae18 mov rbx, rdx ; +0xc, 0x18000ae1c mov r13, rcx ; +0xf, 0x18000ae1f jz loc_18000B142 ; +0x12, 0x18000ae22 mov [rsp+38h+arg_10], rdi ; +0x18, 0x18000ae28 xor edi, edi ; +0x1d, 0x18000ae2d cmp [rcx+38h], rdi ; +0x1f, 0x18000ae2f jz loc_18000B132 ; +0x23, 0x18000ae33 cmp qword ptr [rdx+18h], 0Fh ; +0x29, 0x18000ae39 mov edi, 9E3779B9h ; +0x2e, 0x18000ae3e mov [rsp+38h+arg_8], rsi ; +0x33, 0x18000ae43 mov esi, 0FEEDBEEFh ; +0x38, 0x18000ae48 mov [rsp+38h+arg_18], r14 ; +0x3d, 0x18000ae4d mov r14d, edi ; +0x42, 0x18000ae52 mov [rsp+38h+var_18], r15 ; +0x45, 0x18000ae55 mov [rsp+38h+arg_0], rbp ; +0x4a, 0x18000ae5a jbe short loc_18000AE69 ; +0x4f, 0x18000ae5f mov rcx, [rdx] ; +0x51, 0x18000ae61 mov rbp, rcx ; +0x54, 0x18000ae64 jmp short loc_18000AE6F ; +0x57, 0x18000ae67 mov rbp, rbx ; +0x59, 0x18000ae69 mov rcx, rbx; Str ; +0x5c, 0x18000ae6c call strlen ; +0x5f, 0x18000ae6f mov r15, rax ; +0x64, 0x18000ae74 cmp eax, 0Ch ; +0x67, 0x18000ae77 jb loc_18000AF7C ; +0x6a, 0x18000ae7a mov eax, 0AAAAAAABh ; +0x70, 0x18000ae80 mul r15d ; +0x75, 0x18000ae85 shr edx, 3 ; +0x78, 0x18000ae88 mov r8d, edx ; +0x7b, 0x18000ae8b xchg ax, ax ; +0x7e, 0x18000ae8e movzx eax, byte ptr [rbp+6] ; +0x80, 0x18000ae90 add r15d, 0FFFFFFF4h ; +0x84, 0x18000ae94 movzx ecx, byte ptr [rbp+4] ; +0x88, 0x18000ae98 movzx edx, byte ptr [rbp+7] ; +0x8c, 0x18000ae9c shl edx, 8 ; +0x90, 0x18000aea0 add edx, eax ; +0x93, 0x18000aea3 movzx eax, byte ptr [rbp+5] ; +0x95, 0x18000aea5 shl edx, 8 ; +0x99, 0x18000aea9 add edx, eax ; +0x9c, 0x18000aeac movzx eax, byte ptr [rbp+0Ah] ; +0x9e, 0x18000aeae shl edx, 8 ; +0xa2, 0x18000aeb2 add r14d, edx ; +0xa5, 0x18000aeb5 movzx edx, byte ptr [rbp+0Bh] ; +0xa8, 0x18000aeb8 shl edx, 8 ; +0xac, 0x18000aebc add r14d, ecx ; +0xaf, 0x18000aebf movzx ecx, byte ptr [rbp+8] ; +0xb2, 0x18000aec2 add edx, eax ; +0xb6, 0x18000aec6 movzx eax, byte ptr [rbp+9] ; +0xb8, 0x18000aec8 shl edx, 8 ; +0xbc, 0x18000aecc add edx, eax ; +0xbf, 0x18000aecf movzx eax, byte ptr [rbp+2] ; +0xc1, 0x18000aed1 shl edx, 8 ; +0xc5, 0x18000aed5 add esi, edx ; +0xc8, 0x18000aed8 movzx edx, byte ptr [rbp+3] ; +0xca, 0x18000aeda add esi, ecx ; +0xce, 0x18000aede shl edx, 8 ; +0xd0, 0x18000aee0 movzx ecx, byte ptr [rbp+0] ; +0xd3, 0x18000aee3 add edx, eax ; +0xd7, 0x18000aee7 movzx eax, byte ptr [rbp+1] ; +0xd9, 0x18000aee9 add rbp, 0Ch ; +0xdd, 0x18000aeed shl edx, 8 ; +0xe1, 0x18000aef1 add edx, eax ; +0xe4, 0x18000aef4 mov eax, esi ; +0xe6, 0x18000aef6 shr eax, 0Dh ; +0xe8, 0x18000aef8 shl edx, 8 ; +0xeb, 0x18000aefb sub edx, esi ; +0xee, 0x18000aefe sub edx, r14d ; +0xf0, 0x18000af00 add edi, edx ; +0xf3, 0x18000af03 add edi, ecx ; +0xf5, 0x18000af05 xor edi, eax ; +0xf7, 0x18000af07 sub r14d, edi ; +0xf9, 0x18000af09 mov eax, edi ; +0xfc, 0x18000af0c sub r14d, esi ; +0xfe, 0x18000af0e shl eax, 8 ; +0x101, 0x18000af11 xor r14d, eax ; +0x104, 0x18000af14 sub esi, r14d ; +0x107, 0x18000af17 mov eax, r14d ; +0x10a, 0x18000af1a sub esi, edi ; +0x10d, 0x18000af1d shr eax, 0Dh ; +0x10f, 0x18000af1f xor esi, eax ; +0x112, 0x18000af22 sub edi, esi ; +0x114, 0x18000af24 mov eax, esi ; +0x116, 0x18000af26 shr eax, 0Ch ; +0x118, 0x18000af28 sub edi, r14d ; +0x11b, 0x18000af2b xor edi, eax ; +0x11e, 0x18000af2e sub r14d, edi ; +0x120, 0x18000af30 mov eax, edi ; +0x123, 0x18000af33 sub r14d, esi ; +0x125, 0x18000af35 shl eax, 10h ; +0x128, 0x18000af38 xor r14d, eax ; +0x12b, 0x18000af3b sub esi, r14d ; +0x12e, 0x18000af3e mov eax, r14d ; +0x131, 0x18000af41 sub esi, edi ; +0x134, 0x18000af44 shr eax, 5 ; +0x136, 0x18000af46 xor esi, eax ; +0x139, 0x18000af49 sub edi, esi ; +0x13b, 0x18000af4b mov eax, esi ; +0x13d, 0x18000af4d shr eax, 3 ; +0x13f, 0x18000af4f sub edi, r14d ; +0x142, 0x18000af52 xor edi, eax ; +0x145, 0x18000af55 sub r14d, esi ; +0x147, 0x18000af57 sub r14d, edi ; +0x14a, 0x18000af5a mov eax, edi ; +0x14d, 0x18000af5d shl eax, 0Ah ; +0x14f, 0x18000af5f xor r14d, eax ; +0x152, 0x18000af62 sub esi, r14d ; +0x155, 0x18000af65 mov eax, r14d ; +0x158, 0x18000af68 sub esi, edi ; +0x15b, 0x18000af6b shr eax, 0Fh ; +0x15d, 0x18000af6d xor esi, eax ; +0x160, 0x18000af70 sub r8, 1 ; +0x162, 0x18000af72 jnz loc_18000AE90 ; +0x166, 0x18000af76 cmp qword ptr [rbx+18h], 0Fh ; +0x16c, 0x18000af7c mov rcx, rbx ; +0x171, 0x18000af81 jbe short loc_18000AF89 ; +0x174, 0x18000af84 mov rcx, [rbx]; Str ; +0x176, 0x18000af86 call strlen ; +0x179, 0x18000af89 add esi, eax ; +0x17e, 0x18000af8e dec r15d; switch 11 cases ; +0x180, 0x18000af90 cmp r15d, 0Ah ; +0x183, 0x18000af93 ja short def_18000AFAB; jumptable 000000018000AFAB default case ; +0x187, 0x18000af97 lea rdx, cs:180000000h ; +0x189, 0x18000af99 mov ecx, ds:(jpt_18000AFAB - 180000000h)[rdx+r15*4] ; +0x190, 0x18000afa0 add rcx, rdx ; +0x198, 0x18000afa8 jmp rcx; switch jump ; +0x19b, 0x18000afab movzx eax, byte ptr [rbp+0Ah]; jumptable 000000018000AFAB case 11 ; +0x19d, 0x18000afad shl eax, 18h ; +0x1a1, 0x18000afb1 add esi, eax ; +0x1a4, 0x18000afb4 movzx eax, byte ptr [rbp+9]; jumptable 000000018000AFAB case 10 ; +0x1a6, 0x18000afb6 shl eax, 10h ; +0x1aa, 0x18000afba add esi, eax ; +0x1ad, 0x18000afbd movzx eax, byte ptr [rbp+8]; jumptable 000000018000AFAB case 9 ; +0x1af, 0x18000afbf shl eax, 8 ; +0x1b3, 0x18000afc3 add esi, eax ; +0x1b6, 0x18000afc6 movzx eax, byte ptr [rbp+7]; jumptable 000000018000AFAB case 8 ; +0x1b8, 0x18000afc8 shl eax, 18h ; +0x1bc, 0x18000afcc add r14d, eax ; +0x1bf, 0x18000afcf movzx eax, byte ptr [rbp+6]; jumptable 000000018000AFAB case 7 ; +0x1c2, 0x18000afd2 shl eax, 10h ; +0x1c6, 0x18000afd6 add r14d, eax ; +0x1c9, 0x18000afd9 movzx eax, byte ptr [rbp+5]; jumptable 000000018000AFAB case 6 ; +0x1cc, 0x18000afdc shl eax, 8 ; +0x1d0, 0x18000afe0 add r14d, eax ; +0x1d3, 0x18000afe3 movzx eax, byte ptr [rbp+4]; jumptable 000000018000AFAB case 5 ; +0x1d6, 0x18000afe6 add r14d, eax ; +0x1da, 0x18000afea movzx eax, byte ptr [rbp+3]; jumptable 000000018000AFAB case 4 ; +0x1dd, 0x18000afed shl eax, 18h ; +0x1e1, 0x18000aff1 add edi, eax ; +0x1e4, 0x18000aff4 movzx eax, byte ptr [rbp+2]; jumptable 000000018000AFAB case 3 ; +0x1e6, 0x18000aff6 shl eax, 10h ; +0x1ea, 0x18000affa add edi, eax ; +0x1ed, 0x18000affd movzx eax, byte ptr [rbp+1]; jumptable 000000018000AFAB case 2 ; +0x1ef, 0x18000afff shl eax, 8 ; +0x1f3, 0x18000b003 add edi, eax ; +0x1f6, 0x18000b006 movzx eax, byte ptr [rbp+0]; jumptable 000000018000AFAB case 1 ; +0x1f8, 0x18000b008 add edi, eax ; +0x1fc, 0x18000b00c mov r15, [rsp+38h+var_18]; jumptable 000000018000AFAB default case ; +0x1fe, 0x18000b00e sub edi, r14d ; +0x203, 0x18000b013 sub edi, esi ; +0x206, 0x18000b016 mov eax, esi ; +0x208, 0x18000b018 shr eax, 0Dh ; +0x20a, 0x18000b01a xor edi, eax ; +0x20d, 0x18000b01d sub r14d, edi ; +0x20f, 0x18000b01f mov eax, edi ; +0x212, 0x18000b022 sub r14d, esi ; +0x214, 0x18000b024 shl eax, 8 ; +0x217, 0x18000b027 xor r14d, eax ; +0x21a, 0x18000b02a sub esi, edi ; +0x21d, 0x18000b02d sub esi, r14d ; +0x21f, 0x18000b02f mov eax, r14d ; +0x222, 0x18000b032 shr eax, 0Dh ; +0x225, 0x18000b035 xor esi, eax ; +0x228, 0x18000b038 sub edi, esi ; +0x22a, 0x18000b03a mov eax, esi ; +0x22c, 0x18000b03c sub edi, r14d ; +0x22e, 0x18000b03e shr eax, 0Ch ; +0x231, 0x18000b041 xor edi, eax ; +0x234, 0x18000b044 sub r14d, edi ; +0x236, 0x18000b046 mov eax, edi ; +0x239, 0x18000b049 sub r14d, esi ; +0x23b, 0x18000b04b shl eax, 10h ; +0x23e, 0x18000b04e xor r14d, eax ; +0x241, 0x18000b051 sub esi, r14d ; +0x244, 0x18000b054 mov eax, r14d ; +0x247, 0x18000b057 sub esi, edi ; +0x24a, 0x18000b05a shr eax, 5 ; +0x24c, 0x18000b05c xor esi, eax ; +0x24f, 0x18000b05f sub edi, esi ; +0x251, 0x18000b061 mov eax, esi ; +0x253, 0x18000b063 sub edi, r14d ; +0x255, 0x18000b065 shr eax, 3 ; +0x258, 0x18000b068 xor edi, eax ; +0x25b, 0x18000b06b mov rax, [r13+38h] ; +0x25d, 0x18000b06d sub r14d, edi ; +0x261, 0x18000b071 mov ecx, edi ; +0x264, 0x18000b074 sub r14d, esi ; +0x266, 0x18000b076 shl ecx, 0Ah ; +0x269, 0x18000b079 xor ecx, r14d ; +0x26c, 0x18000b07c mov r14, [rax+110h] ; +0x26f, 0x18000b07f sub esi, ecx ; +0x276, 0x18000b086 shr rcx, 0Fh ; +0x278, 0x18000b088 sub esi, edi ; +0x27c, 0x18000b08c mov edx, esi ; +0x27e, 0x18000b08e xor rdx, rcx ; +0x280, 0x18000b090 mov ecx, [r14+8] ; +0x283, 0x18000b093 mov rax, [r14] ; +0x287, 0x18000b097 dec ecx ; +0x28a, 0x18000b09a and rdx, rcx ; +0x28c, 0x18000b09c add rdx, rdx ; +0x28f, 0x18000b09f mov rdi, [rax+rdx*8] ; +0x292, 0x18000b0a2 test rdi, rdi ; +0x296, 0x18000b0a6 jz short loc_18000B121 ; +0x299, 0x18000b0a9 mov r14, [r14+20h] ; +0x29b, 0x18000b0ab sub rdi, r14 ; +0x29f, 0x18000b0af jz short loc_18000B123 ; +0x2a2, 0x18000b0b2 mov rbp, [rbx+18h] ; +0x2a4, 0x18000b0b4 nop dword ptr [rax+rax+00000000h] ; +0x2a8, 0x18000b0b8 mov rcx, rbx ; +0x2b0, 0x18000b0c0 cmp rbp, 0Fh ; +0x2b3, 0x18000b0c3 jbe short loc_18000B0CC ; +0x2b7, 0x18000b0c7 mov rcx, [rbx]; Str ; +0x2b9, 0x18000b0c9 call strlen ; +0x2bc, 0x18000b0cc mov ecx, [rdi+140h] ; +0x2c1, 0x18000b0d1 cmp rcx, rax ; +0x2c7, 0x18000b0d7 jnz short loc_18000B10B ; +0x2ca, 0x18000b0da mov rcx, rbx; Str ; +0x2cc, 0x18000b0dc cmp rbp, 0Fh ; +0x2cf, 0x18000b0df jbe short loc_18000B0ED ; +0x2d3, 0x18000b0e3 mov rsi, [rbx] ; +0x2d5, 0x18000b0e5 mov rcx, rsi ; +0x2d8, 0x18000b0e8 jmp short loc_18000B0F0 ; +0x2db, 0x18000b0eb mov rsi, rbx ; +0x2dd, 0x18000b0ed call strlen ; +0x2e0, 0x18000b0f0 mov rcx, [rdi+138h]; Buf1 ; +0x2e5, 0x18000b0f5 mov r8, rax; Size ; +0x2ec, 0x18000b0fc mov rdx, rsi; Buf2 ; +0x2ef, 0x18000b0ff call memcmp ; +0x2f2, 0x18000b102 test eax, eax ; +0x2f7, 0x18000b107 jz short loc_18000B123 ; +0x2f9, 0x18000b109 mov rax, [rdi+130h] ; +0x2fb, 0x18000b10b mov rdi, rax ; +0x302, 0x18000b112 test rax, rax ; +0x305, 0x18000b115 jz short loc_18000B121 ; +0x308, 0x18000b118 sub rdi, r14 ; +0x30a, 0x18000b11a jnz short loc_18000B0C0 ; +0x30d, 0x18000b11d jmp short loc_18000B123 ; +0x30f, 0x18000b11f xor edi, edi ; +0x311, 0x18000b121 mov r14, [rsp+38h+arg_18] ; +0x313, 0x18000b123 mov rsi, [rsp+38h+arg_8] ; +0x318, 0x18000b128 mov rbp, [rsp+38h+arg_0] ; +0x31d, 0x18000b12d mov rdx, rdi; struct cocos2d::CCDictElement * ; +0x322, 0x18000b132 mov rcx, r13; this ; +0x325, 0x18000b135 call ?removeObjectForElememt@CCDictionary@cocos2d@@QEAAXPEAVCCDictElement@2@@Z; cocos2d::CCDictionary::removeObjectForElememt(cocos2d::CCDictElement *) ; +0x328, 0x18000b138 mov rdi, [rsp+38h+arg_10] ; +0x32d, 0x18000b13d add rsp, 28h ; +0x332, 0x18000b142 pop r13 ; +0x336, 0x18000b146 pop rbx ; +0x338, 0x18000b148 retn ; +0x339, 0x18000b149 align 4 ; +0x33a, 0x18000b14a dd offset loc_18000B008 - 180000000h; jump table for switch statement ; +0x33c, 0x18000b14c