; ; DS_Dictionary::vec2FromString from 0x180022060 to 0x18002220e (430 bytes) ; ; 3 xrefs: ; > DS_Dictionary::getVec2ArrayForKey @ 0x18001b6f7 ; > @ 0x18014cf68 ; > @ 0x1801b8f44 ; ; 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 ; push rbx ; +0x0, 0x180022060 push rsi ; +0x2, 0x180022062 push rdi ; +0x3, 0x180022063 sub rsp, 90h ; +0x4, 0x180022064 movaps [rsp+0A8h+var_28], xmm6 ; +0xb, 0x18002206b mov rax, cs:__security_cookie ; +0x13, 0x180022073 xor rax, rsp ; +0x1a, 0x18002207a mov [rsp+0A8h+var_38], rax ; +0x1d, 0x18002207d mov rdi, r8 ; +0x22, 0x180022082 mov rbx, rcx ; +0x25, 0x180022085 xorps xmm0, xmm0 ; +0x28, 0x180022088 movdqu xmmword ptr [rsp+0A8h+var_78], xmm0 ; +0x2b, 0x18002208b mov [rsp+0A8h+var_68], 0 ; +0x31, 0x180022091 mov r8, rdx ; +0x3a, 0x18002209a lea rdx, [rsp+0A8h+Block] ; +0x3d, 0x18002209d call ?cleanStringWhiteSpace@DS_Dictionary@@AEAA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV23@@Z; DS_Dictionary::cleanStringWhiteSpace(std::string const &) ; +0x42, 0x1800220a2 nop ; +0x47, 0x1800220a7 lea r8, [rsp+0A8h+var_78] ; +0x48, 0x1800220a8 mov rdx, rax ; +0x4d, 0x1800220ad mov rcx, rbx ; +0x50, 0x1800220b0 call ?splitWithForm@DS_Dictionary@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAV?$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@@3@@Z; DS_Dictionary::splitWithForm(std::string const &,std::vector &) ; +0x53, 0x1800220b3 movzx ebx, al ; +0x58, 0x1800220b8 mov rdx, [rsp+0A8h+var_40] ; +0x5b, 0x1800220bb cmp rdx, 0Fh ; +0x60, 0x1800220c0 jbe short loc_180022111 ; +0x64, 0x1800220c4 inc rdx ; +0x66, 0x1800220c6 mov r8, [rsp+0A8h+Block] ; +0x69, 0x1800220c9 mov rcx, r8 ; +0x6e, 0x1800220ce cmp rdx, 1000h ; +0x71, 0x1800220d1 jb short loc_180022109 ; +0x78, 0x1800220d8 add rdx, 27h ; ''' ; +0x7a, 0x1800220da mov r8, [r8-8] ; +0x7e, 0x1800220de sub rcx, r8 ; +0x82, 0x1800220e2 sub rcx, 8 ; +0x85, 0x1800220e5 cmp rcx, 1Fh ; +0x89, 0x1800220e9 jbe short loc_180022109 ; +0x8d, 0x1800220ed mov [rsp+0A8h+Reserved], 0; Reserved ; +0x8f, 0x1800220ef xor r9d, r9d; LineNo ; +0x98, 0x1800220f8 xor r8d, r8d; FileName ; +0x9b, 0x1800220fb xor edx, edx; FunctionName ; +0x9e, 0x1800220fe xor ecx, ecx; Expression ; +0xa0, 0x180022100 call cs:_invoke_watson ; +0xa2, 0x180022102 db 0CCh ; +0xa8, 0x180022108 mov rcx, r8; Block ; +0xa9, 0x180022109 call j_j_free_0 ; +0xac, 0x18002210c test bl, bl ; +0xb1, 0x180022111 jnz short loc_18002211A ; +0xb3, 0x180022113 xor sil, sil ; +0xb5, 0x180022115 jmp short loc_180022171 ; +0xb8, 0x180022118 mov rcx, [rsp+0A8h+var_78] ; +0xba, 0x18002211a cmp qword ptr [rcx+18h], 0Fh ; +0xbf, 0x18002211f jbe short loc_180022129 ; +0xc4, 0x180022124 mov rcx, [rcx]; String ; +0xc6, 0x180022126 call cs:atof ; +0xc9, 0x180022129 xorps xmm6, xmm6 ; +0xcf, 0x18002212f cvtsd2ss xmm6, xmm0 ; +0xd2, 0x180022132 mov rcx, [rsp+0A8h+var_78] ; +0xd6, 0x180022136 add rcx, 20h ; ' ' ; +0xdb, 0x18002213b cmp qword ptr [rcx+18h], 0Fh ; +0xdf, 0x18002213f jbe short loc_180022149 ; +0xe4, 0x180022144 mov rcx, [rcx]; String ; +0xe6, 0x180022146 call cs:atof ; +0xe9, 0x180022149 xorps xmm2, xmm2 ; +0xef, 0x18002214f cvtsd2ss xmm2, xmm0 ; +0xf2, 0x180022152 movaps xmm1, xmm6 ; +0xf6, 0x180022156 lea rcx, [rsp+0A8h+var_60] ; +0xf9, 0x180022159 call kmVec2Fill ; +0xfe, 0x18002215e mov rdx, rax ; +0x103, 0x180022163 mov rcx, rdi ; +0x106, 0x180022166 call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x109, 0x180022169 mov sil, 1 ; +0x10e, 0x18002216e mov rbx, [rsp+0A8h+var_78] ; +0x111, 0x180022171 test rbx, rbx ; +0x116, 0x180022176 jz short loc_1800221EA ; +0x119, 0x180022179 mov rdi, [rsp+0A8h+var_78+8] ; +0x11b, 0x18002217b cmp rbx, rdi ; +0x120, 0x180022180 jz short loc_18002219B ; +0x123, 0x180022183 mov rcx, rbx ; +0x125, 0x180022185 call sub_180005C70 ; +0x128, 0x180022188 add rbx, 20h ; ' ' ; +0x12d, 0x18002218d cmp rbx, rdi ; +0x131, 0x180022191 jnz short loc_180022185 ; +0x134, 0x180022194 mov rbx, [rsp+0A8h+var_78] ; +0x136, 0x180022196 mov rdx, [rsp+0A8h+var_68] ; +0x13b, 0x18002219b sub rdx, rbx ; +0x140, 0x1800221a0 and rdx, 0FFFFFFFFFFFFFFE0h ; +0x143, 0x1800221a3 mov rax, rbx ; +0x147, 0x1800221a7 cmp rdx, 1000h ; +0x14a, 0x1800221aa jb short loc_1800221E2 ; +0x151, 0x1800221b1 add rdx, 27h ; ''' ; +0x153, 0x1800221b3 mov rbx, [rbx-8] ; +0x157, 0x1800221b7 sub rax, rbx ; +0x15b, 0x1800221bb sub rax, 8 ; +0x15e, 0x1800221be cmp rax, 1Fh ; +0x162, 0x1800221c2 jbe short loc_1800221E2 ; +0x166, 0x1800221c6 mov [rsp+0A8h+Reserved], 0; Reserved ; +0x168, 0x1800221c8 xor r9d, r9d; LineNo ; +0x171, 0x1800221d1 xor r8d, r8d; FileName ; +0x174, 0x1800221d4 xor edx, edx; FunctionName ; +0x177, 0x1800221d7 xor ecx, ecx; Expression ; +0x179, 0x1800221d9 call cs:_invoke_watson ; +0x17b, 0x1800221db align 2 ; +0x181, 0x1800221e1 mov rcx, rbx; Block ; +0x182, 0x1800221e2 call j_j_free_0 ; +0x185, 0x1800221e5 movzx eax, sil ; +0x18a, 0x1800221ea mov rcx, [rsp+0A8h+var_38] ; +0x18e, 0x1800221ee xor rcx, rsp; StackCookie ; +0x193, 0x1800221f3 call __security_check_cookie ; +0x196, 0x1800221f6 movaps xmm6, [rsp+0A8h+var_28] ; +0x19b, 0x1800221fb add rsp, 90h ; +0x1a3, 0x180022203 pop rdi ; +0x1aa, 0x18002220a pop rsi ; +0x1ab, 0x18002220b pop rbx ; +0x1ac, 0x18002220c retn ; +0x1ad, 0x18002220d