//
// sub_1005ED04C from 0x1005ed04c to 0x1005ed070 (36 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
//
__int64 __fastcall sub_1005ED04C(__int64 result, __int64 a2)
{
__int64 v2; // x8
__int64 v4; // x9
int v5; // w10
v2 = result - 1;
while ( *(_BYTE *)++v2 )
;
v4 = 0;
do
{
v5 = *(unsigned __int8 *)(a2 + v4);
*(_BYTE *)(v2 + v4++) = v5;
}
while ( v5 );
return result;
}