{"type": "func", "start": 6443111632, "end": 6443111715, "name": "sub_1800A14D0", "pseudocode": "// \n// sub_1800A14D0 from 0x1800a14d0 to 0x1800a1523 (83 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCScheduler::scheduleSelector @ 0x1800c59bc\n// > <???> @ 0x1801c16bc\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:13 +0000\n// \n\nvoid __fastcall sub_1800A14D0(__int64 a1, int a2)\n{\n  unsigned int i; // r8d\n  void *v5; // rcx\n\n  for ( i = *(_DWORD *)(a1 + 4); i < a2 + *(_DWORD *)a1; i = *(_DWORD *)(a1 + 4) )\n  {\n    v5 = *(void **)(a1 + 16);\n    *(_DWORD *)(a1 + 4) = 2 * i;\n    *(_QWORD *)(a1 + 16) = realloc(v5, 16LL * i);\n  }\n}", "assembly": "; \n; sub_1800A14D0 from 0x1800a14d0 to 0x1800a1523 (83 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCScheduler::scheduleSelector @ 0x1800c59bc\n; > <???> @ 0x1801c16bc\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:13 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800a14d0\npush    rdi                                                            ; +0x5, 0x1800a14d5\nsub     rsp, 20h                                                       ; +0x6, 0x1800a14d6\nmov     r8d, [rcx+4]                                                   ; +0xa, 0x1800a14da\nmov     rbx, rcx                                                       ; +0xe, 0x1800a14de\nmov     ecx, [rcx]                                                     ; +0x11, 0x1800a14e1\nmov     edi, edx                                                       ; +0x13, 0x1800a14e3\nadd     ecx, edx                                                       ; +0x15, 0x1800a14e5\ncmp     r8d, ecx                                                       ; +0x17, 0x1800a14e7\njnb     short loc_1800A1518                                            ; +0x1a, 0x1800a14ea\nnop     dword ptr [rax+00h]                                            ; +0x1c, 0x1800a14ec\nmov     rcx, [rbx+10h]; Block                                          ; +0x20, 0x1800a14f0\nlea     eax, [r8+r8]                                                   ; +0x24, 0x1800a14f4\nmov     edx, eax                                                       ; +0x28, 0x1800a14f8\nshl     rdx, 3; Size                                                   ; +0x2a, 0x1800a14fa\nmov     [rbx+4], eax                                                   ; +0x2e, 0x1800a14fe\ncall    cs:realloc                                                     ; +0x31, 0x1800a1501\nmov     [rbx+10h], rax                                                 ; +0x37, 0x1800a1507\nmov     ecx, [rbx]                                                     ; +0x3b, 0x1800a150b\nmov     r8d, [rbx+4]                                                   ; +0x3d, 0x1800a150d\nadd     ecx, edi                                                       ; +0x41, 0x1800a1511\ncmp     r8d, ecx                                                       ; +0x43, 0x1800a1513\njb      short loc_1800A14F0                                            ; +0x46, 0x1800a1516\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x48, 0x1800a1518\nadd     rsp, 20h                                                       ; +0x4d, 0x1800a151d\npop     rdi                                                            ; +0x51, 0x1800a1521\nretn                                                                   ; +0x52, 0x1800a1522", "xrefs": ["cocos2d::CCScheduler::scheduleSelector @ 0x1800c59bc", "<???> @ 0x1801c16bc"], "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"}