//
// sub_1005374A8 from 0x1005374a8 to 0x100537564 (188 bytes)
//
// 5 xrefs:
// > ??> @ 0x10085b758
// > ??> @ 0x10085b7e0
// > ??> @ 0x10085b868
// > ??> @ 0x10085b968
// > ??> @ 0x10085b9f0
//
// 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_1005374A8(__int64 a1, __int64 a2, __int64 a3, int a4)
{
__int64 v7; // x0
int8x16_t v9[3]; // [xsp+38h] [xbp-58h] BYREF
v7 = sub_100528C48(a1);
sub_100536004(
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_10058A3A8((int)v9, 0x30u);
return 48;
}