; ; DS_Dictionary::setObjectForKey from 0x18001f4e0 to 0x18001f694 (436 bytes) ; ; 4 xrefs: ; > DS_Dictionary::setArrayForKey @ 0x18001e9cc ; > DS_Dictionary::setDictForKey @ 0x18001ef13 ; > @ 0x18014cf68 ; > @ 0x1801b8dc4 ; ; 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:27 +0000 ; mov [rsp+arg_18], rbx ; +0x0, 0x18001f4e0 push rbp ; +0x5, 0x18001f4e5 push rsi ; +0x6, 0x18001f4e6 push rdi ; +0x7, 0x18001f4e7 sub rsp, 80h ; +0x8, 0x18001f4e8 mov rax, cs:__security_cookie ; +0xf, 0x18001f4ef xor rax, rsp ; +0x16, 0x18001f4f6 mov [rsp+98h+var_20], rax ; +0x19, 0x18001f4f9 mov rbx, r8 ; +0x1e, 0x18001f4fe mov rsi, rdx ; +0x21, 0x18001f501 mov rdi, rcx ; +0x24, 0x18001f504 xor ebp, ebp ; +0x27, 0x18001f507 mov dword ptr [rsp+98h+Reserved], ebp ; +0x29, 0x18001f509 lea r9, ??_R0?AVCCString@cocos2d@@@8; cocos2d::CCString `RTTI Type Descriptor' ; +0x2d, 0x18001f50d lea r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x34, 0x18001f514 xor edx, edx ; +0x3b, 0x18001f51b mov rcx, rbx ; +0x3d, 0x18001f51d call __RTDynamicCast ; +0x40, 0x18001f520 mov rcx, rbx; this ; +0x45, 0x18001f525 test rax, rax ; +0x48, 0x18001f528 jz loc_18001F5E3 ; +0x4b, 0x18001f52b call ?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x51, 0x18001f531 mov rbx, rax ; +0x56, 0x18001f536 xorps xmm0, xmm0 ; +0x59, 0x18001f539 movups [rsp+98h+var_68], xmm0 ; +0x5c, 0x18001f53c mov qword ptr [rsp+98h+var_58], rbp ; +0x61, 0x18001f541 mov qword ptr [rsp+98h+var_58+8], rbp ; +0x66, 0x18001f546 mov rcx, rax; Str ; +0x6b, 0x18001f54b call strlen ; +0x6e, 0x18001f54e mov r8, rax ; +0x73, 0x18001f553 mov rdx, rbx ; +0x76, 0x18001f556 lea rcx, [rsp+98h+var_68] ; +0x79, 0x18001f559 call sub_18000CEF0 ; +0x7e, 0x18001f55e movups xmm0, [rsp+98h+var_68] ; +0x83, 0x18001f563 movups xmmword ptr [rsp+98h+Block], xmm0 ; +0x88, 0x18001f568 movups xmm1, [rsp+98h+var_58] ; +0x8d, 0x18001f56d movups [rsp+98h+var_30], xmm1 ; +0x92, 0x18001f572 xor r9d, r9d ; +0x97, 0x18001f577 lea r8, [rsp+98h+Block] ; +0x9a, 0x18001f57a mov rdx, rsi ; +0x9f, 0x18001f57f mov rcx, rdi ; +0xa2, 0x18001f582 call ?setStringForKey@DS_Dictionary@@QEAAXPEBDAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z; DS_Dictionary::setStringForKey(char const *,std::string const &,bool) ; +0xa5, 0x18001f585 nop ; +0xaa, 0x18001f58a mov rdx, qword ptr [rsp+98h+var_30+8] ; +0xab, 0x18001f58b cmp rdx, 0Fh ; +0xb0, 0x18001f590 jbe loc_18001F674 ; +0xb4, 0x18001f594 inc rdx ; +0xba, 0x18001f59a mov rcx, [rsp+98h+Block]; Block ; +0xbd, 0x18001f59d mov rax, rcx ; +0xc2, 0x18001f5a2 cmp rdx, 1000h ; +0xc5, 0x18001f5a5 jb short loc_18001F5D9 ; +0xcc, 0x18001f5ac add rdx, 27h ; ''' ; +0xce, 0x18001f5ae mov rcx, [rcx-8] ; +0xd2, 0x18001f5b2 sub rax, rcx ; +0xd6, 0x18001f5b6 sub rax, 8 ; +0xd9, 0x18001f5b9 cmp rax, 1Fh ; +0xdd, 0x18001f5bd jbe short loc_18001F5D9 ; +0xe1, 0x18001f5c1 mov [rsp+98h+Reserved], rbp; Reserved ; +0xe3, 0x18001f5c3 xor r9d, r9d; LineNo ; +0xe8, 0x18001f5c8 xor r8d, r8d; FileName ; +0xeb, 0x18001f5cb xor edx, edx; FunctionName ; +0xee, 0x18001f5ce xor ecx, ecx; Expression ; +0xf0, 0x18001f5d0 call cs:_invoke_watson ; +0xf2, 0x18001f5d2 db 0CCh ; +0xf8, 0x18001f5d8 call j_j_free_0 ; +0xf9, 0x18001f5d9 jmp loc_18001F674 ; +0xfe, 0x18001f5de mov dword ptr [rsp+98h+Reserved], ebp ; +0x103, 0x18001f5e3 lea r9, ??_R0?AVCCDictionary@cocos2d@@@8; cocos2d::CCDictionary `RTTI Type Descriptor' ; +0x107, 0x18001f5e7 lea r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x10e, 0x18001f5ee xor edx, edx ; +0x115, 0x18001f5f5 call __RTDynamicCast ; +0x117, 0x18001f5f7 test rax, rax ; +0x11c, 0x18001f5fc jz short loc_18001F611 ; +0x11f, 0x18001f5ff mov r8, rbx; struct cocos2d::CCDictionary * ; +0x121, 0x18001f601 mov rdx, rsi; char * ; +0x124, 0x18001f604 mov rcx, rdi; this ; +0x127, 0x18001f607 call ?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0x12a, 0x18001f60a jmp short loc_18001F674 ; +0x12f, 0x18001f60f mov dword ptr [rsp+98h+Reserved], ebp ; +0x131, 0x18001f611 lea r9, ??_R0?AVCCArray@cocos2d@@@8; cocos2d::CCArray `RTTI Type Descriptor' ; +0x135, 0x18001f615 lea r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x13c, 0x18001f61c xor edx, edx ; +0x143, 0x18001f623 mov rcx, rbx ; +0x145, 0x18001f625 call __RTDynamicCast ; +0x148, 0x18001f628 test rax, rax ; +0x14d, 0x18001f62d jz short loc_18001F642 ; +0x150, 0x18001f630 mov r8, rbx; struct cocos2d::CCArray * ; +0x152, 0x18001f632 mov rdx, rsi; char * ; +0x155, 0x18001f635 mov rcx, rdi; this ; +0x158, 0x18001f638 call ?setArrayForKey@DS_Dictionary@@QEAAXPEBDPEAVCCArray@cocos2d@@@Z; DS_Dictionary::setArrayForKey(char const *,cocos2d::CCArray *) ; +0x15b, 0x18001f63b jmp short loc_18001F674 ; +0x160, 0x18001f640 mov rax, [rbx] ; +0x162, 0x18001f642 mov rcx, rbx ; +0x165, 0x18001f645 call qword ptr [rax+30h] ; +0x168, 0x18001f648 test al, al ; +0x16b, 0x18001f64b jz short loc_18001F674 ; +0x16d, 0x18001f64d mov r9b, 1; bool ; +0x16f, 0x18001f64f xor r8d, r8d; bool ; +0x172, 0x18001f652 mov rdx, rsi; char * ; +0x175, 0x18001f655 mov rcx, rdi; this ; +0x178, 0x18001f658 call ?setSubDictForKey@DS_Dictionary@@QEAAXPEBD_N1@Z; DS_Dictionary::setSubDictForKey(char const *,bool,bool) ; +0x17b, 0x18001f65b mov rax, [rbx] ; +0x180, 0x18001f660 mov rdx, rdi ; +0x183, 0x18001f663 mov rcx, rbx ; +0x186, 0x18001f666 call qword ptr [rax+28h] ; +0x189, 0x18001f669 mov rcx, rdi; this ; +0x18c, 0x18001f66c call ?stepOutOfSubDict@DS_Dictionary@@QEAAXXZ; DS_Dictionary::stepOutOfSubDict(void) ; +0x18f, 0x18001f66f mov rcx, [rsp+98h+var_20] ; +0x194, 0x18001f674 xor rcx, rsp; StackCookie ; +0x199, 0x18001f679 call __security_check_cookie ; +0x19c, 0x18001f67c mov rbx, [rsp+98h+arg_18] ; +0x1a1, 0x18001f681 add rsp, 80h ; +0x1a9, 0x18001f689 pop rdi ; +0x1b0, 0x18001f690 pop rsi ; +0x1b1, 0x18001f691 pop rbp ; +0x1b2, 0x18001f692 retn ; +0x1b3, 0x18001f693