//
// sub_10002001C from 0x10002001c to 0x100020078 (92 bytes)
//
// 1 xrefs:
// > sub_10001FF68 @ 0x10001ffd8
//
// 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
//
_QWORD *__fastcall sub_10002001C(_QWORD *result, const void *a2, __int64 a3, unsigned __int64 a4)
{
_QWORD *v6; // x19
__int64 v7; // x22
size_t v8; // x21
if ( a4 )
{
v6 = result;
result = sub_10001FD1C(result, a4);
v7 = v6[1];
v8 = a3 - (_QWORD)a2;
if ( v8 )
result = memmove((void *)v6[1], a2, v8);
v6[1] = v7 + v8;
}
return result;
}