//
// sub_10065D610 from 0x10065d610 to 0x10065d6cc (188 bytes)
//
// 5 xrefs:
// > ??> @ 0x1009e3878
// > ??> @ 0x1009e3900
// > ??> @ 0x1009e3988
// > ??> @ 0x1009e3a88
// > ??> @ 0x1009e3b10
//
// 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:10:56 +0000
//
__int64 __fastcall sub_10065D610(__int64 a1, __int64 a2, __int64 a3, int a4)
{
__int64 v7; // x0
int8x16_t v9[3]; // [xsp+38h] [xbp-58h] BYREF
v7 = sub_10064EDB0(a1);
sub_10065C16C(
v7,
(__int64)"master secret",
13,
*(_QWORD *)(a1 + 128) + 196LL,
32,
0,
0,
*(_QWORD *)(a1 + 128) + 164LL,
32,
a3,
a4,
(int8x16_t *)(*(_QWORD *)(a1 + 304) + 20LL),
v9,
48);
sub_1006B0510((int)v9, 0x30u);
return 48;
}