//
// jcopy_sample_rows from 0x8aeef4 to 0x8aef1a (38 bytes)
//
// 9 xrefs:
// > sub_882374 @ 0x882434
// > sub_882374 @ 0x8824e0
// > sub_882544 @ 0x8825c2
// > sub_882544 @ 0x8826de
// > sub_883838 @ 0x883856
// > sub_88756C @ 0x887582
// > sub_88FF90 @ 0x890022
// > sub_8906F4 @ 0x890760
// > sub_890780 @ 0x89090a
//
// 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 12:03:53 +0000
//
char *__fastcall jcopy_sample_rows(char *result, int a2, int a3, int a4, int a5, size_t a6)
{
const void **v6; // r6
int v7; // r4
void **v8; // r5
void *v9; // r0
void *v10; // t1
const void *v11; // t1
v6 = (const void **)&result[4 * a2];
v7 = a5;
v8 = (void **)(a3 + 4 * a4);
if ( a5 > 0 )
{
do
{
v10 = *v8++;
v9 = v10;
v11 = *v6++;
result = (char *)memcpy(v9, v11, a6);
--v7;
}
while ( v7 );
}
return result;
}