//
// sub_E40B4 from 0xe40b4 to 0xe40d8 (36 bytes)
//
// 1 xrefs:
// > sub_78B30 @ 0x7a06c
//
// 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
//
__int64 __fastcall sub_E40B4(__int64 result, __int64 a2, int a3)
{
__int64 v3; // x8
int v4; // w10
v3 = 0;
do
{
if ( a3 == (_DWORD)v3 )
break;
v4 = *(unsigned __int16 *)(a2 + 2 * v3);
*(_WORD *)(result + 2 * v3++) = v4;
}
while ( v4 );
return result;
}