//
// 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 (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:41:47 +0000
//
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;
}