{"type": "func", "start": 6443242272, "end": 6443242442, "name": "cocos2d::CCConfiguration::setObject", "pseudocode": "// \n// cocos2d::CCConfiguration::setObject from 0x1800c1320 to 0x1800c13ca (170 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c33b4\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\n// Hidden C++ exception states: #wind=1\nvoid __fastcall cocos2d::CCConfiguration::setObject(\n        cocos2d::CCConfiguration *this,\n        char *a2,\n        struct cocos2d::CCObject *a3)\n{\n  void *v5; // rcx\n  void *Block[3]; // [rsp+30h] [rbp-38h] BYREF\n  unsigned __int64 v7; // [rsp+48h] [rbp-20h]\n\n  sub_180005A10(Block, a2);\n  cocos2d::CCDictionary::setObject(*((_QWORD *)this + 11), a3, (__int64)Block);\n  if ( v7 > 0xF )\n  {\n    v5 = Block[0];\n    if ( v7 + 1 >= 0x1000 )\n    {\n      v5 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v5 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free_0(v5);\n  }\n}", "assembly": "; \n; cocos2d::CCConfiguration::setObject from 0x1800c1320 to 0x1800c13ca (170 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c33b4\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; \nmov     [rsp+arg_18], rbx                                              ; +0x0, 0x1800c1320\npush    rdi                                                            ; +0x5, 0x1800c1325\nsub     rsp, 60h                                                       ; +0x6, 0x1800c1326\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1800c132a\nxor     rax, rsp                                                       ; +0x11, 0x1800c1331\nmov     [rsp+68h+var_18], rax                                          ; +0x14, 0x1800c1334\nmov     rdi, r8                                                        ; +0x19, 0x1800c1339\nmov     rbx, rcx                                                       ; +0x1c, 0x1800c133c\nlea     rcx, [rsp+68h+Block]; void *                                   ; +0x1f, 0x1800c133f\ncall    sub_180005A10                                                  ; +0x24, 0x1800c1344\nnop                                                                    ; +0x29, 0x1800c1349\nlea     r8, [rsp+68h+Block]                                            ; +0x2a, 0x1800c134a\nmov     rdx, rdi                                                       ; +0x2f, 0x1800c134f\nmov     rcx, [rbx+58h]                                                 ; +0x32, 0x1800c1352\ncall    ?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0x36, 0x1800c1356\nnop                                                                    ; +0x3b, 0x1800c135b\nmov     rdx, [rsp+68h+var_20]                                          ; +0x3c, 0x1800c135c\ncmp     rdx, 0Fh                                                       ; +0x41, 0x1800c1361\njbe     short loc_1800C13AF                                            ; +0x45, 0x1800c1365\ninc     rdx                                                            ; +0x47, 0x1800c1367\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0x4a, 0x1800c136a\nmov     rax, rcx                                                       ; +0x4f, 0x1800c136f\ncmp     rdx, 1000h                                                     ; +0x52, 0x1800c1372\njb      short loc_1800C13AA                                            ; +0x59, 0x1800c1379\nadd     rdx, 27h ; '''                                                 ; +0x5b, 0x1800c137b\nmov     rcx, [rcx-8]                                                   ; +0x5f, 0x1800c137f\nsub     rax, rcx                                                       ; +0x63, 0x1800c1383\nsub     rax, 8                                                         ; +0x66, 0x1800c1386\ncmp     rax, 1Fh                                                       ; +0x6a, 0x1800c138a\njbe     short loc_1800C13AA                                            ; +0x6e, 0x1800c138e\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0x70, 0x1800c1390\nxor     r9d, r9d; LineNo                                               ; +0x79, 0x1800c1399\nxor     r8d, r8d; FileName                                             ; +0x7c, 0x1800c139c\nxor     edx, edx; FunctionName                                         ; +0x7f, 0x1800c139f\nxor     ecx, ecx; Expression                                           ; +0x81, 0x1800c13a1\ncall    cs:_invoke_watson                                              ; +0x83, 0x1800c13a3\nalign 2                                                                ; +0x89, 0x1800c13a9\ncall    j_j_free_0                                                     ; +0x8a, 0x1800c13aa\nmov     rcx, [rsp+68h+var_18]                                          ; +0x8f, 0x1800c13af\nxor     rcx, rsp; StackCookie                                          ; +0x94, 0x1800c13b4\ncall    __security_check_cookie                                        ; +0x97, 0x1800c13b7\nmov     rbx, [rsp+68h+arg_18]                                          ; +0x9c, 0x1800c13bc\nadd     rsp, 60h                                                       ; +0xa4, 0x1800c13c4\npop     rdi                                                            ; +0xa8, 0x1800c13c8\nretn                                                                   ; +0xa9, 0x1800c13c9", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c33b4"], "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"}