//
// sub_7DE5C from 0x7de5c to 0x7ded0 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x114958
//
// 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
//
__int64 __fastcall sub_7DE5C(_QWORD *a1, unsigned int a2, __int64 a3, __int64 a4, __int64 a5, int a6)
{
__int64 v6; // x22
const void *v8; // x21
void *v10; // x0
if ( a6 != 1 )
{
v6 = a1[1];
v8 = **(const void ***)(a3 + 24);
v10 = (void *)sub_D74F4(v6);
memcpy(v10, v8, *(int *)(v6 + 12));
a1 = memcpy(**(void ***)(a4 + 24), v8, 4 * a2 * (__int64)**(int **)(a4 + 8));
}
return sub_7E084(a1);
}