//
// sub_10070BA60 from 0x10070ba60 to 0x10070bab0 (80 bytes)
//
// 4 xrefs:
// > ??> @ 0x1009bf3d0
// > ??> @ 0x1009bf428
// > ??> @ 0x1009bf480
// > ??> @ 0x1009bf4d8
//
// 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 11:12:54 +0000
//
__int64 __fastcall sub_10070BA60(__int64 a1, unsigned __int8 *a2)
{
__int64 v3; // x20
v3 = *(_QWORD *)(a1 + 120);
*(_QWORD *)(v3 + 384) = 0;
sub_1006BC574(a2, (int *)v3);
sub_1006BC574(a2 + 8, (int *)(v3 + 128));
memcpy((void *)(v3 + 256), (const void *)v3, 0x80u);
return 1;
}