{"type": "func", "start": 6442500064, "end": 6442501261, "name": "cocos2d::CCDictionary::setObjectUnSafe", "pseudocode": "// \n// cocos2d::CCDictionary::setObjectUnSafe from 0x18000bfe0 to 0x18000c48d (1197 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCDictionary::copyWithZone @ 0x180009d3f\n// > cocos2d::CCDictionary::setObject @ 0x18000b8f2\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ade1c\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\nvoid __fastcall cocos2d::CCDictionary::setObjectUnSafe(\n        cocos2d::CCDictionary *this,\n        struct cocos2d::CCObject *a2,\n        std::intptr_t a3)\n{\n  cocos2d::CCDictElement *v6; // rax\n  int v7; // ebp\n  cocos2d::CCDictElement *v8; // rbx\n  cocos2d::CCDictElement *m_pElements; // rax\n  UT_hash_table *tbl; // rcx\n  UT_hash_bucket *buckets; // rcx\n  UT_hash_handle *p_hh; // rsi\n  int v13; // edx\n  int v14; // ecx\n  unsigned int v15; // edx\n  unsigned int v16; // r8d\n  int v17; // ecx\n  unsigned int v18; // edx\n  unsigned int v19; // r8d\n  unsigned int v20; // ecx\n  unsigned int v21; // ecx\n  UT_hash_table *v22; // rdx\n  __int64 v23; // r8\n  UT_hash_handle *hh_head; // rcx\n  UT_hash_bucket *v25; // rcx\n  UT_hash_bucket *v26; // rax\n  UT_hash_bucket *v27; // r14\n  UT_hash_table *v28; // rdi\n  unsigned int v29; // ebx\n  unsigned int v30; // r11d\n  void **i; // rax\n  UT_hash_handle *v32; // r9\n  UT_hash_handle *hh_next; // r10\n  UT_hash_bucket *v34; // rcx\n  unsigned int v35; // eax\n  UT_hash_table *v36; // rcx\n\n  cocos2d::CCObject::retain(a2);\n  v6 = (cocos2d::CCDictElement *)operator new(0x148u);\n  v7 = 0;\n  v8 = v6;\n  if ( v6 )\n  {\n    v6->m_szKey[0] = 0;\n    v6->m_iKey = a3;\n    v6->m_pObject = a2;\n    *(_OWORD *)&v6->hh.tbl = 0;\n    *(_OWORD *)&v6->hh.next = 0;\n    *(_OWORD *)&v6->hh.hh_next = 0;\n    *(_QWORD *)&v6->hh.keylen = 0;\n  }\n  else\n  {\n    v8 = nullptr;\n  }\n  v8->hh.next = nullptr;\n  v8->hh.key = &v8->m_iKey;\n  v8->hh.keylen = 8;\n  m_pElements = this->m_pElements;\n  if ( m_pElements )\n  {\n    p_hh = &v8->hh;\n    m_pElements->hh.tbl->tail->next = v8;\n    v8->hh.prev = (char *)this->m_pElements->hh.tbl->tail - this->m_pElements->hh.tbl->hho;\n    this->m_pElements->hh.tbl->tail = &v8->hh;\n  }\n  else\n  {\n    this->m_pElements = v8;\n    v8->hh.prev = nullptr;\n    this->m_pElements->hh.tbl = (UT_hash_table *)malloc(0x40u);\n    tbl = this->m_pElements->hh.tbl;\n    if ( !tbl )\n      goto LABEL_14;\n    *(_OWORD *)&tbl->buckets = 0;\n    *(_OWORD *)&tbl->num_items = 0;\n    *(_OWORD *)&tbl->hho = 0;\n    *(_OWORD *)&tbl->ineff_expands = 0;\n    this->m_pElements->hh.tbl->tail = &this->m_pElements->hh;\n    this->m_pElements->hh.tbl->num_buckets = 32;\n    this->m_pElements->hh.tbl->log2_num_buckets = 5;\n    this->m_pElements->hh.tbl->hho = 272;\n    this->m_pElements->hh.tbl->buckets = (UT_hash_bucket *)malloc(0x200u);\n    buckets = this->m_pElements->hh.tbl->buckets;\n    if ( !buckets )\nLABEL_14:\n      exit(-1);\n    memset(buckets, 0, 0x200u);\n    p_hh = &v8->hh;\n    this->m_pElements->hh.tbl->signature = -1609490463;\n  }\n  ++this->m_pElements->hh.tbl->num_items;\n  p_hh->tbl = this->m_pElements->hh.tbl;\n  v8->hh.hashv = -17973513;\n  v13 = ((BYTE5(v8->m_iKey) + ((BYTE6(v8->m_iKey) + (HIBYTE(v8->m_iKey) << 8)) << 8)) << 8)\n      - 1640531527\n      + BYTE4(v8->m_iKey);\n  v14 = (LOBYTE(v8->m_iKey)\n       + ((BYTE1(v8->m_iKey) + ((BYTE2(v8->m_iKey) + (BYTE3(v8->m_iKey) << 8)) << 8)) << 8)\n       - v13\n       - 1622558014)\n      ^ 0x7F76D;\n  v15 = (v14 << 8) ^ (v13 - v14 + 17973513);\n  v16 = (v15 >> 13) ^ (-17973513 - v15 - v14);\n  v17 = (v16 >> 12) ^ (v14 - v16 - v15);\n  v18 = (v17 << 16) ^ (v15 - v16 - v17);\n  v19 = (v18 >> 5) ^ (v16 - v18 - v17);\n  v20 = v17 - v19 - v18;\n  v21 = (((((v19 >> 3) ^ v20) << 10) ^ (v18 - v19 - ((v19 >> 3) ^ v20))) >> 15)\n      ^ (v19 - ((((v19 >> 3) ^ v20) << 10) ^ (v18 - v19 - ((v19 >> 3) ^ v20))) - ((v19 >> 3) ^ v20));\n  v8->hh.hashv = v21;\n  v22 = this->m_pElements->hh.tbl;\n  v23 = v21 & (v22->num_buckets - 1);\n  ++v22->buckets[v23].count;\n  v8->hh.hh_next = this->m_pElements->hh.tbl->buckets[v23].hh_head;\n  v8->hh.hh_prev = nullptr;\n  hh_head = this->m_pElements->hh.tbl->buckets[v23].hh_head;\n  if ( hh_head )\n    hh_head->hh_prev = p_hh;\n  this->m_pElements->hh.tbl->buckets[v23].hh_head = p_hh;\n  v25 = this->m_pElements->hh.tbl->buckets;\n  if ( v25[v23].count >= 10 * (v25[v23].expand_mult + 1) && p_hh->tbl->noexpand != 1 )\n  {\n    v26 = (UT_hash_bucket *)malloc(32LL * p_hh->tbl->num_buckets);\n    v27 = v26;\n    if ( !v26 )\n      goto LABEL_14;\n    v28 = p_hh->tbl;\n    v29 = 2 * p_hh->tbl->num_buckets;\n    memset(v26, 0, 16LL * v29);\n    v30 = 0;\n    v28->ideal_chain_maxlen = (((v29 - 1) & v28->num_items) != 0)\n                            + (v28->num_items >> (LOBYTE(v28->log2_num_buckets) + 1));\n    p_hh->tbl->nonideal_items = 0;\n    for ( i = (void **)&p_hh->tbl->buckets; v30 < p_hh->tbl->num_buckets; ++v30 )\n    {\n      v32 = *((UT_hash_handle **)*i + 2 * v30);\n      if ( v32 )\n      {\n        do\n        {\n          hh_next = v32->hh_next;\n          v34 = &v27[v32->hashv & (2 * p_hh->tbl->num_buckets - 1)];\n          v35 = v34->count + 1;\n          v34->count = v35;\n          if ( v35 > p_hh->tbl->ideal_chain_maxlen )\n          {\n            ++p_hh->tbl->nonideal_items;\n            v34->expand_mult = v34->count / p_hh->tbl->ideal_chain_maxlen;\n          }\n          v32->hh_prev = nullptr;\n          v32->hh_next = v34->hh_head;\n          if ( v34->hh_head )\n            v34->hh_head->hh_prev = v32;\n          v34->hh_head = v32;\n          v32 = hh_next;\n        }\n        while ( hh_next );\n      }\n      i = (void **)&p_hh->tbl->buckets;\n    }\n    free(*i);\n    p_hh->tbl->num_buckets *= 2;\n    ++p_hh->tbl->log2_num_buckets;\n    p_hh->tbl->buckets = v27;\n    v36 = p_hh->tbl;\n    if ( p_hh->tbl->nonideal_items > p_hh->tbl->num_items >> 1 )\n      v7 = v36->ineff_expands + 1;\n    v36->ineff_expands = v7;\n    if ( p_hh->tbl->ineff_expands > 1 )\n      p_hh->tbl->noexpand = 1;\n  }\n}", "assembly": "; \n; cocos2d::CCDictionary::setObjectUnSafe from 0x18000bfe0 to 0x18000c48d (1197 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCDictionary::copyWithZone @ 0x180009d3f\n; > cocos2d::CCDictionary::setObject @ 0x18000b8f2\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ade1c\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x18000bfe0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x18000bfe5\npush    rsi                                                            ; +0xa, 0x18000bfea\npush    rdi                                                            ; +0xb, 0x18000bfeb\npush    r14                                                            ; +0xc, 0x18000bfec\nsub     rsp, 20h                                                       ; +0xe, 0x18000bfee\nmov     rdi, rcx                                                       ; +0x12, 0x18000bff2\nmov     r14, r8                                                        ; +0x15, 0x18000bff5\nmov     rcx, rdx; this                                                 ; +0x18, 0x18000bff8\nmov     rsi, rdx                                                       ; +0x1b, 0x18000bffb\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x1e, 0x18000bffe\nmov     ecx, 148h; Size                                                ; +0x23, 0x18000c003\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x28, 0x18000c008\nxor     ebp, ebp                                                       ; +0x2d, 0x18000c00d\nmov     [rsp+38h+arg_0], rax                                           ; +0x2f, 0x18000c00f\nmov     rbx, rax                                                       ; +0x34, 0x18000c014\ntest    rax, rax                                                       ; +0x37, 0x18000c017\njz      short loc_18000C050                                            ; +0x3a, 0x18000c01a\nmov     [rax], bpl                                                     ; +0x3c, 0x18000c01c\nxorps   xmm0, xmm0                                                     ; +0x3f, 0x18000c01f\nmov     [rax+100h], r14                                                ; +0x42, 0x18000c022\nmov     [rax+108h], rsi                                                ; +0x49, 0x18000c029\nxor     eax, eax                                                       ; +0x50, 0x18000c030\nmovups  xmmword ptr [rbx+110h], xmm0                                   ; +0x52, 0x18000c032\nmovups  xmmword ptr [rbx+120h], xmm0                                   ; +0x59, 0x18000c039\nmovups  xmmword ptr [rbx+130h], xmm0                                   ; +0x60, 0x18000c040\nmov     [rbx+140h], rax                                                ; +0x67, 0x18000c047\njmp     short loc_18000C053                                            ; +0x6e, 0x18000c04e\nmov     rbx, rbp                                                       ; +0x70, 0x18000c050\nlea     r14, [rbx+100h]                                                ; +0x73, 0x18000c053\nmov     [rbx+120h], rbp                                                ; +0x7a, 0x18000c05a\nmov     [rbx+138h], r14                                                ; +0x81, 0x18000c061\nmov     dword ptr [rbx+140h], 8                                        ; +0x88, 0x18000c068\nmov     rax, [rdi+38h]                                                 ; +0x92, 0x18000c072\ntest    rax, rax                                                       ; +0x96, 0x18000c076\njnz     loc_18000C165                                                  ; +0x99, 0x18000c079\nmov     [rdi+38h], rbx                                                 ; +0x9f, 0x18000c07f\nlea     ecx, [rax+40h]; Size                                           ; +0xa3, 0x18000c083\nmov     [rbx+118h], rbp                                                ; +0xa6, 0x18000c086\ncall    cs:__imp_malloc                                                ; +0xad, 0x18000c08d\nmov     rcx, [rdi+38h]                                                 ; +0xb3, 0x18000c093\nmov     [rcx+110h], rax                                                ; +0xb7, 0x18000c097\nmov     rax, [rdi+38h]                                                 ; +0xbe, 0x18000c09e\nmov     rcx, [rax+110h]                                                ; +0xc2, 0x18000c0a2\ntest    rcx, rcx                                                       ; +0xc9, 0x18000c0a9\njz      loc_18000C34F                                                  ; +0xcc, 0x18000c0ac\nxorps   xmm0, xmm0                                                     ; +0xd2, 0x18000c0b2\nmovups  xmmword ptr [rcx], xmm0                                        ; +0xd5, 0x18000c0b5\nmovups  xmmword ptr [rcx+10h], xmm0                                    ; +0xd8, 0x18000c0b8\nmovups  xmmword ptr [rcx+20h], xmm0                                    ; +0xdc, 0x18000c0bc\nmovups  xmmword ptr [rcx+30h], xmm0                                    ; +0xe0, 0x18000c0c0\nmov     rcx, [rdi+38h]                                                 ; +0xe4, 0x18000c0c4\nadd     rcx, 110h                                                      ; +0xe8, 0x18000c0c8\nmov     rax, [rcx]                                                     ; +0xef, 0x18000c0cf\nmov     [rax+18h], rcx                                                 ; +0xf2, 0x18000c0d2\nmov     rax, [rdi+38h]                                                 ; +0xf6, 0x18000c0d6\nmov     rcx, [rax+110h]                                                ; +0xfa, 0x18000c0da\nmov     dword ptr [rcx+8], 20h ; ' '                                   ; +0x101, 0x18000c0e1\nmov     rax, [rdi+38h]                                                 ; +0x108, 0x18000c0e8\nmov     rcx, [rax+110h]                                                ; +0x10c, 0x18000c0ec\nmov     dword ptr [rcx+0Ch], 5                                         ; +0x113, 0x18000c0f3\nmov     rax, [rdi+38h]                                                 ; +0x11a, 0x18000c0fa\nmov     rcx, [rax+110h]                                                ; +0x11e, 0x18000c0fe\nmov     qword ptr [rcx+20h], 110h                                      ; +0x125, 0x18000c105\nmov     ecx, 200h; Size                                                ; +0x12d, 0x18000c10d\ncall    cs:__imp_malloc                                                ; +0x132, 0x18000c112\nmov     rcx, [rdi+38h]                                                 ; +0x138, 0x18000c118\nmov     rdx, [rcx+110h]                                                ; +0x13c, 0x18000c11c\nmov     [rdx], rax                                                     ; +0x143, 0x18000c123\nmov     rax, [rdi+38h]                                                 ; +0x146, 0x18000c126\nmov     rcx, [rax+110h]                                                ; +0x14a, 0x18000c12a\nmov     rcx, [rcx]; void *                                             ; +0x151, 0x18000c131\ntest    rcx, rcx                                                       ; +0x154, 0x18000c134\njz      loc_18000C34F                                                  ; +0x157, 0x18000c137\nxor     edx, edx; Val                                                  ; +0x15d, 0x18000c13d\nmov     r8d, 200h; Size                                                ; +0x15f, 0x18000c13f\ncall    memset                                                         ; +0x165, 0x18000c145\nmov     rax, [rdi+38h]                                                 ; +0x16a, 0x18000c14a\nlea     rsi, [rbx+110h]                                                ; +0x16e, 0x18000c14e\nmov     rcx, [rax+110h]                                                ; +0x175, 0x18000c155\nmov     dword ptr [rcx+38h], 0A0111FE1h                                ; +0x17c, 0x18000c15c\njmp     short loc_18000C1A4                                            ; +0x183, 0x18000c163\nmov     rax, [rax+110h]                                                ; +0x185, 0x18000c165\nlea     rsi, [rbx+110h]                                                ; +0x18c, 0x18000c16c\nmov     rcx, [rax+18h]                                                 ; +0x193, 0x18000c173\nmov     [rcx+10h], rbx                                                 ; +0x197, 0x18000c177\nmov     rax, [rdi+38h]                                                 ; +0x19b, 0x18000c17b\nmov     rcx, [rax+110h]                                                ; +0x19f, 0x18000c17f\nmov     rax, [rcx+18h]                                                 ; +0x1a6, 0x18000c186\nsub     rax, [rcx+20h]                                                 ; +0x1aa, 0x18000c18a\nmov     [rbx+118h], rax                                                ; +0x1ae, 0x18000c18e\nmov     rax, [rdi+38h]                                                 ; +0x1b5, 0x18000c195\nmov     rcx, [rax+110h]                                                ; +0x1b9, 0x18000c199\nmov     [rcx+18h], rsi                                                 ; +0x1c0, 0x18000c1a0\nmov     rax, [rdi+38h]                                                 ; +0x1c4, 0x18000c1a4\nmov     r8d, 0FEEDBEF7h                                                ; +0x1c8, 0x18000c1a8\nmov     rcx, [rax+110h]                                                ; +0x1ce, 0x18000c1ae\ninc     dword ptr [rcx+10h]                                            ; +0x1d5, 0x18000c1b5\nmov     rax, [rdi+38h]                                                 ; +0x1d8, 0x18000c1b8\nmov     rcx, [rax+110h]                                                ; +0x1dc, 0x18000c1bc\nmov     [rsi], rcx                                                     ; +0x1e3, 0x18000c1c3\nmov     [rbx+144h], r8d                                                ; +0x1e6, 0x18000c1c6\nmovzx   eax, byte ptr [r14+6]                                          ; +0x1ed, 0x18000c1cd\nmovzx   ecx, byte ptr [r14+7]                                          ; +0x1f2, 0x18000c1d2\nmovzx   edx, byte ptr [r14+4]                                          ; +0x1f7, 0x18000c1d7\nshl     ecx, 8                                                         ; +0x1fc, 0x18000c1dc\nadd     ecx, eax                                                       ; +0x1ff, 0x18000c1df\nmovzx   eax, byte ptr [r14+5]                                          ; +0x201, 0x18000c1e1\nshl     ecx, 8                                                         ; +0x206, 0x18000c1e6\nadd     ecx, eax                                                       ; +0x209, 0x18000c1e9\nmovzx   eax, byte ptr [r14+2]                                          ; +0x20b, 0x18000c1eb\nshl     ecx, 8                                                         ; +0x210, 0x18000c1f0\nadd     ecx, 9E3779B9h                                                 ; +0x213, 0x18000c1f3\nadd     edx, ecx                                                       ; +0x219, 0x18000c1f9\nmovzx   ecx, byte ptr [r14+3]                                          ; +0x21b, 0x18000c1fb\nshl     ecx, 8                                                         ; +0x220, 0x18000c200\nadd     ecx, eax                                                       ; +0x223, 0x18000c203\nmovzx   eax, byte ptr [r14+1]                                          ; +0x225, 0x18000c205\nshl     ecx, 8                                                         ; +0x22a, 0x18000c20a\nadd     ecx, eax                                                       ; +0x22d, 0x18000c20d\nmovzx   eax, byte ptr [r14]                                            ; +0x22f, 0x18000c20f\nshl     ecx, 8                                                         ; +0x233, 0x18000c213\nadd     ecx, eax                                                       ; +0x236, 0x18000c216\nsub     ecx, edx                                                       ; +0x238, 0x18000c218\nsub     ecx, 60B6453Eh                                                 ; +0x23a, 0x18000c21a\nxor     ecx, 7F76Dh                                                    ; +0x240, 0x18000c220\nsub     edx, ecx                                                       ; +0x246, 0x18000c226\nmov     eax, ecx                                                       ; +0x248, 0x18000c228\nshl     eax, 8                                                         ; +0x24a, 0x18000c22a\nadd     edx, 1124109h                                                  ; +0x24d, 0x18000c22d\nxor     edx, eax                                                       ; +0x253, 0x18000c233\nsub     r8d, edx                                                       ; +0x255, 0x18000c235\nmov     eax, edx                                                       ; +0x258, 0x18000c238\nsub     r8d, ecx                                                       ; +0x25a, 0x18000c23a\nshr     eax, 0Dh                                                       ; +0x25d, 0x18000c23d\nxor     r8d, eax                                                       ; +0x260, 0x18000c240\nsub     ecx, r8d                                                       ; +0x263, 0x18000c243\nmov     eax, r8d                                                       ; +0x266, 0x18000c246\nsub     ecx, edx                                                       ; +0x269, 0x18000c249\nshr     eax, 0Ch                                                       ; +0x26b, 0x18000c24b\nsub     edx, r8d                                                       ; +0x26e, 0x18000c24e\nxor     ecx, eax                                                       ; +0x271, 0x18000c251\nsub     edx, ecx                                                       ; +0x273, 0x18000c253\nmov     eax, ecx                                                       ; +0x275, 0x18000c255\nshl     eax, 10h                                                       ; +0x277, 0x18000c257\nxor     edx, eax                                                       ; +0x27a, 0x18000c25a\nsub     r8d, edx                                                       ; +0x27c, 0x18000c25c\nmov     eax, edx                                                       ; +0x27f, 0x18000c25f\nsub     r8d, ecx                                                       ; +0x281, 0x18000c261\nshr     eax, 5                                                         ; +0x284, 0x18000c264\nxor     r8d, eax                                                       ; +0x287, 0x18000c267\nsub     ecx, r8d                                                       ; +0x28a, 0x18000c26a\nmov     eax, r8d                                                       ; +0x28d, 0x18000c26d\nsub     ecx, edx                                                       ; +0x290, 0x18000c270\nshr     eax, 3                                                         ; +0x292, 0x18000c272\nsub     edx, r8d                                                       ; +0x295, 0x18000c275\nxor     ecx, eax                                                       ; +0x298, 0x18000c278\nsub     edx, ecx                                                       ; +0x29a, 0x18000c27a\nmov     eax, ecx                                                       ; +0x29c, 0x18000c27c\nshl     eax, 0Ah                                                       ; +0x29e, 0x18000c27e\nxor     edx, eax                                                       ; +0x2a1, 0x18000c281\nsub     r8d, edx                                                       ; +0x2a3, 0x18000c283\nshr     edx, 0Fh                                                       ; +0x2a6, 0x18000c286\nsub     r8d, ecx                                                       ; +0x2a9, 0x18000c289\nxor     r8d, edx                                                       ; +0x2ac, 0x18000c28c\nmov     ecx, r8d                                                       ; +0x2af, 0x18000c28f\nmov     [rbx+144h], ecx                                                ; +0x2b2, 0x18000c292\nmov     rax, [rdi+38h]                                                 ; +0x2b8, 0x18000c298\nmov     rdx, [rax+110h]                                                ; +0x2bc, 0x18000c29c\nmov     r8d, [rdx+8]                                                   ; +0x2c3, 0x18000c2a3\nmov     rax, [rdx]                                                     ; +0x2c7, 0x18000c2a7\ndec     r8d                                                            ; +0x2ca, 0x18000c2aa\nand     r8, rcx                                                        ; +0x2cd, 0x18000c2ad\nadd     r8, r8                                                         ; +0x2d0, 0x18000c2b0\ninc     dword ptr [rax+r8*8+8]                                         ; +0x2d3, 0x18000c2b3\nmov     rax, [rdi+38h]                                                 ; +0x2d8, 0x18000c2b8\nmov     rcx, [rax+110h]                                                ; +0x2dc, 0x18000c2bc\nmov     rax, [rcx]                                                     ; +0x2e3, 0x18000c2c3\nmov     rcx, [rax+r8*8]                                                ; +0x2e6, 0x18000c2c6\nmov     [rbx+130h], rcx                                                ; +0x2ea, 0x18000c2ca\nmov     [rbx+128h], rbp                                                ; +0x2f1, 0x18000c2d1\nmov     rax, [rdi+38h]                                                 ; +0x2f8, 0x18000c2d8\nmov     rcx, [rax+110h]                                                ; +0x2fc, 0x18000c2dc\nmov     rax, [rcx]                                                     ; +0x303, 0x18000c2e3\nmov     rcx, [rax+r8*8]                                                ; +0x306, 0x18000c2e6\ntest    rcx, rcx                                                       ; +0x30a, 0x18000c2ea\njz      short loc_18000C2F3                                            ; +0x30d, 0x18000c2ed\nmov     [rcx+18h], rsi                                                 ; +0x30f, 0x18000c2ef\nmov     rax, [rdi+38h]                                                 ; +0x313, 0x18000c2f3\nmov     rcx, [rax+110h]                                                ; +0x317, 0x18000c2f7\nmov     rax, [rcx]                                                     ; +0x31e, 0x18000c2fe\nmov     [rax+r8*8], rsi                                                ; +0x321, 0x18000c301\nmov     rax, [rdi+38h]                                                 ; +0x325, 0x18000c305\nmov     rcx, [rax+110h]                                                ; +0x329, 0x18000c309\nmov     rcx, [rcx]                                                     ; +0x330, 0x18000c310\nmov     eax, [rcx+r8*8+0Ch]                                            ; +0x333, 0x18000c313\ninc     eax                                                            ; +0x338, 0x18000c318\nlea     eax, [rax+rax*4]                                               ; +0x33a, 0x18000c31a\nadd     eax, eax                                                       ; +0x33d, 0x18000c31d\ncmp     [rcx+r8*8+8], eax                                              ; +0x33f, 0x18000c31f\njb      loc_18000C47A                                                  ; +0x344, 0x18000c324\nmov     rax, [rsi]                                                     ; +0x34a, 0x18000c32a\ncmp     dword ptr [rax+34h], 1                                         ; +0x34d, 0x18000c32d\njz      loc_18000C47A                                                  ; +0x351, 0x18000c331\nmov     eax, [rax+8]                                                   ; +0x357, 0x18000c337\nlea     ecx, [rax+rax]                                                 ; +0x35a, 0x18000c33a\nshl     rcx, 4; Size                                                   ; +0x35d, 0x18000c33d\ncall    cs:__imp_malloc                                                ; +0x361, 0x18000c341\nmov     r14, rax                                                       ; +0x367, 0x18000c347\ntest    rax, rax                                                       ; +0x36a, 0x18000c34a\njnz     short loc_18000C35B                                            ; +0x36d, 0x18000c34d\nmov     ecx, 0FFFFFFFFh; Code                                          ; +0x36f, 0x18000c34f\ncall    cs:exit                                                        ; +0x374, 0x18000c354\ndb 0CCh                                                                ; +0x37a, 0x18000c35a\nmov     rdi, [rsi]                                                     ; +0x37b, 0x18000c35b\nxor     edx, edx; Val                                                  ; +0x37e, 0x18000c35e\nmov     rcx, r14; void *                                               ; +0x380, 0x18000c360\nmov     eax, [rdi+8]                                                   ; +0x383, 0x18000c363\nlea     ebx, [rax+rax]                                                 ; +0x386, 0x18000c366\nmov     r8d, ebx                                                       ; +0x389, 0x18000c369\nshl     r8, 4; Size                                                    ; +0x38c, 0x18000c36c\ncall    memset                                                         ; +0x390, 0x18000c370\nmov     ecx, [rdi+0Ch]                                                 ; +0x395, 0x18000c375\nlea     eax, [rbx-1]                                                   ; +0x398, 0x18000c378\nmov     r8d, [rdi+10h]                                                 ; +0x39b, 0x18000c37b\ninc     ecx                                                            ; +0x39f, 0x18000c37f\nshr     r8d, cl                                                        ; +0x3a1, 0x18000c381\nmov     r11d, ebp                                                      ; +0x3a4, 0x18000c384\ntest    [rdi+10h], eax                                                 ; +0x3a7, 0x18000c387\nmov     eax, ebp                                                       ; +0x3aa, 0x18000c38a\nsetnz   al                                                             ; +0x3ac, 0x18000c38c\nadd     r8d, eax                                                       ; +0x3af, 0x18000c38f\nmov     [rdi+28h], r8d                                                 ; +0x3b2, 0x18000c392\nmov     rax, [rsi]                                                     ; +0x3b6, 0x18000c396\nmov     [rax+2Ch], ebp                                                 ; +0x3b9, 0x18000c399\nmov     rax, [rsi]                                                     ; +0x3bc, 0x18000c39c\ncmp     [rax+8], ebp                                                   ; +0x3bf, 0x18000c39f\njbe     loc_18000C435                                                  ; +0x3c2, 0x18000c3a2\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x3c8, 0x18000c3a8\nmov     rax, [rax]                                                     ; +0x3d0, 0x18000c3b0\nmov     ecx, r11d                                                      ; +0x3d3, 0x18000c3b3\nadd     rcx, rcx                                                       ; +0x3d6, 0x18000c3b6\nmov     r9, [rax+rcx*8]                                                ; +0x3d9, 0x18000c3b9\ntest    r9, r9                                                         ; +0x3dd, 0x18000c3bd\njz      short loc_18000C425                                            ; +0x3e0, 0x18000c3c0\nmov     rax, [rsi]                                                     ; +0x3e2, 0x18000c3c2\nmov     r10, [r9+20h]                                                  ; +0x3e5, 0x18000c3c5\nmov     ecx, [rax+8]                                                   ; +0x3e9, 0x18000c3c9\nmov     eax, [r9+34h]                                                  ; +0x3ec, 0x18000c3cc\nlea     ecx, ds:0FFFFFFFFFFFFFFFFh[rcx*2]                              ; +0x3f0, 0x18000c3d0\nand     rcx, rax                                                       ; +0x3f7, 0x18000c3d7\nshl     rcx, 4                                                         ; +0x3fa, 0x18000c3da\nadd     rcx, r14                                                       ; +0x3fe, 0x18000c3de\nmov     eax, [rcx+8]                                                   ; +0x401, 0x18000c3e1\ninc     eax                                                            ; +0x404, 0x18000c3e4\nmov     [rcx+8], eax                                                   ; +0x406, 0x18000c3e6\nmov     rdx, [rsi]                                                     ; +0x409, 0x18000c3e9\ncmp     eax, [rdx+28h]                                                 ; +0x40c, 0x18000c3ec\njbe     short loc_18000C403                                            ; +0x40f, 0x18000c3ef\ninc     dword ptr [rdx+2Ch]                                            ; +0x411, 0x18000c3f1\nxor     edx, edx                                                       ; +0x414, 0x18000c3f4\nmov     r8, [rsi]                                                      ; +0x416, 0x18000c3f6\nmov     eax, [rcx+8]                                                   ; +0x419, 0x18000c3f9\ndiv     dword ptr [r8+28h]                                             ; +0x41c, 0x18000c3fc\nmov     [rcx+0Ch], eax                                                 ; +0x420, 0x18000c400\nmov     [r9+18h], rbp                                                  ; +0x423, 0x18000c403\nmov     rax, [rcx]                                                     ; +0x427, 0x18000c407\nmov     [r9+20h], rax                                                  ; +0x42a, 0x18000c40a\nmov     rax, [rcx]                                                     ; +0x42e, 0x18000c40e\ntest    rax, rax                                                       ; +0x431, 0x18000c411\njz      short loc_18000C41A                                            ; +0x434, 0x18000c414\nmov     [rax+18h], r9                                                  ; +0x436, 0x18000c416\nmov     [rcx], r9                                                      ; +0x43a, 0x18000c41a\nmov     r9, r10                                                        ; +0x43d, 0x18000c41d\ntest    r10, r10                                                       ; +0x440, 0x18000c420\njnz     short loc_18000C3C2                                            ; +0x443, 0x18000c423\nmov     rax, [rsi]                                                     ; +0x445, 0x18000c425\ninc     r11d                                                           ; +0x448, 0x18000c428\ncmp     r11d, [rax+8]                                                  ; +0x44b, 0x18000c42b\njb      loc_18000C3B0                                                  ; +0x44f, 0x18000c42f\nmov     rcx, [rax]; Block                                              ; +0x455, 0x18000c435\ncall    cs:__imp_free                                                  ; +0x458, 0x18000c438\nmov     rcx, [rsi]                                                     ; +0x45e, 0x18000c43e\nmov     eax, [rcx+8]                                                   ; +0x461, 0x18000c441\nadd     eax, eax                                                       ; +0x464, 0x18000c444\nmov     [rcx+8], eax                                                   ; +0x466, 0x18000c446\nmov     rax, [rsi]                                                     ; +0x469, 0x18000c449\ninc     dword ptr [rax+0Ch]                                            ; +0x46c, 0x18000c44c\nmov     rax, [rsi]                                                     ; +0x46f, 0x18000c44f\nmov     [rax], r14                                                     ; +0x472, 0x18000c452\nmov     rcx, [rsi]                                                     ; +0x475, 0x18000c455\nmov     eax, [rcx+10h]                                                 ; +0x478, 0x18000c458\nshr     eax, 1                                                         ; +0x47b, 0x18000c45b\ncmp     [rcx+2Ch], eax                                                 ; +0x47d, 0x18000c45d\njbe     short loc_18000C467                                            ; +0x480, 0x18000c460\nmov     ebp, [rcx+30h]                                                 ; +0x482, 0x18000c462\ninc     ebp                                                            ; +0x485, 0x18000c465\nmov     [rcx+30h], ebp                                                 ; +0x487, 0x18000c467\nmov     rax, [rsi]                                                     ; +0x48a, 0x18000c46a\ncmp     dword ptr [rax+30h], 1                                         ; +0x48d, 0x18000c46d\njbe     short loc_18000C47A                                            ; +0x491, 0x18000c471\nmov     dword ptr [rax+34h], 1                                         ; +0x493, 0x18000c473\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x49a, 0x18000c47a\nmov     rbp, [rsp+38h+arg_10]                                          ; +0x49f, 0x18000c47f\nadd     rsp, 20h                                                       ; +0x4a4, 0x18000c484\npop     r14                                                            ; +0x4a8, 0x18000c488\npop     rdi                                                            ; +0x4aa, 0x18000c48a\npop     rsi                                                            ; +0x4ab, 0x18000c48b\nretn                                                                   ; +0x4ac, 0x18000c48c", "xrefs": ["cocos2d::CCDictionary::copyWithZone @ 0x180009d3f", "cocos2d::CCDictionary::setObject @ 0x18000b8f2", "<???> @ 0x1801438a8", "<???> @ 0x1801ade1c"], "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"}