{"type": "func", "start": 6442765024, "end": 6442765096, "name": "sub_18004CAE0", "pseudocode": "// \n// sub_18004CAE0 from 0x18004cae0 to 0x18004cb28 (72 bytes)\n// \n// 2 xrefs:\n// > sub_18004CEC0 @ 0x18004cfcd\n// > <???> @ 0x1801f8700\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 sub_18004CAE0(int *a1, _BYTE *a2, int a3)\n{\n  int v3; // ebx\n\n  if ( a3 )\n  {\n    v3 = a3;\n    do\n    {\n      *a2++ = sub_180048210(a1, 8u);\n      --v3;\n    }\n    while ( v3 );\n  }\n}", "assembly": "; \n; sub_18004CAE0 from 0x18004cae0 to 0x18004cb28 (72 bytes)\n; \n; 2 xrefs:\n; > sub_18004CEC0 @ 0x18004cfcd\n; > <???> @ 0x1801f8700\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\ntest    r8d, r8d                                                       ; +0x0, 0x18004cae0\njz      short locret_18004CB27                                         ; +0x3, 0x18004cae3\nmov     [rsp+arg_0], rbx                                               ; +0x5, 0x18004cae5\nmov     [rsp+arg_8], rsi                                               ; +0xa, 0x18004caea\npush    rdi                                                            ; +0xf, 0x18004caef\nsub     rsp, 20h                                                       ; +0x10, 0x18004caf0\nmov     ebx, r8d                                                       ; +0x14, 0x18004caf4\nmov     rdi, rdx                                                       ; +0x17, 0x18004caf7\nmov     rsi, rcx                                                       ; +0x1a, 0x18004cafa\nnop     dword ptr [rax]                                                ; +0x1d, 0x18004cafd\nmov     edx, 8                                                         ; +0x20, 0x18004cb00\nmov     rcx, rsi                                                       ; +0x25, 0x18004cb05\ncall    sub_180048210                                                  ; +0x28, 0x18004cb08\nmov     [rdi], al                                                      ; +0x2d, 0x18004cb0d\nlea     rdi, [rdi+1]                                                   ; +0x2f, 0x18004cb0f\nsub     ebx, 1                                                         ; +0x33, 0x18004cb13\njnz     short loc_18004CB00                                            ; +0x36, 0x18004cb16\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x38, 0x18004cb18\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x3d, 0x18004cb1d\nadd     rsp, 20h                                                       ; +0x42, 0x18004cb22\npop     rdi                                                            ; +0x46, 0x18004cb26\nretn                                                                   ; +0x47, 0x18004cb27", "xrefs": ["sub_18004CEC0 @ 0x18004cfcd", "<???> @ 0x1801f8700"], "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"}