; ; cocos2d::CCDictionary::valueForKey from 0x18000c550 to 0x18000c61a (202 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801b7e88 ; ; 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:20 +0000 ; push rbx ; +0x0, 0x18000c550 sub rsp, 60h ; +0x2, 0x18000c552 mov rax, cs:__security_cookie ; +0x6, 0x18000c556 xor rax, rsp ; +0xd, 0x18000c55d mov [rsp+68h+var_18], rax ; +0x10, 0x18000c560 call ?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x15, 0x18000c565 mov rcx, rax ; +0x1a, 0x18000c56a mov dword ptr [rsp+68h+Reserved], 0 ; +0x1d, 0x18000c56d lea r9, ??_R0?AVCCString@cocos2d@@@8; cocos2d::CCString `RTTI Type Descriptor' ; +0x25, 0x18000c575 lea r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x2c, 0x18000c57c xor edx, edx ; +0x33, 0x18000c583 call __RTDynamicCast ; +0x35, 0x18000c585 mov rbx, rax ; +0x3a, 0x18000c58a test rax, rax ; +0x3d, 0x18000c58d jnz short loc_18000C604 ; +0x40, 0x18000c590 lea rdx, Text; Str ; +0x42, 0x18000c592 lea rcx, [rsp+68h+Block]; void * ; +0x49, 0x18000c599 call sub_180005A10 ; +0x4e, 0x18000c59e nop ; +0x53, 0x18000c5a3 lea rcx, [rsp+68h+Block] ; +0x54, 0x18000c5a4 call ?create@CCString@cocos2d@@SAPEAV12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCString::create(std::string const &) ; +0x59, 0x18000c5a9 mov rbx, rax ; +0x5e, 0x18000c5ae mov rdx, [rsp+68h+var_20] ; +0x61, 0x18000c5b1 cmp rdx, 0Fh ; +0x66, 0x18000c5b6 jbe short loc_18000C604 ; +0x6a, 0x18000c5ba inc rdx ; +0x6c, 0x18000c5bc mov rcx, [rsp+68h+Block]; Block ; +0x6f, 0x18000c5bf mov rax, rcx ; +0x74, 0x18000c5c4 cmp rdx, 1000h ; +0x77, 0x18000c5c7 jb short loc_18000C5FF ; +0x7e, 0x18000c5ce add rdx, 27h ; ''' ; +0x80, 0x18000c5d0 mov rcx, [rcx-8] ; +0x84, 0x18000c5d4 sub rax, rcx ; +0x88, 0x18000c5d8 sub rax, 8 ; +0x8b, 0x18000c5db cmp rax, 1Fh ; +0x8f, 0x18000c5df jbe short loc_18000C5FF ; +0x93, 0x18000c5e3 mov [rsp+68h+Reserved], 0; Reserved ; +0x95, 0x18000c5e5 xor r9d, r9d; LineNo ; +0x9e, 0x18000c5ee xor r8d, r8d; FileName ; +0xa1, 0x18000c5f1 xor edx, edx; FunctionName ; +0xa4, 0x18000c5f4 xor ecx, ecx; Expression ; +0xa6, 0x18000c5f6 call cs:_invoke_watson ; +0xa8, 0x18000c5f8 db 0CCh ; +0xae, 0x18000c5fe call j_j_free_0 ; +0xaf, 0x18000c5ff mov rax, rbx ; +0xb4, 0x18000c604 mov rcx, [rsp+68h+var_18] ; +0xb7, 0x18000c607 xor rcx, rsp; StackCookie ; +0xbc, 0x18000c60c call __security_check_cookie ; +0xbf, 0x18000c60f add rsp, 60h ; +0xc4, 0x18000c614 pop rbx ; +0xc8, 0x18000c618 retn ; +0xc9, 0x18000c619