; ; cocos2d::CCDictionary::valueForKey from 0x18000c550 to 0x18000c607 (183 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801ade34 ; ; 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 ; 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 [rsp+68h+var_48], 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_18000C5F1 ; +0x40, 0x18000c590 lea rdx, Buf2 ; +0x42, 0x18000c592 lea rcx, [rsp+68h+Block] ; +0x49, 0x18000c599 call sub_180005910 ; +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_18000C5F1 ; +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_18000C5EC ; +0x7e, 0x18000c5ce add rdx, 27h ; ''' ; +0x80, 0x18000c5d0 mov rcx, [rcx-8] ; +0x84, 0x18000c5d4 sub rax, rcx ; +0x88, 0x18000c5d8 add rax, 0FFFFFFFFFFFFFFF8h ; +0x8b, 0x18000c5db cmp rax, 1Fh ; +0x8f, 0x18000c5df jbe short loc_18000C5EC ; +0x93, 0x18000c5e3 call cs:_invalid_parameter_noinfo_noreturn ; +0x95, 0x18000c5e5 align 4 ; +0x9b, 0x18000c5eb call j_j_free_0 ; +0x9c, 0x18000c5ec mov rax, rbx ; +0xa1, 0x18000c5f1 mov rcx, [rsp+68h+var_18] ; +0xa4, 0x18000c5f4 xor rcx, rsp; StackCookie ; +0xa9, 0x18000c5f9 call __security_check_cookie ; +0xac, 0x18000c5fc add rsp, 60h ; +0xb1, 0x18000c601 pop rbx ; +0xb5, 0x18000c605 retn ; +0xb6, 0x18000c606