//
// sub_1004C7550 from 0x1004c7550 to 0x1004c7574 (36 bytes)
//
// 0 xrefs:
//
// 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_1004C7550(__int64 result, __int64 a2)
{
__int64 v2; // x8
int v3; // t1
__int64 v4; // x9
int v5; // w10
v2 = result - 2;
do
{
v3 = *(unsigned __int16 *)(v2 + 2);
v2 += 2;
}
while ( v3 );
v4 = 0;
do
{
v5 = *(unsigned __int16 *)(a2 + v4);
*(_WORD *)(v2 + v4) = v5;
v4 += 2;
}
while ( v5 );
return result;
}