; ; DS_Dictionary::getVec2ForKey from 0x18001b870 to 0x18001b9c9 (345 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801aea70 ; ; 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_10], rbx ; +0x0, 0x18001b870 push rbp ; +0x5, 0x18001b875 push rsi ; +0x6, 0x18001b876 push rdi ; +0x7, 0x18001b877 push r14 ; +0x8, 0x18001b878 push r15 ; +0xa, 0x18001b87a sub rsp, 40h ; +0xc, 0x18001b87c mov rbp, r8 ; +0x10, 0x18001b880 mov rdi, rdx ; +0x13, 0x18001b883 mov rsi, rcx ; +0x16, 0x18001b886 lea r15, aKey; "key" ; +0x19, 0x18001b889 lea r8, aK; "k" ; +0x20, 0x18001b890 cmp byte ptr [rcx+0E8h], 0 ; +0x27, 0x18001b897 cmovnz r8, r15 ; +0x2e, 0x18001b89e mov rcx, [rcx+0D8h] ; +0x32, 0x18001b8a2 sub rcx, 8 ; +0x39, 0x18001b8a9 lea rdx, [rsp+68h+var_48] ; +0x3d, 0x18001b8ad call sub_18007FB10 ; +0x42, 0x18001b8b2 lea rcx, [rsp+68h+var_48] ; +0x47, 0x18001b8b7 call sub_18007F4E0 ; +0x4c, 0x18001b8bc test rax, rax ; +0x51, 0x18001b8c1 jz loc_18001B975 ; +0x54, 0x18001b8c4 lea r14, aString; "string" ; +0x5a, 0x18001b8ca lea rcx, [rsp+68h+var_48] ; +0x61, 0x18001b8d1 call sub_18007FB70 ; +0x66, 0x18001b8d6 mov r8, rbp ; +0x6b, 0x18001b8db sub r8, rax ; +0x6e, 0x18001b8de movzx edx, byte ptr [rax] ; +0x71, 0x18001b8e1 movzx ecx, byte ptr [rax+r8] ; +0x74, 0x18001b8e4 sub edx, ecx ; +0x79, 0x18001b8e9 jnz short loc_18001B8F4 ; +0x7b, 0x18001b8eb inc rax ; +0x7d, 0x18001b8ed test ecx, ecx ; +0x80, 0x18001b8f0 jnz short loc_18001B8E1 ; +0x82, 0x18001b8f2 test edx, edx ; +0x84, 0x18001b8f4 jnz short loc_18001B939 ; +0x86, 0x18001b8f6 lea r8, aS; "s" ; +0x88, 0x18001b8f8 cmp [rsi+0E8h], dl ; +0x8f, 0x18001b8ff cmovnz r8, r14 ; +0x95, 0x18001b905 lea rdx, [rsp+68h+var_30] ; +0x99, 0x18001b909 lea rcx, [rsp+68h+var_48] ; +0x9e, 0x18001b90e call sub_180081A50 ; +0xa3, 0x18001b913 mov rbx, rax ; +0xa8, 0x18001b918 lea rdx, [rsp+68h+var_40] ; +0xab, 0x18001b91b lea rcx, [rsp+68h+var_48] ; +0xb0, 0x18001b920 call sub_180081AB0 ; +0xb5, 0x18001b925 mov rcx, rax ; +0xba, 0x18001b92a mov rdx, rbx ; +0xbd, 0x18001b92d call ??$?8$$CBU_EXCEPTION_RECORD@@$$CBU0@@std@@YA_NAEBV?$shared_ptr@$$CBU_EXCEPTION_RECORD@@@0@0@Z; std::operator==<_EXCEPTION_RECORD const,_EXCEPTION_RECORD const>(std::shared_ptr<_EXCEPTION_RECORD const> const &,std::shared_ptr<_EXCEPTION_RECORD const> const &) ; +0xc0, 0x18001b930 test al, al ; +0xc5, 0x18001b935 jnz short loc_18001B99B ; +0xc7, 0x18001b937 lea r8, aK; "k" ; +0xc9, 0x18001b939 cmp byte ptr [rsi+0E8h], 0 ; +0xd0, 0x18001b940 cmovnz r8, r15 ; +0xd7, 0x18001b947 lea rdx, [rsp+68h+var_38] ; +0xdb, 0x18001b94b lea rcx, [rsp+68h+var_48] ; +0xe0, 0x18001b950 call sub_180081A50 ; +0xe5, 0x18001b955 mov rcx, [rax] ; +0xea, 0x18001b95a mov [rsp+68h+var_48], rcx ; +0xed, 0x18001b95d lea rcx, [rsp+68h+var_48] ; +0xf2, 0x18001b962 call sub_18007F4E0 ; +0xf7, 0x18001b967 test rax, rax ; +0xfc, 0x18001b96c jnz loc_18001B8D1 ; +0xff, 0x18001b96f lea rdx, dword_1801A8348 ; +0x105, 0x18001b975 mov rcx, rdi ; +0x10c, 0x18001b97c call ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x10f, 0x18001b97f mov rax, rdi ; +0x114, 0x18001b984 mov rbx, [rsp+68h+arg_10] ; +0x117, 0x18001b987 add rsp, 40h ; +0x11f, 0x18001b98f pop r15 ; +0x123, 0x18001b993 pop r14 ; +0x125, 0x18001b995 pop rdi ; +0x127, 0x18001b997 pop rsi ; +0x128, 0x18001b998 pop rbp ; +0x129, 0x18001b999 retn ; +0x12a, 0x18001b99a lea rcx, [rsp+68h+var_38]; this ; +0x12b, 0x18001b99b call ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void) ; +0x130, 0x18001b9a0 lea rdx, [rsp+68h+var_40] ; +0x135, 0x18001b9a5 lea rcx, [rsp+68h+var_48] ; +0x13a, 0x18001b9aa call sub_180081AB0 ; +0x13f, 0x18001b9af mov rcx, rax ; +0x144, 0x18001b9b4 call sub_18007FB70 ; +0x147, 0x18001b9b7 mov rdx, rax ; +0x14c, 0x18001b9bc mov rcx, rdi ; +0x14f, 0x18001b9bf call ?CCPointFromString@cocos2d@@YA?AVCCPoint@1@PEBD@Z; cocos2d::CCPointFromString(char const *) ; +0x152, 0x18001b9c2 jmp short loc_18001B984 ; +0x157, 0x18001b9c7