{"type": "func", "start": 6442489424, "end": 6442489559, "name": "cocos2d::CCDictElement::CCDictElement", "pseudocode": "// \n// cocos2d::CCDictElement::CCDictElement from 0x180009650 to 0x1800096d7 (135 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCDictionary::setObjectUnSafe @ 0x18000b98a\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b7c3c\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:21:19 +0000\n// \n\ncocos2d::CCDictElement *__fastcall cocos2d::CCDictElement::CCDictElement(\n        cocos2d::CCDictElement *this,\n        const char *Source,\n        struct cocos2d::CCObject *a3)\n{\n  const char *v5; // rdi\n  int v6; // eax\n\n  *((_QWORD *)this + 32) = 0;\n  v5 = Source;\n  v6 = strlen(Source);\n  if ( v6 > 256 )\n    v5 = &v5[v6 - 256];\n  strcpy((char *)this, v5);\n  *((_QWORD *)this + 33) = a3;\n  *((_OWORD *)this + 17) = 0;\n  *((_OWORD *)this + 18) = 0;\n  *((_OWORD *)this + 19) = 0;\n  *((_QWORD *)this + 40) = 0;\n  return this;\n}", "assembly": "; \n; cocos2d::CCDictElement::CCDictElement from 0x180009650 to 0x1800096d7 (135 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCDictionary::setObjectUnSafe @ 0x18000b98a\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b7c3c\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:21:19 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180009650\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180009655\npush    rdi                                                            ; +0xa, 0x18000965a\nsub     rsp, 20h                                                       ; +0xb, 0x18000965b\nmov     rbx, rcx                                                       ; +0xf, 0x18000965f\nmov     qword ptr [rcx+100h], 0                                        ; +0x12, 0x180009662\nmov     rcx, rdx; Str                                                  ; +0x1d, 0x18000966d\nmov     rsi, r8                                                        ; +0x20, 0x180009670\nmov     rdi, rdx                                                       ; +0x23, 0x180009673\ncall    strlen                                                         ; +0x26, 0x180009676\ncmp     eax, 100h                                                      ; +0x2b, 0x18000967b\njle     short loc_180009691                                            ; +0x30, 0x180009680\ndec     eax                                                            ; +0x32, 0x180009682\nadd     rdi, 0FFFFFFFFFFFFFF01h                                        ; +0x34, 0x180009684\nmovsxd  r9, eax                                                        ; +0x3b, 0x18000968b\nadd     rdi, r9                                                        ; +0x3e, 0x18000968e\nmov     rdx, rdi; Source                                               ; +0x41, 0x180009691\nmov     rcx, rbx; Destination                                          ; +0x44, 0x180009694\ncall    strcpy                                                         ; +0x47, 0x180009697\nmov     [rbx+108h], rsi                                                ; +0x4c, 0x18000969c\nxorps   xmm0, xmm0                                                     ; +0x53, 0x1800096a3\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x56, 0x1800096a6\nxor     eax, eax                                                       ; +0x5b, 0x1800096ab\nmovups  xmmword ptr [rbx+110h], xmm0                                   ; +0x5d, 0x1800096ad\nmovups  xmmword ptr [rbx+120h], xmm0                                   ; +0x64, 0x1800096b4\nmovups  xmmword ptr [rbx+130h], xmm0                                   ; +0x6b, 0x1800096bb\nmov     [rbx+140h], rax                                                ; +0x72, 0x1800096c2\nmov     rax, rbx                                                       ; +0x79, 0x1800096c9\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7c, 0x1800096cc\nadd     rsp, 20h                                                       ; +0x81, 0x1800096d1\npop     rdi                                                            ; +0x85, 0x1800096d5\nretn                                                                   ; +0x86, 0x1800096d6", "xrefs": ["cocos2d::CCDictionary::setObjectUnSafe @ 0x18000b98a", "<???> @ 0x18014cf68", "<???> @ 0x1801b7c3c"], "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"}