//
// sub_100616028 from 0x100616028 to 0x100616100 (216 bytes)
//
// 3 xrefs:
// > sub_100615850 @ 0x1006158ac
// > sub_100615850 @ 0x1006158dc
// > sub_100615850 @ 0x1006158fc
//
// 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
//
bool __fastcall sub_100616028(__int64 a1, char *a2, __int64 a3)
{
__int64 v4; // x8
__int16 v6; // w2
int v7; // w4
unsigned int v8; // [xsp+4h] [xbp-5Ch] BYREF
char v9[64]; // [xsp+8h] [xbp-58h] BYREF
if ( !*(_QWORD *)(a1 + 8) )
{
v6 = 108;
v7 = 119;
LABEL_7:
sub_1005E0E48(35, 126, v6, (__int64)"p12_mutl.c", v7);
return 0;
}
if ( !(unsigned int)sub_100615E2C(a1, a2, a3, (__int64)v9, (__int64)&v8) )
{
v6 = 109;
v7 = 123;
goto LABEL_7;
}
v4 = *(_QWORD *)(**(_QWORD **)(a1 + 8) + 8LL);
return v8 == *(_DWORD *)v4 && (unsigned int)sub_1005885F4(v9, *(char **)(v4 + 8), v8) == 0;
}