; ; DS_Dictionary::getRectArrayForKey from 0x18001aaf0 to 0x18001ac51 (353 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801b8a7c ; ; 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:26 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x18001aaf0 mov [rsp+arg_10], rbp ; +0x5, 0x18001aaf5 mov [rsp+arg_18], rsi ; +0xa, 0x18001aafa mov [rsp+arg_8], rdx ; +0xf, 0x18001aaff push rdi ; +0x14, 0x18001ab04 push r12 ; +0x15, 0x18001ab05 push r13 ; +0x17, 0x18001ab07 push r14 ; +0x19, 0x18001ab09 push r15 ; +0x1b, 0x18001ab0b sub rsp, 60h ; +0x1d, 0x18001ab0d mov rdi, rdx ; +0x21, 0x18001ab11 mov r12, rcx ; +0x24, 0x18001ab14 xor r13d, r13d ; +0x27, 0x18001ab17 mov [rsp+88h+var_58], r13d ; +0x2a, 0x18001ab1a lea rdx, [rsp+88h+Block] ; +0x2f, 0x18001ab1f call ?getStringArrayForKey@DS_Dictionary@@QEAA?AV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@PEBD@Z; DS_Dictionary::getStringArrayForKey(char const *) ; +0x34, 0x18001ab24 nop ; +0x39, 0x18001ab29 mov [rdi], r13 ; +0x3a, 0x18001ab2a mov [rdi+8], r13 ; +0x3d, 0x18001ab2d mov [rdi+10h], r13 ; +0x41, 0x18001ab31 mov [rsp+88h+var_58], 1 ; +0x45, 0x18001ab35 mov esi, r13d ; +0x4d, 0x18001ab3d mov r14, [rsp+88h+var_38] ; +0x50, 0x18001ab40 mov r15, r14 ; +0x55, 0x18001ab45 mov rbp, [rsp+88h+Block] ; +0x58, 0x18001ab48 sub r15, rbp ; +0x5d, 0x18001ab4d sar r15, 5 ; +0x60, 0x18001ab50 test r15, r15 ; +0x64, 0x18001ab54 jz short loc_18001ABC6 ; +0x67, 0x18001ab57 mov ebx, r13d ; +0x69, 0x18001ab59 nop dword ptr [rax+00h] ; +0x6c, 0x18001ab5c lea rcx, [rsp+88h+var_54]; this ; +0x70, 0x18001ab60 call ??0CCRect@cocos2d@@QEAA@XZ; cocos2d::CCRect::CCRect(void) ; +0x75, 0x18001ab65 mov rcx, [rdi+8]; this ; +0x7a, 0x18001ab6a cmp rcx, [rdi+10h] ; +0x7e, 0x18001ab6e jz short loc_18001AB83 ; +0x82, 0x18001ab72 mov rdx, rax; struct cocos2d::CCRect * ; +0x84, 0x18001ab74 call ??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x87, 0x18001ab77 add qword ptr [rdi+8], 10h ; +0x8c, 0x18001ab7c jmp short loc_18001AB91 ; +0x91, 0x18001ab81 mov r8, rax ; +0x93, 0x18001ab83 mov rdx, rcx ; +0x96, 0x18001ab86 mov rcx, rdi ; +0x99, 0x18001ab89 call sub_180015F00 ; +0x9c, 0x18001ab8c mov r8, [rdi+8] ; +0xa1, 0x18001ab91 sub r8, 10h ; +0xa5, 0x18001ab95 shl rbx, 5 ; +0xa9, 0x18001ab99 lea rdx, [rbx+rbp] ; +0xad, 0x18001ab9d mov rcx, r12 ; +0xb1, 0x18001aba1 call ?rectFromString@DS_Dictionary@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAVCCRect@cocos2d@@@Z; DS_Dictionary::rectFromString(std::string const &,cocos2d::CCRect &) ; +0xb4, 0x18001aba4 test al, al ; +0xb9, 0x18001aba9 jz short loc_18001ABB9 ; +0xbb, 0x18001abab inc esi ; +0xbd, 0x18001abad movsxd rbx, esi ; +0xbf, 0x18001abaf cmp rbx, r15 ; +0xc2, 0x18001abb2 jb short loc_18001AB60 ; +0xc5, 0x18001abb5 jmp short loc_18001ABC6 ; +0xc7, 0x18001abb7 mov rax, [rdi] ; +0xc9, 0x18001abb9 cmp rax, [rdi+8] ; +0xcc, 0x18001abbc jz short loc_18001ABC6 ; +0xd0, 0x18001abc0 mov [rdi+8], rax ; +0xd2, 0x18001abc2 test rbp, rbp ; +0xd6, 0x18001abc6 jz short loc_18001AC2F ; +0xd9, 0x18001abc9 mov rbx, rbp ; +0xdb, 0x18001abcb cmp rbp, r14 ; +0xde, 0x18001abce jz short loc_18001ABE4 ; +0xe1, 0x18001abd1 mov rcx, rbx ; +0xe3, 0x18001abd3 call sub_180005C70 ; +0xe6, 0x18001abd6 add rbx, 20h ; ' ' ; +0xeb, 0x18001abdb cmp rbx, r14 ; +0xef, 0x18001abdf jnz short loc_18001ABD3 ; +0xf2, 0x18001abe2 mov rdx, [rsp+88h+var_30] ; +0xf4, 0x18001abe4 sub rdx, rbp ; +0xf9, 0x18001abe9 and rdx, 0FFFFFFFFFFFFFFE0h ; +0xfc, 0x18001abec mov rax, rbp ; +0x100, 0x18001abf0 cmp rdx, 1000h ; +0x103, 0x18001abf3 jb short loc_18001AC27 ; +0x10a, 0x18001abfa add rdx, 27h ; ''' ; +0x10c, 0x18001abfc mov rbp, [rbp-8] ; +0x110, 0x18001ac00 sub rax, rbp ; +0x114, 0x18001ac04 sub rax, 8 ; +0x117, 0x18001ac07 cmp rax, 1Fh ; +0x11b, 0x18001ac0b jbe short loc_18001AC27 ; +0x11f, 0x18001ac0f mov [rsp+88h+Reserved], r13; Reserved ; +0x121, 0x18001ac11 xor r9d, r9d; LineNo ; +0x126, 0x18001ac16 xor r8d, r8d; FileName ; +0x129, 0x18001ac19 xor edx, edx; FunctionName ; +0x12c, 0x18001ac1c xor ecx, ecx; Expression ; +0x12e, 0x18001ac1e call cs:_invoke_watson ; +0x130, 0x18001ac20 db 0CCh ; +0x136, 0x18001ac26 mov rcx, rbp; Block ; +0x137, 0x18001ac27 call j_j_free_0 ; +0x13a, 0x18001ac2a mov rax, rdi ; +0x13f, 0x18001ac2f lea r11, [rsp+88h+var_28] ; +0x142, 0x18001ac32 mov rbx, [r11+30h] ; +0x147, 0x18001ac37 mov rbp, [r11+40h] ; +0x14b, 0x18001ac3b mov rsi, [r11+48h] ; +0x14f, 0x18001ac3f mov rsp, r11 ; +0x153, 0x18001ac43 pop r15 ; +0x156, 0x18001ac46 pop r14 ; +0x158, 0x18001ac48 pop r13 ; +0x15a, 0x18001ac4a pop r12 ; +0x15c, 0x18001ac4c pop rdi ; +0x15e, 0x18001ac4e retn ; +0x15f, 0x18001ac4f db 0CCh ; +0x160, 0x18001ac50