//
// sub_1005ED97C from 0x1005ed97c to 0x1005ed9f4 (120 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:09:46 +0000
//
_WORD *__fastcall sub_1005ED97C(unsigned __int16 *a1)
{
unsigned __int16 *v1; // x19
int v2; // w8
unsigned __int16 *v3; // x9
int v4; // t1
_WORD *result; // x0
_WORD *v6; // x8
int v7; // t1
v1 = a1;
v2 = -2;
v3 = a1;
do
{
v4 = *v3++;
v2 += 2;
}
while ( v4 );
result = sub_1005D7364(
*((__int64 **)off_1009DA5E8 + 54),
(v2 & 0xFFFFFFFE) + 2,
(char)"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_stringw.cpp",
202,
0,
0);
if ( result )
{
v6 = result;
do
{
v7 = *v1++;
*v6++ = v7;
}
while ( v7 );
}
return result;
}