; ; DS_Dictionary::getRectArrayForKey from 0x18001ad60 to 0x18001ae97 (311 bytes) ; ; 3 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801aea1c ; > @ 0x1801aea28 ; ; 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_0], rbx ; +0x0, 0x18001ad60 mov [rsp+arg_10], rbp ; +0x5, 0x18001ad65 mov [rsp+arg_18], rsi ; +0xa, 0x18001ad6a mov [rsp+arg_8], rdx ; +0xf, 0x18001ad6f push rdi ; +0x14, 0x18001ad74 push r14 ; +0x15, 0x18001ad75 push r15 ; +0x17, 0x18001ad77 sub rsp, 50h ; +0x19, 0x18001ad79 mov rbx, rdx ; +0x1d, 0x18001ad7d mov r15, rcx ; +0x20, 0x18001ad80 xor esi, esi ; +0x23, 0x18001ad83 mov [rsp+68h+var_48], esi ; +0x25, 0x18001ad85 lea rdx, [rsp+68h+Block] ; +0x29, 0x18001ad89 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 *) ; +0x2e, 0x18001ad8e nop ; +0x33, 0x18001ad93 mov [rbx], rsi ; +0x34, 0x18001ad94 mov [rbx+8], rsi ; +0x37, 0x18001ad97 mov [rbx+10h], rsi ; +0x3b, 0x18001ad9b mov [rsp+68h+var_48], 1 ; +0x3f, 0x18001ad9f mov r14, [rsp+68h+var_28] ; +0x47, 0x18001ada7 mov rbp, [rsp+68h+Block] ; +0x4c, 0x18001adac sub r14, rbp ; +0x51, 0x18001adb1 sar r14, 5 ; +0x54, 0x18001adb4 test r14, r14 ; +0x58, 0x18001adb8 jz short loc_18001AE26 ; +0x5b, 0x18001adbb mov edi, esi ; +0x5d, 0x18001adbd nop ; +0x5f, 0x18001adbf lea rcx, [rsp+68h+var_44]; this ; +0x60, 0x18001adc0 call ??0CCRect@cocos2d@@QEAA@XZ; cocos2d::CCRect::CCRect(void) ; +0x65, 0x18001adc5 mov rcx, [rbx+8]; this ; +0x6a, 0x18001adca cmp rcx, [rbx+10h] ; +0x6e, 0x18001adce jz short loc_18001ADE3 ; +0x72, 0x18001add2 mov rdx, rax; struct cocos2d::CCRect * ; +0x74, 0x18001add4 call ??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x77, 0x18001add7 add qword ptr [rbx+8], 10h ; +0x7c, 0x18001addc jmp short loc_18001ADF1 ; +0x81, 0x18001ade1 mov r8, rax ; +0x83, 0x18001ade3 mov rdx, rcx ; +0x86, 0x18001ade6 mov rcx, rbx ; +0x89, 0x18001ade9 call sub_1800160D0 ; +0x8c, 0x18001adec mov r8, [rbx+8] ; +0x91, 0x18001adf1 sub r8, 10h ; +0x95, 0x18001adf5 shl rdi, 5 ; +0x99, 0x18001adf9 lea rdx, [rdi+rbp] ; +0x9d, 0x18001adfd mov rcx, r15 ; +0xa1, 0x18001ae01 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 &) ; +0xa4, 0x18001ae04 test al, al ; +0xa9, 0x18001ae09 jz short loc_18001AE19 ; +0xab, 0x18001ae0b inc esi ; +0xad, 0x18001ae0d movsxd rdi, esi ; +0xaf, 0x18001ae0f cmp rdi, r14 ; +0xb2, 0x18001ae12 jb short loc_18001ADC0 ; +0xb5, 0x18001ae15 jmp short loc_18001AE26 ; +0xb7, 0x18001ae17 mov rax, [rbx] ; +0xb9, 0x18001ae19 cmp rax, [rbx+8] ; +0xbc, 0x18001ae1c jz short loc_18001AE26 ; +0xc0, 0x18001ae20 mov [rbx+8], rax ; +0xc2, 0x18001ae22 test rbp, rbp ; +0xc6, 0x18001ae26 jz short loc_18001AE79 ; +0xc9, 0x18001ae29 lea r8, [rsp+68h+Block] ; +0xcb, 0x18001ae2b mov rdx, [rsp+68h+var_28] ; +0xd0, 0x18001ae30 mov rcx, rbp ; +0xd5, 0x18001ae35 call sub_18000CF70 ; +0xd8, 0x18001ae38 mov rdx, [rsp+68h+var_20] ; +0xdd, 0x18001ae3d sub rdx, rbp ; +0xe2, 0x18001ae42 and rdx, 0FFFFFFFFFFFFFFE0h ; +0xe5, 0x18001ae45 mov rax, rbp ; +0xe9, 0x18001ae49 cmp rdx, 1000h ; +0xec, 0x18001ae4c jb short loc_18001AE71 ; +0xf3, 0x18001ae53 add rdx, 27h ; ''' ; +0xf5, 0x18001ae55 mov rbp, [rbp-8] ; +0xf9, 0x18001ae59 sub rax, rbp ; +0xfd, 0x18001ae5d add rax, 0FFFFFFFFFFFFFFF8h ; +0x100, 0x18001ae60 cmp rax, 1Fh ; +0x104, 0x18001ae64 jbe short loc_18001AE71 ; +0x108, 0x18001ae68 call cs:_invalid_parameter_noinfo_noreturn ; +0x10a, 0x18001ae6a db 0CCh ; +0x110, 0x18001ae70 mov rcx, rbp; Block ; +0x111, 0x18001ae71 call j_j_free_0 ; +0x114, 0x18001ae74 mov rax, rbx ; +0x119, 0x18001ae79 lea r11, [rsp+68h+var_18] ; +0x11c, 0x18001ae7c mov rbx, [r11+20h] ; +0x121, 0x18001ae81 mov rbp, [r11+30h] ; +0x125, 0x18001ae85 mov rsi, [r11+38h] ; +0x129, 0x18001ae89 mov rsp, r11 ; +0x12d, 0x18001ae8d pop r15 ; +0x130, 0x18001ae90 pop r14 ; +0x132, 0x18001ae92 pop rdi ; +0x134, 0x18001ae94 retn ; +0x135, 0x18001ae95 db 0CCh ; +0x136, 0x18001ae96