//
// sub_1005ED690 from 0x1005ed690 to 0x1005ed6b8 (40 bytes)
//
// 1 xrefs:
// > sub_100565B84 @ 0x1005665b0
//
// 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_1005ED690(__int64 result, __int64 a2, int a3)
{
__int64 v3; // x8
int v4; // w11
v3 = 0;
do
{
if ( a3 == (_DWORD)v3 )
break;
v4 = *(unsigned __int16 *)(a2 + 2 * v3);
*(_WORD *)(result + 2 * v3++) = v4;
}
while ( v4 );
return result;
}