{"type": "func", "start": 6443240272, "end": 6443240432, "name": "cocos2d::CCConfiguration::getObject", "pseudocode": "// \n// cocos2d::CCConfiguration::getObject from 0x1800c0b50 to 0x1800c0bf0 (160 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3384\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:25 +0000\n// \n\nstruct cocos2d::CCObject *__fastcall cocos2d::CCConfiguration::getObject(cocos2d::CCConfiguration *this, char *a2)\n{\n  __int64 v3; // rbx\n  void *v4; // r8\n  void *Block[3]; // [rsp+30h] [rbp-38h] BYREF\n  unsigned __int64 v7; // [rsp+48h] [rbp-20h]\n\n  sub_180005A10(Block, a2);\n  v3 = cocos2d::CCDictionary::objectForKey(*((_QWORD *)this + 11), (__int64)Block);\n  if ( v7 > 0xF )\n  {\n    v4 = Block[0];\n    if ( v7 + 1 >= 0x1000 )\n    {\n      v4 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v4 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free_0(v4);\n  }\n  return (struct cocos2d::CCObject *)v3;\n}", "assembly": "; \n; cocos2d::CCConfiguration::getObject from 0x1800c0b50 to 0x1800c0bf0 (160 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3384\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:25 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800c0b50\nsub     rsp, 60h                                                       ; +0x2, 0x1800c0b52\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x1800c0b56\nxor     rax, rsp                                                       ; +0xd, 0x1800c0b5d\nmov     [rsp+68h+var_18], rax                                          ; +0x10, 0x1800c0b60\nmov     rbx, rcx                                                       ; +0x15, 0x1800c0b65\nlea     rcx, [rsp+68h+Block]; void *                                   ; +0x18, 0x1800c0b68\ncall    sub_180005A10                                                  ; +0x1d, 0x1800c0b6d\nnop                                                                    ; +0x22, 0x1800c0b72\nlea     rdx, [rsp+68h+Block]                                           ; +0x23, 0x1800c0b73\nmov     rcx, [rbx+58h]                                                 ; +0x28, 0x1800c0b78\ncall    ?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x2c, 0x1800c0b7c\nmov     rbx, rax                                                       ; +0x31, 0x1800c0b81\nmov     rdx, [rsp+68h+var_20]                                          ; +0x34, 0x1800c0b84\ncmp     rdx, 0Fh                                                       ; +0x39, 0x1800c0b89\njbe     short loc_1800C0BDA                                            ; +0x3d, 0x1800c0b8d\ninc     rdx                                                            ; +0x3f, 0x1800c0b8f\nmov     r8, [rsp+68h+Block]                                            ; +0x42, 0x1800c0b92\nmov     rcx, r8                                                        ; +0x47, 0x1800c0b97\ncmp     rdx, 1000h                                                     ; +0x4a, 0x1800c0b9a\njb      short loc_1800C0BD2                                            ; +0x51, 0x1800c0ba1\nadd     rdx, 27h ; '''                                                 ; +0x53, 0x1800c0ba3\nmov     r8, [r8-8]                                                     ; +0x57, 0x1800c0ba7\nsub     rcx, r8                                                        ; +0x5b, 0x1800c0bab\nsub     rcx, 8                                                         ; +0x5e, 0x1800c0bae\ncmp     rcx, 1Fh                                                       ; +0x62, 0x1800c0bb2\njbe     short loc_1800C0BD2                                            ; +0x66, 0x1800c0bb6\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0x68, 0x1800c0bb8\nxor     r9d, r9d; LineNo                                               ; +0x71, 0x1800c0bc1\nxor     r8d, r8d; FileName                                             ; +0x74, 0x1800c0bc4\nxor     edx, edx; FunctionName                                         ; +0x77, 0x1800c0bc7\nxor     ecx, ecx; Expression                                           ; +0x79, 0x1800c0bc9\ncall    cs:_invoke_watson                                              ; +0x7b, 0x1800c0bcb\nalign 2                                                                ; +0x81, 0x1800c0bd1\nmov     rcx, r8; Block                                                 ; +0x82, 0x1800c0bd2\ncall    j_j_free_0                                                     ; +0x85, 0x1800c0bd5\nmov     rax, rbx                                                       ; +0x8a, 0x1800c0bda\nmov     rcx, [rsp+68h+var_18]                                          ; +0x8d, 0x1800c0bdd\nxor     rcx, rsp; StackCookie                                          ; +0x92, 0x1800c0be2\ncall    __security_check_cookie                                        ; +0x95, 0x1800c0be5\nadd     rsp, 60h                                                       ; +0x9a, 0x1800c0bea\npop     rbx                                                            ; +0x9e, 0x1800c0bee\nretn                                                                   ; +0x9f, 0x1800c0bef", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c3384"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}