//
// sub_1004C7528 from 0x1004c7528 to 0x1004c7550 (40 bytes)
//
// 1 xrefs:
// > sub_10043FA1C @ 0x100440448
//
// 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_1004C7528(__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;
}