{"type": "func", "start": 6443226000, "end": 6443226138, "name": "cocos2d::CCConfiguration::getObject", "pseudocode": "// \n// cocos2d::CCConfiguration::getObject from 0x1800bd390 to 0x1800bd41a (138 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b90cc\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nstruct cocos2d::CCObject *__fastcall cocos2d::CCConfiguration::getObject(cocos2d::CCConfiguration *this, char *a2)\n{\n  __int64 v3; // rbx\n  void *v4; // rcx\n  void *Block[3]; // [rsp+20h] [rbp-38h] BYREF\n  unsigned __int64 v7; // [rsp+38h] [rbp-20h]\n\n  sub_180005910(Block, a2);\n  v3 = cocos2d::CCDictionary::objectForKey(*((_QWORD *)this + 11), (unsigned __int8 *)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        invalid_parameter_noinfo_noreturn();\n    }\n    j_j_free_0(v4);\n  }\n  return (struct cocos2d::CCObject *)v3;\n}", "assembly": "; \n; cocos2d::CCConfiguration::getObject from 0x1800bd390 to 0x1800bd41a (138 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b90cc\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1800bd390\nsub     rsp, 50h                                                       ; +0x2, 0x1800bd392\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x1800bd396\nxor     rax, rsp                                                       ; +0xd, 0x1800bd39d\nmov     [rsp+58h+var_18], rax                                          ; +0x10, 0x1800bd3a0\nmov     rbx, rcx                                                       ; +0x15, 0x1800bd3a5\nlea     rcx, [rsp+58h+Block]                                           ; +0x18, 0x1800bd3a8\ncall    sub_180005910                                                  ; +0x1d, 0x1800bd3ad\nnop                                                                    ; +0x22, 0x1800bd3b2\nlea     rdx, [rsp+58h+Block]                                           ; +0x23, 0x1800bd3b3\nmov     rcx, [rbx+58h]                                                 ; +0x28, 0x1800bd3b8\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, 0x1800bd3bc\nmov     rbx, rax                                                       ; +0x31, 0x1800bd3c1\nmov     rdx, [rsp+58h+var_20]                                          ; +0x34, 0x1800bd3c4\ncmp     rdx, 0Fh                                                       ; +0x39, 0x1800bd3c9\njbe     short loc_1800BD404                                            ; +0x3d, 0x1800bd3cd\ninc     rdx                                                            ; +0x3f, 0x1800bd3cf\nmov     rcx, [rsp+58h+Block]; Block                                    ; +0x42, 0x1800bd3d2\nmov     rax, rcx                                                       ; +0x47, 0x1800bd3d7\ncmp     rdx, 1000h                                                     ; +0x4a, 0x1800bd3da\njb      short loc_1800BD3FF                                            ; +0x51, 0x1800bd3e1\nadd     rdx, 27h ; '''                                                 ; +0x53, 0x1800bd3e3\nmov     rcx, [rcx-8]                                                   ; +0x57, 0x1800bd3e7\nsub     rax, rcx                                                       ; +0x5b, 0x1800bd3eb\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x5e, 0x1800bd3ee\ncmp     rax, 1Fh                                                       ; +0x62, 0x1800bd3f2\njbe     short loc_1800BD3FF                                            ; +0x66, 0x1800bd3f6\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x68, 0x1800bd3f8\ndb 0CCh                                                                ; +0x6e, 0x1800bd3fe\ncall    j_j_free_0                                                     ; +0x6f, 0x1800bd3ff\nmov     rax, rbx                                                       ; +0x74, 0x1800bd404\nmov     rcx, [rsp+58h+var_18]                                          ; +0x77, 0x1800bd407\nxor     rcx, rsp; StackCookie                                          ; +0x7c, 0x1800bd40c\ncall    __security_check_cookie                                        ; +0x7f, 0x1800bd40f\nadd     rsp, 50h                                                       ; +0x84, 0x1800bd414\npop     rbx                                                            ; +0x88, 0x1800bd418\nretn                                                                   ; +0x89, 0x1800bd419", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b90cc"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}