; ; DS_Dictionary::setStringArrayForKey from 0x18001ffa0 to 0x1800201c3 (547 bytes) ; ; 3 xrefs: ; > DS_Dictionary::setStringArrayForKey @ 0x18001ff93 ; > @ 0x18014cf68 ; > @ 0x1801b8de8 ; ; 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:28 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x18001ffa0 push rbp ; +0x5, 0x18001ffa5 push rsi ; +0x6, 0x18001ffa6 push rdi ; +0x7, 0x18001ffa7 push r14 ; +0x8, 0x18001ffa8 push r15 ; +0xa, 0x18001ffaa sub rsp, 30h ; +0xc, 0x18001ffac movzx ebx, r9b ; +0x10, 0x18001ffb0 mov r14, r8 ; +0x14, 0x18001ffb4 mov rbp, rdx ; +0x17, 0x18001ffb7 mov rdi, rcx ; +0x1a, 0x18001ffba call ?removeKey@DS_Dictionary@@QEAAXPEBD@Z; DS_Dictionary::removeKey(char const *) ; +0x1d, 0x18001ffbd lea rcx, [rsp+58h+arg_10]; this ; +0x22, 0x18001ffc2 call ??0CCThread@cocos2d@@QEAA@XZ; cocos2d::CCThread::CCThread(void) ; +0x27, 0x18001ffc7 lea rcx, [rsp+58h+var_38]; this ; +0x2c, 0x18001ffcc call ??0CCThread@cocos2d@@QEAA@XZ; cocos2d::CCThread::CCThread(void) ; +0x31, 0x18001ffd1 lea r15, aKey; "key" ; +0x36, 0x18001ffd6 lea rsi, aK; "k" ; +0x3d, 0x18001ffdd test bl, bl ; +0x44, 0x18001ffe4 jz loc_180020071 ; +0x46, 0x18001ffe6 cmp byte ptr [rdi+0E8h], 0 ; +0x4c, 0x18001ffec lea rdx, [rsp+58h+arg_0] ; +0x53, 0x18001fff3 mov rcx, [rdi+0D8h] ; +0x58, 0x18001fff8 mov r8, rsi ; +0x5f, 0x18001ffff cmovnz r8, r15 ; +0x62, 0x180020002 sub rcx, 8 ; +0x66, 0x180020006 call sub_180082A40 ; +0x6a, 0x18002000a lea rcx, [rsp+58h+arg_0] ; +0x6f, 0x18002000f call sub_1800823F0 ; +0x74, 0x180020014 test rax, rax ; +0x79, 0x180020019 jz short loc_180020071 ; +0x7c, 0x18002001c xchg ax, ax ; +0x7e, 0x18002001e lea rcx, [rsp+58h+arg_0] ; +0x80, 0x180020020 call sub_180082AC0 ; +0x85, 0x180020025 mov rcx, rax; String1 ; +0x8a, 0x18002002a mov rdx, rbp; String2 ; +0x8d, 0x18002002d call sub_180018D00 ; +0x90, 0x180020030 lea rdx, [rsp+58h+var_30] ; +0x95, 0x180020035 test eax, eax ; +0x9a, 0x18002003a jz loc_18002019B ; +0x9c, 0x18002003c cmp byte ptr [rdi+0E8h], 0 ; +0xa2, 0x180020042 lea rcx, [rsp+58h+arg_0] ; +0xa9, 0x180020049 mov r8, rsi ; +0xae, 0x18002004e cmovnz r8, r15 ; +0xb1, 0x180020051 call sub_180084A40 ; +0xb5, 0x180020055 mov rcx, [rax] ; +0xba, 0x18002005a mov [rsp+58h+arg_0], rcx ; +0xbd, 0x18002005d lea rcx, [rsp+58h+arg_0] ; +0xc2, 0x180020062 call sub_1800823F0 ; +0xc7, 0x180020067 test rax, rax ; +0xcc, 0x18002006c jnz short loc_180020020 ; +0xcf, 0x18002006f cmp byte ptr [rdi+0E8h], 0 ; +0xd1, 0x180020071 lea rdx, [rsp+58h+var_30] ; +0xd8, 0x180020078 mov rcx, [rdi+0D8h] ; +0xdd, 0x18002007d cmovnz rsi, r15 ; +0xe4, 0x180020084 sub rcx, 8 ; +0xe8, 0x180020088 mov r8, rsi ; +0xec, 0x18002008c call sub_180082790 ; +0xef, 0x18002008f mov rax, [rax] ; +0xf4, 0x180020094 lea rdx, [rsp+58h+arg_0] ; +0xf7, 0x180020097 mov r8d, 3 ; +0xfc, 0x18002009c mov [rsp+58h+arg_10], rax ; +0x102, 0x1800200a2 lea rcx, [rsp+58h+arg_10] ; +0x107, 0x1800200a7 call sub_180082820 ; +0x10c, 0x1800200ac mov rcx, rax ; +0x111, 0x1800200b1 mov rdx, rbp ; +0x114, 0x1800200b4 call sub_180088520 ; +0x117, 0x1800200b7 cmp byte ptr [rdi+0E8h], 0 ; +0x11c, 0x1800200bc lea rax, aArray_1; "array" ; +0x123, 0x1800200c3 mov rcx, [rdi+0D8h] ; +0x12a, 0x1800200ca lea r8, aA; "a" ; +0x131, 0x1800200d1 cmovnz r8, rax ; +0x138, 0x1800200d8 lea r9, [rsp+58h+arg_10] ; +0x13c, 0x1800200dc sub rcx, 8 ; +0x141, 0x1800200e1 lea rdx, [rsp+58h+arg_0] ; +0x145, 0x1800200e5 call sub_180083ED0 ; +0x14a, 0x1800200ea mov rdx, [r14] ; +0x14f, 0x1800200ef xor ebp, ebp ; +0x152, 0x1800200f2 mov rcx, [rax] ; +0x154, 0x1800200f4 mov rax, [r14+8] ; +0x157, 0x1800200f7 sub rax, rdx ; +0x15b, 0x1800200fb mov [rsp+58h+var_38], rcx ; +0x15e, 0x1800200fe sar rax, 5 ; +0x163, 0x180020103 test rax, rax ; +0x167, 0x180020107 jz short loc_18002018A ; +0x16a, 0x18002010a mov esi, ebp ; +0x16c, 0x18002010c lea r15, aString; "string" ; +0x16e, 0x18002010e nop word ptr [rax+rax+00000000h] ; +0x175, 0x180020115 cmp qword ptr [rsi+rdx+18h], 0Fh ; +0x180, 0x180020120 lea rbx, [rsi+rdx] ; +0x186, 0x180020126 jbe short loc_18002012F ; +0x18a, 0x18002012a mov rbx, [rbx] ; +0x18c, 0x18002012c cmp byte ptr [rdi+0E8h], 0 ; +0x18f, 0x18002012f lea r8, aS; "s" ; +0x196, 0x180020136 lea rdx, [rsp+58h+arg_0] ; +0x19d, 0x18002013d cmovnz r8, r15 ; +0x1a2, 0x180020142 lea rcx, [rsp+58h+var_38] ; +0x1a6, 0x180020146 call sub_180082790 ; +0x1ab, 0x18002014b mov rcx, rax ; +0x1b0, 0x180020150 lea rdx, [rsp+58h+var_30] ; +0x1b3, 0x180020153 mov r8d, 3 ; +0x1b8, 0x180020158 call sub_180082820 ; +0x1be, 0x18002015e mov rcx, rax ; +0x1c3, 0x180020163 mov rdx, rbx ; +0x1c6, 0x180020166 call sub_180088520 ; +0x1c9, 0x180020169 mov rdx, [r14] ; +0x1ce, 0x18002016e inc ebp ; +0x1d1, 0x180020171 mov rcx, [r14+8] ; +0x1d3, 0x180020173 add rsi, 20h ; ' ' ; +0x1d7, 0x180020177 sub rcx, rdx ; +0x1db, 0x18002017b movsxd rax, ebp ; +0x1de, 0x18002017e sar rcx, 5 ; +0x1e1, 0x180020181 cmp rax, rcx ; +0x1e5, 0x180020185 jb short loc_180020120 ; +0x1e8, 0x180020188 mov rbx, [rsp+58h+arg_8] ; +0x1ea, 0x18002018a add rsp, 30h ; +0x1ef, 0x18002018f pop r15 ; +0x1f3, 0x180020193 pop r14 ; +0x1f5, 0x180020195 pop rdi ; +0x1f7, 0x180020197 pop rsi ; +0x1f8, 0x180020198 pop rbp ; +0x1f9, 0x180020199 retn ; +0x1fa, 0x18002019a cmp byte ptr [rdi+0E8h], 0 ; +0x1fb, 0x18002019b lea r9, [rsp+58h+arg_0] ; +0x202, 0x1800201a2 mov rcx, [rdi+0D8h] ; +0x207, 0x1800201a7 cmovnz rsi, r15 ; +0x20e, 0x1800201ae sub rcx, 8 ; +0x212, 0x1800201b2 mov r8, rsi ; +0x216, 0x1800201b6 call sub_180084060 ; +0x219, 0x1800201b9 jmp loc_180020094 ; +0x21e, 0x1800201be