//
// sub_BE3B8 from 0xbe3b8 to 0xbe3f8 (64 bytes)
//
// 10 xrefs:
// > ??> @ 0xbe3b6
// > sub_4EDF0 @ 0x4ee00
// > sub_59520 @ 0x59592
// > sub_5B0B8 @ 0x5b300
// > sub_60D44 @ 0x60e5c
// > sub_BB18C @ 0xbb1f8
// > sub_BDEC0 @ 0xbdf44
// > sub_BDEC0 @ 0xbdf50
// > sub_BDEC0 @ 0xbdf9e
// > sub_BDEC0 @ 0xbdfc6
//
// 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
//
unsigned __int64 *__fastcall sub_BE3B8(char *a1)
{
int v2; // r5
unsigned __int64 *result; // r0
v2 = sub_BE198((int)a1) + 1;
result = sub_BD410(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), v2, "../../src/fmod_string.cpp", 0x16Au, 0, 0);
if ( result )
return (unsigned __int64 *)sub_BE220(result, a1, v2);
return result;
}