//
// jcopy_sample_rows from 0x69ee74 to 0x69ee9a (38 bytes)
//
// 9 xrefs:
// > sub_6722F4 @ 0x6723b4
// > sub_6722F4 @ 0x672460
// > sub_6724C4 @ 0x672542
// > sub_6724C4 @ 0x67265e
// > sub_6737B8 @ 0x6737d6
// > sub_6774EC @ 0x677502
// > sub_67FF10 @ 0x67ffa2
// > sub_680674 @ 0x6806e0
// > sub_680700 @ 0x68088a
//
// 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
//
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;
}