//
// jcopy_sample_rows from 0xea0df8 to 0xea0e5c (100 bytes)
//
// 10 xrefs:
// > sub_E78164 @ 0xe78288
// > sub_E78164 @ 0xe7836c
// > sub_E78404 @ 0xe784d8
// > sub_E78404 @ 0xe78664
// > sub_E79608 @ 0xe79640
// > sub_E7F000 @ 0xe7f014
// > sub_E8AC28 @ 0xe8ace0
// > sub_E8B848 @ 0xe8b908
// > sub_E8B954 @ 0xe8bbbc
// > ??> @ 0xf9ce8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:11:07 +0000
//
char *__fastcall jcopy_sample_rows(char *result, int a2, __int64 a3, int a4, int a5, unsigned int a6)
{
char *v6; // x22
size_t v7; // x21
__int64 v8; // x23
__int64 v9; // x19
__int64 v10; // x20
void *v11; // x0
const void *v12; // x1
v6 = &result[8 * a2];
v7 = a6;
v8 = a3 + 8LL * a4;
if ( a5 > 0 )
{
v9 = 0;
v10 = (unsigned int)(a5 - 1) + 1LL;
do
{
v11 = *(void **)(v8 + 8 * v9);
v12 = *(const void **)&v6[8 * v9++];
result = (char *)memcpy(v11, v12, v7);
}
while ( v9 != v10 );
}
return result;
}