//
// sub_98860 from 0x98860 to 0x98886 (38 bytes)
//
// 1 xrefs:
// > sub_987A8 @ 0x98818
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:41:29 +0000
//
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;
}