//
// sub_6328CC from 0x6328cc to 0x632948 (124 bytes)
//
// 2 xrefs:
// > sub_E88510 @ 0xe8882c
// > sub_E888F0 @ 0xe88e0c
//
// 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 12:50:12 +0000
//
__int64 __fastcall sub_6328CC(__int64 a1, unsigned __int8 *a2)
{
_DWORD *v3; // x3
int v5; // w20
void (__fastcall *v6)(__int64, __int64); // x7
int v7; // w6
int v8; // w4
v3 = *(_DWORD **)a1;
v5 = a2[11];
v6 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 8LL);
v7 = a2[8] + (a2[7] << 8);
v8 = a2[6] + (a2[5] << 8);
v3[13] = a2[10] + (a2[9] << 8);
v3[14] = v5;
v3[12] = v7;
v3[11] = v8;
v3[10] = 78;
v6(a1, 1);
*(_BYTE *)(a1 + 392) = v5;
*(_DWORD *)(a1 + 388) = 1;
return 1;
}