//
// sub_98860 from 0x98860 to 0x98886 (38 bytes)
//
// 1 xrefs:
// > sub_987A8 @ 0x98818
//
// 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
//
int __fastcall sub_98860(int a1, const void **a2)
{
int v3; // r0
int v4; // r2
if ( (const void **)a1 != a2 )
{
v3 = *(__int16 *)a2;
*(_WORD *)a1 = v3;
v4 = *((__int16 *)a2 + 1);
*(_WORD *)(a1 + 2) = v4;
qmemcpy(*(void **)(a1 + 4), a2[1], 4 * v3 * v4);
}
return a1;
}