{"type": "func", "start": 6443204080, "end": 6443204217, "name": "sub_1800B7DF0", "pseudocode": "// \n// sub_1800B7DF0 from 0x1800b7df0 to 0x1800b7e79 (137 bytes)\n// \n// 11 xrefs:\n// > sub_1800B3200 @ 0x1800b32a8\n// > sub_1800B7960 @ 0x1800b7a53\n// > sub_1800B7960 @ 0x1800b7a67\n// > sub_1800B7960 @ 0x1800b7b0e\n// > sub_1800B7960 @ 0x1800b7b55\n// > sub_1800D4730 @ 0x1800d47eb\n// > sub_1800E37E0 @ 0x1800e38a6\n// > sub_1800E4E00 @ 0x1800e5462\n// > sub_1800E8520 @ 0x1800e88c9\n// > sub_1800FAC10 @ 0x1800fae44\n// > <???> @ 0x1801fd224\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 10:53:59 +0000\n// \n\n_BYTE *__fastcall sub_1800B7DF0(char *a1)\n{\n  char *i; // rbx\n  int v3; // ebx\n  _BYTE *result; // rax\n  _BYTE *v5; // rsi\n  char v6; // [rsp+30h] [rbp-18h]\n\n  for ( i = a1; *i; ++i )\n    ;\n  v6 = 1;\n  v3 = (_DWORD)i - (_DWORD)a1;\n  result = sub_1800B6530(\n             *((_QWORD *)off_1801AED20 + 52),\n             (unsigned int)(v3 + 1),\n             \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\\\\core_api\\\\src\\\\fmod_string.cpp\",\n             362,\n             0,\n             0,\n             v6);\n  v5 = result;\n  if ( result )\n  {\n    sub_1800B7D20(result, a1, v3 + 1);\n    return v5;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800B7DF0 from 0x1800b7df0 to 0x1800b7e79 (137 bytes)\n; \n; 11 xrefs:\n; > sub_1800B3200 @ 0x1800b32a8\n; > sub_1800B7960 @ 0x1800b7a53\n; > sub_1800B7960 @ 0x1800b7a67\n; > sub_1800B7960 @ 0x1800b7b0e\n; > sub_1800B7960 @ 0x1800b7b55\n; > sub_1800D4730 @ 0x1800d47eb\n; > sub_1800E37E0 @ 0x1800e38a6\n; > sub_1800E4E00 @ 0x1800e5462\n; > sub_1800E8520 @ 0x1800e88c9\n; > sub_1800FAC10 @ 0x1800fae44\n; > <???> @ 0x1801fd224\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 10:53:59 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800b7df0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800b7df5\npush    rdi                                                            ; +0xa, 0x1800b7dfa\nsub     rsp, 40h                                                       ; +0xb, 0x1800b7dfb\ncmp     byte ptr [rcx], 0                                              ; +0xf, 0x1800b7dff\nmov     rdi, rcx                                                       ; +0x12, 0x1800b7e02\nmov     rbx, rcx                                                       ; +0x15, 0x1800b7e05\njz      short loc_1800B7E18                                            ; +0x18, 0x1800b7e08\nnop     word ptr [rax+rax+00h]                                         ; +0x1a, 0x1800b7e0a\ninc     rbx                                                            ; +0x20, 0x1800b7e10\ncmp     byte ptr [rbx], 0                                              ; +0x23, 0x1800b7e13\njnz     short loc_1800B7E10                                            ; +0x26, 0x1800b7e16\nmov     rcx, cs:off_1801AED20                                          ; +0x28, 0x1800b7e18\nlea     r8, aCBuildagent1Wo_36; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x2f, 0x1800b7e1f\nmov     [rsp+48h+var_18], 1                                            ; +0x36, 0x1800b7e26\nsub     ebx, edi                                                       ; +0x3b, 0x1800b7e2b\nmov     [rsp+48h+var_20], 0                                            ; +0x3d, 0x1800b7e2d\nmov     r9d, 16Ah                                                      ; +0x42, 0x1800b7e32\nmov     [rsp+48h+var_28], 0                                            ; +0x48, 0x1800b7e38\nmov     rcx, [rcx+1A0h]                                                ; +0x50, 0x1800b7e40\nlea     edx, [rbx+1]                                                   ; +0x57, 0x1800b7e47\ncall    sub_1800B6530                                                  ; +0x5a, 0x1800b7e4a\nmov     rsi, rax                                                       ; +0x5f, 0x1800b7e4f\ntest    rax, rax                                                       ; +0x62, 0x1800b7e52\njz      short loc_1800B7E69                                            ; +0x65, 0x1800b7e55\nlea     r8d, [rbx+1]                                                   ; +0x67, 0x1800b7e57\nmov     rdx, rdi                                                       ; +0x6b, 0x1800b7e5b\nmov     rcx, rax                                                       ; +0x6e, 0x1800b7e5e\ncall    sub_1800B7D20                                                  ; +0x71, 0x1800b7e61\nmov     rax, rsi                                                       ; +0x76, 0x1800b7e66\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x79, 0x1800b7e69\nmov     rsi, [rsp+48h+arg_8]                                           ; +0x7e, 0x1800b7e6e\nadd     rsp, 40h                                                       ; +0x83, 0x1800b7e73\npop     rdi                                                            ; +0x87, 0x1800b7e77\nretn                                                                   ; +0x88, 0x1800b7e78", "xrefs": ["sub_1800B3200 @ 0x1800b32a8", "sub_1800B7960 @ 0x1800b7a53", "sub_1800B7960 @ 0x1800b7a67", "sub_1800B7960 @ 0x1800b7b0e", "sub_1800B7960 @ 0x1800b7b55", "sub_1800D4730 @ 0x1800d47eb", "sub_1800E37E0 @ 0x1800e38a6", "sub_1800E4E00 @ 0x1800e5462", "sub_1800E8520 @ 0x1800e88c9", "sub_1800FAC10 @ 0x1800fae44", "<???> @ 0x1801fd224"], "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"}