{"type": "func", "start": 6443241344, "end": 6443242519, "name": "cocos2d::CCScheduler::priorityIn", "pseudocode": "// \n// cocos2d::CCScheduler::priorityIn from 0x1800c0f80 to 0x1800c1417 (1175 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCScheduler::scheduleUpdateForTarget @ 0x1800c2333\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b94bc\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::CCScheduler::priorityIn(\n        cocos2d::CCScheduler *this,\n        struct cocos2d::_listEntry **a2,\n        struct cocos2d::CCObject *a3,\n        int a4,\n        bool a5)\n{\n  _QWORD *v9; // rax\n  _QWORD *v10; // rdx\n  int v11; // ebp\n  _QWORD *v12; // rbx\n  _QWORD *v13; // rcx\n  __int64 v14; // rax\n  char *v15; // rax\n  char *v16; // r14\n  unsigned __int8 *v17; // r13\n  cocos2d::_hashUpdateEntry *m_pHashForUpdates; // rax\n  _OWORD *v19; // rcx\n  void *v20; // rcx\n  void ***v21; // rsi\n  int v22; // edx\n  unsigned int v23; // ecx\n  unsigned int v24; // r8d\n  int v25; // edx\n  unsigned int v26; // ecx\n  unsigned int v27; // r8d\n  unsigned int v28; // edx\n  unsigned int v29; // ecx\n  __int64 v30; // rdx\n  __int64 v31; // r8\n  __int64 v32; // rcx\n  __int64 v33; // rcx\n  char *v34; // rax\n  char *v35; // r14\n  void **v36; // rdi\n  unsigned int v37; // ebx\n  unsigned int v38; // r11d\n  void **i; // rax\n  __int64 v40; // r9\n  __int64 v41; // r10\n  char *v42; // rcx\n  unsigned int v43; // eax\n  void **v44; // rcx\n\n  v9 = malloc(0x20u);\n  v10 = *a2;\n  v11 = 0;\n  v12 = v9;\n  v9[2] = a3;\n  *((_DWORD *)v9 + 6) = a4;\n  *((_BYTE *)v9 + 28) = a5;\n  *v9 = 0;\n  v9[1] = 0;\n  *((_BYTE *)v9 + 29) = 0;\n  if ( v10 )\n  {\n    v13 = v10;\n    while ( a4 >= *((_DWORD *)v13 + 6) )\n    {\n      v13 = (_QWORD *)v13[1];\n      if ( !v13 )\n      {\n        *v9 = *v10;\n        *(_QWORD *)(*v10 + 8LL) = v9;\n        *(_QWORD *)*a2 = v9;\n        v9[1] = 0;\n        goto LABEL_10;\n      }\n    }\n    if ( v13 == v10 )\n    {\n      v9[1] = v10;\n      *v9 = *v10;\n      *v10 = v9;\n      *a2 = (struct cocos2d::_listEntry *)v9;\n    }\n    else\n    {\n      v9[1] = v13;\n      v14 = *v13;\n      *v12 = *v13;\n      *(_QWORD *)(v14 + 8) = v12;\n      *v13 = v12;\n    }\n  }\n  else\n  {\n    *a2 = (struct cocos2d::_listEntry *)v9;\n    *v9 = v9;\n  }\nLABEL_10:\n  v15 = (char *)calloc(0x50u, 1u);\n  *((_QWORD *)v15 + 2) = a3;\n  v16 = v15;\n  v17 = (unsigned __int8 *)(v15 + 16);\n  cocos2d::CCObject::retain(a3);\n  *(_QWORD *)v16 = a2;\n  *((_QWORD *)v16 + 1) = v12;\n  *((_QWORD *)v16 + 5) = 0;\n  *((_QWORD *)v16 + 8) = v17;\n  *((_DWORD *)v16 + 18) = 4;\n  m_pHashForUpdates = this->m_pHashForUpdates;\n  if ( m_pHashForUpdates )\n  {\n    v21 = (void ***)(v16 + 24);\n    *(_QWORD *)(*(_QWORD *)(*((_QWORD *)m_pHashForUpdates + 3) + 24LL) + 16LL) = v16;\n    *((_QWORD *)v16 + 4) = *(_QWORD *)(*((_QWORD *)this->m_pHashForUpdates + 3) + 24LL)\n                         - *(_QWORD *)(*((_QWORD *)this->m_pHashForUpdates + 3) + 32LL);\n    *(_QWORD *)(*((_QWORD *)this->m_pHashForUpdates + 3) + 24LL) = v16 + 24;\n  }\n  else\n  {\n    this->m_pHashForUpdates = (cocos2d::_hashUpdateEntry *)v16;\n    *((_QWORD *)v16 + 4) = 0;\n    *((_QWORD *)this->m_pHashForUpdates + 3) = malloc(0x40u);\n    v19 = *((_OWORD **)this->m_pHashForUpdates + 3);\n    if ( !v19 )\n      goto LABEL_20;\n    *v19 = 0;\n    v19[1] = 0;\n    v19[2] = 0;\n    v19[3] = 0;\n    *(_QWORD *)(*((_QWORD *)this->m_pHashForUpdates + 3) + 24LL) = (char *)this->m_pHashForUpdates + 24;\n    *(_DWORD *)(*((_QWORD *)this->m_pHashForUpdates + 3) + 8LL) = 32;\n    *(_DWORD *)(*((_QWORD *)this->m_pHashForUpdates + 3) + 12LL) = 5;\n    *(_QWORD *)(*((_QWORD *)this->m_pHashForUpdates + 3) + 32LL) = 24;\n    **((_QWORD **)this->m_pHashForUpdates + 3) = malloc(0x200u);\n    v20 = **((void ***)this->m_pHashForUpdates + 3);\n    if ( !v20 )\nLABEL_20:\n      exit(-1);\n    memset(v20, 0, 0x200u);\n    v21 = (void ***)(v16 + 24);\n    *(_DWORD *)(*((_QWORD *)this->m_pHashForUpdates + 3) + 56LL) = -1609490463;\n  }\n  ++*(_DWORD *)(*((_QWORD *)this->m_pHashForUpdates + 3) + 16LL);\n  *v21 = *((void ***)this->m_pHashForUpdates + 3);\n  *((_DWORD *)v16 + 19) = -17973517;\n  v22 = (((v17[1] + ((v17[2] + (v17[3] << 8)) << 8)) << 8) + 17973517 + *v17) ^ 0x7F76D;\n  v23 = (v22 << 8) ^ (-1622558010 - v22);\n  v24 = (v23 >> 13) ^ (-17973517 - v23 - v22);\n  v25 = (v24 >> 12) ^ (v22 - v24 - v23);\n  v26 = (v25 << 16) ^ (v23 - v24 - v25);\n  v27 = (v26 >> 5) ^ (v24 - v26 - v25);\n  v28 = v25 - v27 - v26;\n  v29 = (v27 - ((((v27 >> 3) ^ v28) << 10) ^ (v26 - v27 - ((v27 >> 3) ^ v28))) - ((v27 >> 3) ^ v28))\n      ^ (((((v27 >> 3) ^ v28) << 10) ^ (v26 - v27 - ((v27 >> 3) ^ v28))) >> 15);\n  *((_DWORD *)v16 + 19) = v29;\n  v30 = *((_QWORD *)this->m_pHashForUpdates + 3);\n  v31 = 2LL * (v29 & (*(_DWORD *)(v30 + 8) - 1));\n  ++*(_DWORD *)(*(_QWORD *)v30 + 8 * v31 + 8);\n  *((_QWORD *)v16 + 7) = *(_QWORD *)(**((_QWORD **)this->m_pHashForUpdates + 3) + 8 * v31);\n  *((_QWORD *)v16 + 6) = 0;\n  v32 = *(_QWORD *)(**((_QWORD **)this->m_pHashForUpdates + 3) + 8 * v31);\n  if ( v32 )\n    *(_QWORD *)(v32 + 24) = v21;\n  *(_QWORD *)(**((_QWORD **)this->m_pHashForUpdates + 3) + 8 * v31) = v21;\n  v33 = **((_QWORD **)this->m_pHashForUpdates + 3);\n  if ( *(_DWORD *)(v33 + 8 * v31 + 8) >= (unsigned int)(10 * (*(_DWORD *)(v33 + 8 * v31 + 12) + 1))\n    && *((_DWORD *)*v21 + 13) != 1 )\n  {\n    v34 = (char *)malloc(16LL * (unsigned int)(2 * *((_DWORD *)*v21 + 2)));\n    v35 = v34;\n    if ( !v34 )\n      goto LABEL_20;\n    v36 = *v21;\n    v37 = 2 * *((_DWORD *)*v21 + 2);\n    memset(v34, 0, 16LL * v37);\n    v38 = 0;\n    *((_DWORD *)v36 + 10) = (((v37 - 1) & (_DWORD)v36[2]) != 0) + (*((_DWORD *)v36 + 4) >> (*((_BYTE *)v36 + 12) + 1));\n    *((_DWORD *)*v21 + 11) = 0;\n    for ( i = *v21; v38 < *((_DWORD *)*v21 + 2); ++v38 )\n    {\n      v40 = *((_QWORD *)*i + 2 * v38);\n      if ( v40 )\n      {\n        do\n        {\n          v41 = *(_QWORD *)(v40 + 32);\n          v42 = &v35[16 * (*(_DWORD *)(v40 + 52) & (2 * *((_DWORD *)*v21 + 2) - 1))];\n          v43 = *((_DWORD *)v42 + 2) + 1;\n          *((_DWORD *)v42 + 2) = v43;\n          if ( v43 > *((_DWORD *)*v21 + 10) )\n          {\n            ++*((_DWORD *)*v21 + 11);\n            *((_DWORD *)v42 + 3) = *((_DWORD *)v42 + 2) / *((_DWORD *)*v21 + 10);\n          }\n          *(_QWORD *)(v40 + 24) = 0;\n          *(_QWORD *)(v40 + 32) = *(_QWORD *)v42;\n          if ( *(_QWORD *)v42 )\n            *(_QWORD *)(*(_QWORD *)v42 + 24LL) = v40;\n          *(_QWORD *)v42 = v40;\n          v40 = v41;\n        }\n        while ( v41 );\n      }\n      i = *v21;\n    }\n    free(*i);\n    *((_DWORD *)*v21 + 2) *= 2;\n    ++*((_DWORD *)*v21 + 3);\n    **v21 = v35;\n    v44 = *v21;\n    if ( *((_DWORD *)*v21 + 11) > *((_DWORD *)*v21 + 4) >> 1 )\n      v11 = *((_DWORD *)v44 + 12) + 1;\n    *((_DWORD *)v44 + 12) = v11;\n    if ( *((_DWORD *)*v21 + 12) > 1u )\n      *((_DWORD *)*v21 + 13) = 1;\n  }\n}", "assembly": "; \n; cocos2d::CCScheduler::priorityIn from 0x1800c0f80 to 0x1800c1417 (1175 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCScheduler::scheduleUpdateForTarget @ 0x1800c2333\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b94bc\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_0], rbx                                               ; +0x0, 0x1800c0f80\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800c0f85\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1800c0f8a\npush    rdi                                                            ; +0xf, 0x1800c0f8f\npush    r12                                                            ; +0x10, 0x1800c0f90\npush    r13                                                            ; +0x12, 0x1800c0f92\npush    r14                                                            ; +0x14, 0x1800c0f94\npush    r15                                                            ; +0x16, 0x1800c0f96\nsub     rsp, 20h                                                       ; +0x18, 0x1800c0f98\nmov     rdi, rcx                                                       ; +0x1c, 0x1800c0f9c\nmov     esi, r9d                                                       ; +0x1f, 0x1800c0f9f\nmov     ecx, 20h ; ' '; Size                                           ; +0x22, 0x1800c0fa2\nmov     r12, r8                                                        ; +0x27, 0x1800c0fa7\nmov     r15, rdx                                                       ; +0x2a, 0x1800c0faa\ncall    cs:__imp_malloc                                                ; +0x2d, 0x1800c0fad\nmov     rdx, [r15]                                                     ; +0x33, 0x1800c0fb3\nxor     ebp, ebp                                                       ; +0x36, 0x1800c0fb6\nmovzx   r10d, [rsp+48h+arg_20]                                         ; +0x38, 0x1800c0fb8\nmov     rbx, rax                                                       ; +0x3e, 0x1800c0fbe\nmov     [rax+10h], r12                                                 ; +0x41, 0x1800c0fc1\nmov     [rax+18h], esi                                                 ; +0x45, 0x1800c0fc5\nmov     [rax+1Ch], r10b                                                ; +0x48, 0x1800c0fc8\nmov     [rax], rbp                                                     ; +0x4c, 0x1800c0fcc\nmov     [rax+8], rbp                                                   ; +0x4f, 0x1800c0fcf\nmov     [rax+1Dh], bpl                                                 ; +0x53, 0x1800c0fd3\ntest    rdx, rdx                                                       ; +0x57, 0x1800c0fd7\njnz     short loc_1800C0FE4                                            ; +0x5a, 0x1800c0fda\nmov     [r15], rax                                                     ; +0x5c, 0x1800c0fdc\nmov     [rax], rax                                                     ; +0x5f, 0x1800c0fdf\njmp     short loc_1800C1036                                            ; +0x62, 0x1800c0fe2\nmov     rcx, rdx                                                       ; +0x64, 0x1800c0fe4\ncmp     esi, [rcx+18h]                                                 ; +0x67, 0x1800c0fe7\njl      short loc_1800C100E                                            ; +0x6a, 0x1800c0fea\nmov     rcx, [rcx+8]                                                   ; +0x6c, 0x1800c0fec\ntest    rcx, rcx                                                       ; +0x70, 0x1800c0ff0\njnz     short loc_1800C0FE7                                            ; +0x73, 0x1800c0ff3\nmov     rax, [rdx]                                                     ; +0x75, 0x1800c0ff5\nmov     [rbx], rax                                                     ; +0x78, 0x1800c0ff8\nmov     rax, [rdx]                                                     ; +0x7b, 0x1800c0ffb\nmov     [rax+8], rbx                                                   ; +0x7e, 0x1800c0ffe\nmov     rax, [r15]                                                     ; +0x82, 0x1800c1002\nmov     [rax], rbx                                                     ; +0x85, 0x1800c1005\nmov     [rbx+8], rbp                                                   ; +0x88, 0x1800c1008\njmp     short loc_1800C1036                                            ; +0x8c, 0x1800c100c\ncmp     rcx, rdx                                                       ; +0x8e, 0x1800c100e\njnz     short loc_1800C1025                                            ; +0x91, 0x1800c1011\nmov     [rax+8], rdx                                                   ; +0x93, 0x1800c1013\nmov     rax, [rdx]                                                     ; +0x97, 0x1800c1017\nmov     [rbx], rax                                                     ; +0x9a, 0x1800c101a\nmov     [rdx], rbx                                                     ; +0x9d, 0x1800c101d\nmov     [r15], rbx                                                     ; +0xa0, 0x1800c1020\njmp     short loc_1800C1036                                            ; +0xa3, 0x1800c1023\nmov     [rax+8], rcx                                                   ; +0xa5, 0x1800c1025\nmov     rax, [rcx]                                                     ; +0xa9, 0x1800c1029\nmov     [rbx], rax                                                     ; +0xac, 0x1800c102c\nmov     [rax+8], rbx                                                   ; +0xaf, 0x1800c102f\nmov     [rcx], rbx                                                     ; +0xb3, 0x1800c1033\nmov     edx, 1; Size                                                   ; +0xb6, 0x1800c1036\nlea     ecx, [rdx+4Fh]; Count                                          ; +0xbb, 0x1800c103b\ncall    cs:calloc                                                      ; +0xbe, 0x1800c103e\nmov     rcx, r12; this                                                 ; +0xc4, 0x1800c1044\nmov     [rax+10h], r12                                                 ; +0xc7, 0x1800c1047\nmov     r14, rax                                                       ; +0xcb, 0x1800c104b\nlea     r13, [rax+10h]                                                 ; +0xce, 0x1800c104e\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0xd2, 0x1800c1052\nmov     [r14], r15                                                     ; +0xd7, 0x1800c1057\nmov     [r14+8], rbx                                                   ; +0xda, 0x1800c105a\nmov     [r14+28h], rbp                                                 ; +0xde, 0x1800c105e\nmov     [r14+40h], r13                                                 ; +0xe2, 0x1800c1062\nmov     dword ptr [r14+48h], 4                                         ; +0xe6, 0x1800c1066\nmov     rax, [rdi+58h]                                                 ; +0xee, 0x1800c106e\ntest    rax, rax                                                       ; +0xf2, 0x1800c1072\njnz     loc_1800C1140                                                  ; +0xf5, 0x1800c1075\nmov     [rdi+58h], r14                                                 ; +0xfb, 0x1800c107b\nlea     ecx, [rax+40h]; Size                                           ; +0xff, 0x1800c107f\nmov     [r14+20h], rbp                                                 ; +0x102, 0x1800c1082\ncall    cs:__imp_malloc                                                ; +0x106, 0x1800c1086\nmov     rcx, [rdi+58h]                                                 ; +0x10c, 0x1800c108c\nmov     [rcx+18h], rax                                                 ; +0x110, 0x1800c1090\nmov     rax, [rdi+58h]                                                 ; +0x114, 0x1800c1094\nmov     rcx, [rax+18h]                                                 ; +0x118, 0x1800c1098\ntest    rcx, rcx                                                       ; +0x11c, 0x1800c109c\njz      loc_1800C12CD                                                  ; +0x11f, 0x1800c109f\nxorps   xmm0, xmm0                                                     ; +0x125, 0x1800c10a5\nmovups  xmmword ptr [rcx], xmm0                                        ; +0x128, 0x1800c10a8\nmovups  xmmword ptr [rcx+10h], xmm0                                    ; +0x12b, 0x1800c10ab\nmovups  xmmword ptr [rcx+20h], xmm0                                    ; +0x12f, 0x1800c10af\nmovups  xmmword ptr [rcx+30h], xmm0                                    ; +0x133, 0x1800c10b3\nmov     rcx, [rdi+58h]                                                 ; +0x137, 0x1800c10b7\nadd     rcx, 18h                                                       ; +0x13b, 0x1800c10bb\nmov     rax, [rcx]                                                     ; +0x13f, 0x1800c10bf\nmov     [rax+18h], rcx                                                 ; +0x142, 0x1800c10c2\nmov     rax, [rdi+58h]                                                 ; +0x146, 0x1800c10c6\nmov     rcx, [rax+18h]                                                 ; +0x14a, 0x1800c10ca\nmov     dword ptr [rcx+8], 20h ; ' '                                   ; +0x14e, 0x1800c10ce\nmov     rax, [rdi+58h]                                                 ; +0x155, 0x1800c10d5\nmov     rcx, [rax+18h]                                                 ; +0x159, 0x1800c10d9\nmov     dword ptr [rcx+0Ch], 5                                         ; +0x15d, 0x1800c10dd\nmov     rax, [rdi+58h]                                                 ; +0x164, 0x1800c10e4\nmov     rcx, [rax+18h]                                                 ; +0x168, 0x1800c10e8\nmov     qword ptr [rcx+20h], 18h                                       ; +0x16c, 0x1800c10ec\nmov     ecx, 200h; Size                                                ; +0x174, 0x1800c10f4\ncall    cs:__imp_malloc                                                ; +0x179, 0x1800c10f9\nmov     rcx, [rdi+58h]                                                 ; +0x17f, 0x1800c10ff\nmov     rdx, [rcx+18h]                                                 ; +0x183, 0x1800c1103\nmov     [rdx], rax                                                     ; +0x187, 0x1800c1107\nmov     rax, [rdi+58h]                                                 ; +0x18a, 0x1800c110a\nmov     rcx, [rax+18h]                                                 ; +0x18e, 0x1800c110e\nmov     rcx, [rcx]; void *                                             ; +0x192, 0x1800c1112\ntest    rcx, rcx                                                       ; +0x195, 0x1800c1115\njz      loc_1800C12CD                                                  ; +0x198, 0x1800c1118\nxor     edx, edx; Val                                                  ; +0x19e, 0x1800c111e\nmov     r8d, 200h; Size                                                ; +0x1a0, 0x1800c1120\ncall    memset                                                         ; +0x1a6, 0x1800c1126\nmov     rax, [rdi+58h]                                                 ; +0x1ab, 0x1800c112b\nlea     rsi, [r14+18h]                                                 ; +0x1af, 0x1800c112f\nmov     rcx, [rax+18h]                                                 ; +0x1b3, 0x1800c1133\nmov     dword ptr [rcx+38h], 0A0111FE1h                                ; +0x1b7, 0x1800c1137\njmp     short loc_1800C1170                                            ; +0x1be, 0x1800c113e\nmov     rax, [rax+18h]                                                 ; +0x1c0, 0x1800c1140\nlea     rsi, [r14+18h]                                                 ; +0x1c4, 0x1800c1144\nmov     rcx, [rax+18h]                                                 ; +0x1c8, 0x1800c1148\nmov     [rcx+10h], r14                                                 ; +0x1cc, 0x1800c114c\nmov     rax, [rdi+58h]                                                 ; +0x1d0, 0x1800c1150\nmov     rcx, [rax+18h]                                                 ; +0x1d4, 0x1800c1154\nmov     rax, [rcx+18h]                                                 ; +0x1d8, 0x1800c1158\nsub     rax, [rcx+20h]                                                 ; +0x1dc, 0x1800c115c\nmov     [r14+20h], rax                                                 ; +0x1e0, 0x1800c1160\nmov     rax, [rdi+58h]                                                 ; +0x1e4, 0x1800c1164\nmov     rcx, [rax+18h]                                                 ; +0x1e8, 0x1800c1168\nmov     [rcx+18h], rsi                                                 ; +0x1ec, 0x1800c116c\nmov     rax, [rdi+58h]                                                 ; +0x1f0, 0x1800c1170\nmov     r8d, 0FEEDBEF3h                                                ; +0x1f4, 0x1800c1174\nmov     rcx, [rax+18h]                                                 ; +0x1fa, 0x1800c117a\ninc     dword ptr [rcx+10h]                                            ; +0x1fe, 0x1800c117e\nmov     rax, [rdi+58h]                                                 ; +0x201, 0x1800c1181\nmov     rcx, [rax+18h]                                                 ; +0x205, 0x1800c1185\nmov     [rsi], rcx                                                     ; +0x209, 0x1800c1189\nmov     [r14+4Ch], r8d                                                 ; +0x20c, 0x1800c118c\nmovzx   ecx, byte ptr [r13+3]                                          ; +0x210, 0x1800c1190\nmovzx   eax, byte ptr [r13+2]                                          ; +0x215, 0x1800c1195\nmovzx   edx, byte ptr [r13+0]                                          ; +0x21a, 0x1800c119a\nshl     ecx, 8                                                         ; +0x21f, 0x1800c119f\nadd     ecx, eax                                                       ; +0x222, 0x1800c11a2\nmovzx   eax, byte ptr [r13+1]                                          ; +0x224, 0x1800c11a4\nshl     ecx, 8                                                         ; +0x229, 0x1800c11a9\nadd     ecx, eax                                                       ; +0x22c, 0x1800c11ac\nshl     ecx, 8                                                         ; +0x22e, 0x1800c11ae\nadd     ecx, 112410Dh                                                  ; +0x231, 0x1800c11b1\nadd     edx, ecx                                                       ; +0x237, 0x1800c11b7\nmov     ecx, 9F49BAC6h                                                 ; +0x239, 0x1800c11b9\nxor     edx, 7F76Dh                                                    ; +0x23e, 0x1800c11be\nsub     ecx, edx                                                       ; +0x244, 0x1800c11c4\nmov     eax, edx                                                       ; +0x246, 0x1800c11c6\nshl     eax, 8                                                         ; +0x248, 0x1800c11c8\nxor     ecx, eax                                                       ; +0x24b, 0x1800c11cb\nsub     r8d, ecx                                                       ; +0x24d, 0x1800c11cd\nmov     eax, ecx                                                       ; +0x250, 0x1800c11d0\nsub     r8d, edx                                                       ; +0x252, 0x1800c11d2\nshr     eax, 0Dh                                                       ; +0x255, 0x1800c11d5\nxor     r8d, eax                                                       ; +0x258, 0x1800c11d8\nsub     edx, r8d                                                       ; +0x25b, 0x1800c11db\nmov     eax, r8d                                                       ; +0x25e, 0x1800c11de\nsub     edx, ecx                                                       ; +0x261, 0x1800c11e1\nshr     eax, 0Ch                                                       ; +0x263, 0x1800c11e3\nxor     edx, eax                                                       ; +0x266, 0x1800c11e6\nsub     ecx, r8d                                                       ; +0x268, 0x1800c11e8\nsub     ecx, edx                                                       ; +0x26b, 0x1800c11eb\nmov     eax, edx                                                       ; +0x26d, 0x1800c11ed\nshl     eax, 10h                                                       ; +0x26f, 0x1800c11ef\nxor     ecx, eax                                                       ; +0x272, 0x1800c11f2\nsub     r8d, ecx                                                       ; +0x274, 0x1800c11f4\nmov     eax, ecx                                                       ; +0x277, 0x1800c11f7\nsub     r8d, edx                                                       ; +0x279, 0x1800c11f9\nshr     eax, 5                                                         ; +0x27c, 0x1800c11fc\nxor     r8d, eax                                                       ; +0x27f, 0x1800c11ff\nsub     edx, r8d                                                       ; +0x282, 0x1800c1202\nmov     eax, r8d                                                       ; +0x285, 0x1800c1205\nsub     edx, ecx                                                       ; +0x288, 0x1800c1208\nshr     eax, 3                                                         ; +0x28a, 0x1800c120a\nsub     ecx, r8d                                                       ; +0x28d, 0x1800c120d\nxor     edx, eax                                                       ; +0x290, 0x1800c1210\nsub     ecx, edx                                                       ; +0x292, 0x1800c1212\nmov     eax, edx                                                       ; +0x294, 0x1800c1214\nshl     eax, 0Ah                                                       ; +0x296, 0x1800c1216\nxor     ecx, eax                                                       ; +0x299, 0x1800c1219\nsub     r8d, ecx                                                       ; +0x29b, 0x1800c121b\nshr     ecx, 0Fh                                                       ; +0x29e, 0x1800c121e\nsub     r8d, edx                                                       ; +0x2a1, 0x1800c1221\nxor     ecx, r8d                                                       ; +0x2a4, 0x1800c1224\nmov     [r14+4Ch], ecx                                                 ; +0x2a7, 0x1800c1227\nmov     rax, [rdi+58h]                                                 ; +0x2ab, 0x1800c122b\nmov     rdx, [rax+18h]                                                 ; +0x2af, 0x1800c122f\nmov     r8d, [rdx+8]                                                   ; +0x2b3, 0x1800c1233\nmov     rax, [rdx]                                                     ; +0x2b7, 0x1800c1237\ndec     r8d                                                            ; +0x2ba, 0x1800c123a\nand     r8, rcx                                                        ; +0x2bd, 0x1800c123d\nadd     r8, r8                                                         ; +0x2c0, 0x1800c1240\ninc     dword ptr [rax+r8*8+8]                                         ; +0x2c3, 0x1800c1243\nmov     rax, [rdi+58h]                                                 ; +0x2c8, 0x1800c1248\nmov     rcx, [rax+18h]                                                 ; +0x2cc, 0x1800c124c\nmov     rax, [rcx]                                                     ; +0x2d0, 0x1800c1250\nmov     rcx, [rax+r8*8]                                                ; +0x2d3, 0x1800c1253\nmov     [r14+38h], rcx                                                 ; +0x2d7, 0x1800c1257\nmov     [r14+30h], rbp                                                 ; +0x2db, 0x1800c125b\nmov     rax, [rdi+58h]                                                 ; +0x2df, 0x1800c125f\nmov     rcx, [rax+18h]                                                 ; +0x2e3, 0x1800c1263\nmov     rax, [rcx]                                                     ; +0x2e7, 0x1800c1267\nmov     rcx, [rax+r8*8]                                                ; +0x2ea, 0x1800c126a\ntest    rcx, rcx                                                       ; +0x2ee, 0x1800c126e\njz      short loc_1800C1277                                            ; +0x2f1, 0x1800c1271\nmov     [rcx+18h], rsi                                                 ; +0x2f3, 0x1800c1273\nmov     rax, [rdi+58h]                                                 ; +0x2f7, 0x1800c1277\nmov     rcx, [rax+18h]                                                 ; +0x2fb, 0x1800c127b\nmov     rax, [rcx]                                                     ; +0x2ff, 0x1800c127f\nmov     [rax+r8*8], rsi                                                ; +0x302, 0x1800c1282\nmov     rax, [rdi+58h]                                                 ; +0x306, 0x1800c1286\nmov     rcx, [rax+18h]                                                 ; +0x30a, 0x1800c128a\nmov     rcx, [rcx]                                                     ; +0x30e, 0x1800c128e\nmov     eax, [rcx+r8*8+0Ch]                                            ; +0x311, 0x1800c1291\ninc     eax                                                            ; +0x316, 0x1800c1296\nlea     eax, [rax+rax*4]                                               ; +0x318, 0x1800c1298\nadd     eax, eax                                                       ; +0x31b, 0x1800c129b\ncmp     [rcx+r8*8+8], eax                                              ; +0x31d, 0x1800c129d\njb      loc_1800C13FA                                                  ; +0x322, 0x1800c12a2\nmov     rax, [rsi]                                                     ; +0x328, 0x1800c12a8\ncmp     dword ptr [rax+34h], 1                                         ; +0x32b, 0x1800c12ab\njz      loc_1800C13FA                                                  ; +0x32f, 0x1800c12af\nmov     eax, [rax+8]                                                   ; +0x335, 0x1800c12b5\nlea     ecx, [rax+rax]                                                 ; +0x338, 0x1800c12b8\nshl     rcx, 4; Size                                                   ; +0x33b, 0x1800c12bb\ncall    cs:__imp_malloc                                                ; +0x33f, 0x1800c12bf\nmov     r14, rax                                                       ; +0x345, 0x1800c12c5\ntest    rax, rax                                                       ; +0x348, 0x1800c12c8\njnz     short loc_1800C12D9                                            ; +0x34b, 0x1800c12cb\nmov     ecx, 0FFFFFFFFh; Code                                          ; +0x34d, 0x1800c12cd\ncall    cs:exit                                                        ; +0x352, 0x1800c12d2\ndb 0CCh                                                                ; +0x358, 0x1800c12d8\nmov     rdi, [rsi]                                                     ; +0x359, 0x1800c12d9\nxor     edx, edx; Val                                                  ; +0x35c, 0x1800c12dc\nmov     rcx, r14; void *                                               ; +0x35e, 0x1800c12de\nmov     eax, [rdi+8]                                                   ; +0x361, 0x1800c12e1\nlea     ebx, [rax+rax]                                                 ; +0x364, 0x1800c12e4\nmov     r8d, ebx                                                       ; +0x367, 0x1800c12e7\nshl     r8, 4; Size                                                    ; +0x36a, 0x1800c12ea\ncall    memset                                                         ; +0x36e, 0x1800c12ee\nmov     ecx, [rdi+0Ch]                                                 ; +0x373, 0x1800c12f3\nlea     eax, [rbx-1]                                                   ; +0x376, 0x1800c12f6\nmov     r8d, [rdi+10h]                                                 ; +0x379, 0x1800c12f9\ninc     ecx                                                            ; +0x37d, 0x1800c12fd\nshr     r8d, cl                                                        ; +0x37f, 0x1800c12ff\nmov     r11d, ebp                                                      ; +0x382, 0x1800c1302\ntest    [rdi+10h], eax                                                 ; +0x385, 0x1800c1305\nmov     eax, ebp                                                       ; +0x388, 0x1800c1308\nsetnz   al                                                             ; +0x38a, 0x1800c130a\nadd     r8d, eax                                                       ; +0x38d, 0x1800c130d\nmov     [rdi+28h], r8d                                                 ; +0x390, 0x1800c1310\nmov     rax, [rsi]                                                     ; +0x394, 0x1800c1314\nmov     [rax+2Ch], ebp                                                 ; +0x397, 0x1800c1317\nmov     rax, [rsi]                                                     ; +0x39a, 0x1800c131a\ncmp     [rax+8], ebp                                                   ; +0x39d, 0x1800c131d\njbe     loc_1800C13B5                                                  ; +0x3a0, 0x1800c1320\nnop     word ptr [rax+rax+00000000h]                                   ; +0x3a6, 0x1800c1326\nmov     rax, [rax]                                                     ; +0x3b0, 0x1800c1330\nmov     ecx, r11d                                                      ; +0x3b3, 0x1800c1333\nadd     rcx, rcx                                                       ; +0x3b6, 0x1800c1336\nmov     r9, [rax+rcx*8]                                                ; +0x3b9, 0x1800c1339\ntest    r9, r9                                                         ; +0x3bd, 0x1800c133d\njz      short loc_1800C13A5                                            ; +0x3c0, 0x1800c1340\nmov     rax, [rsi]                                                     ; +0x3c2, 0x1800c1342\nmov     r10, [r9+20h]                                                  ; +0x3c5, 0x1800c1345\nmov     ecx, [rax+8]                                                   ; +0x3c9, 0x1800c1349\nmov     eax, [r9+34h]                                                  ; +0x3cc, 0x1800c134c\nlea     ecx, ds:0FFFFFFFFFFFFFFFFh[rcx*2]                              ; +0x3d0, 0x1800c1350\nand     rcx, rax                                                       ; +0x3d7, 0x1800c1357\nshl     rcx, 4                                                         ; +0x3da, 0x1800c135a\nadd     rcx, r14                                                       ; +0x3de, 0x1800c135e\nmov     eax, [rcx+8]                                                   ; +0x3e1, 0x1800c1361\ninc     eax                                                            ; +0x3e4, 0x1800c1364\nmov     [rcx+8], eax                                                   ; +0x3e6, 0x1800c1366\nmov     rdx, [rsi]                                                     ; +0x3e9, 0x1800c1369\ncmp     eax, [rdx+28h]                                                 ; +0x3ec, 0x1800c136c\njbe     short loc_1800C1383                                            ; +0x3ef, 0x1800c136f\ninc     dword ptr [rdx+2Ch]                                            ; +0x3f1, 0x1800c1371\nxor     edx, edx                                                       ; +0x3f4, 0x1800c1374\nmov     r8, [rsi]                                                      ; +0x3f6, 0x1800c1376\nmov     eax, [rcx+8]                                                   ; +0x3f9, 0x1800c1379\ndiv     dword ptr [r8+28h]                                             ; +0x3fc, 0x1800c137c\nmov     [rcx+0Ch], eax                                                 ; +0x400, 0x1800c1380\nmov     [r9+18h], rbp                                                  ; +0x403, 0x1800c1383\nmov     rax, [rcx]                                                     ; +0x407, 0x1800c1387\nmov     [r9+20h], rax                                                  ; +0x40a, 0x1800c138a\nmov     rax, [rcx]                                                     ; +0x40e, 0x1800c138e\ntest    rax, rax                                                       ; +0x411, 0x1800c1391\njz      short loc_1800C139A                                            ; +0x414, 0x1800c1394\nmov     [rax+18h], r9                                                  ; +0x416, 0x1800c1396\nmov     [rcx], r9                                                      ; +0x41a, 0x1800c139a\nmov     r9, r10                                                        ; +0x41d, 0x1800c139d\ntest    r10, r10                                                       ; +0x420, 0x1800c13a0\njnz     short loc_1800C1342                                            ; +0x423, 0x1800c13a3\nmov     rax, [rsi]                                                     ; +0x425, 0x1800c13a5\ninc     r11d                                                           ; +0x428, 0x1800c13a8\ncmp     r11d, [rax+8]                                                  ; +0x42b, 0x1800c13ab\njb      loc_1800C1330                                                  ; +0x42f, 0x1800c13af\nmov     rcx, [rax]; Block                                              ; +0x435, 0x1800c13b5\ncall    cs:__imp_free                                                  ; +0x438, 0x1800c13b8\nmov     rcx, [rsi]                                                     ; +0x43e, 0x1800c13be\nmov     eax, [rcx+8]                                                   ; +0x441, 0x1800c13c1\nadd     eax, eax                                                       ; +0x444, 0x1800c13c4\nmov     [rcx+8], eax                                                   ; +0x446, 0x1800c13c6\nmov     rax, [rsi]                                                     ; +0x449, 0x1800c13c9\ninc     dword ptr [rax+0Ch]                                            ; +0x44c, 0x1800c13cc\nmov     rax, [rsi]                                                     ; +0x44f, 0x1800c13cf\nmov     [rax], r14                                                     ; +0x452, 0x1800c13d2\nmov     rcx, [rsi]                                                     ; +0x455, 0x1800c13d5\nmov     eax, [rcx+10h]                                                 ; +0x458, 0x1800c13d8\nshr     eax, 1                                                         ; +0x45b, 0x1800c13db\ncmp     [rcx+2Ch], eax                                                 ; +0x45d, 0x1800c13dd\njbe     short loc_1800C13E7                                            ; +0x460, 0x1800c13e0\nmov     ebp, [rcx+30h]                                                 ; +0x462, 0x1800c13e2\ninc     ebp                                                            ; +0x465, 0x1800c13e5\nmov     [rcx+30h], ebp                                                 ; +0x467, 0x1800c13e7\nmov     rax, [rsi]                                                     ; +0x46a, 0x1800c13ea\ncmp     dword ptr [rax+30h], 1                                         ; +0x46d, 0x1800c13ed\njbe     short loc_1800C13FA                                            ; +0x471, 0x1800c13f1\nmov     dword ptr [rax+34h], 1                                         ; +0x473, 0x1800c13f3\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x47a, 0x1800c13fa\nmov     rbp, [rsp+48h+arg_8]                                           ; +0x47f, 0x1800c13ff\nmov     rsi, [rsp+48h+arg_10]                                          ; +0x484, 0x1800c1404\nadd     rsp, 20h                                                       ; +0x489, 0x1800c1409\npop     r15                                                            ; +0x48d, 0x1800c140d\npop     r14                                                            ; +0x48f, 0x1800c140f\npop     r13                                                            ; +0x491, 0x1800c1411\npop     r12                                                            ; +0x493, 0x1800c1413\npop     rdi                                                            ; +0x495, 0x1800c1415\nretn                                                                   ; +0x496, 0x1800c1416", "xrefs": ["cocos2d::CCScheduler::scheduleUpdateForTarget @ 0x1800c2333", "<???> @ 0x1801438a8", "<???> @ 0x1801b94bc"], "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"}