//
// sub_1800B7DF0 from 0x1800b7df0 to 0x1800b7e79 (137 bytes)
//
// 11 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
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_BYTE *__fastcall sub_1800B7DF0(char *a1)
{
char *i; // rbx
int v3; // ebx
_BYTE *result; // rax
_BYTE *v5; // rsi
char v6; // [rsp+30h] [rbp-18h]
for ( i = a1; *i; ++i )
;
v6 = 1;
v3 = (_DWORD)i - (_DWORD)a1;
result = sub_1800B6530(
*((_QWORD *)off_1801AED20 + 52),
(unsigned int)(v3 + 1),
"C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_string.cpp",
362,
0,
0,
v6);
v5 = result;
if ( result )
{
sub_1800B7D20(result, a1, v3 + 1);
return v5;
}
return result;
}