//
// sub_100593268 from 0x100593268 to 0x10059334c (228 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008387e8
//
// 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_100593268(__int64 a1, char *__s1, char *a3)
{
_BOOL8 v6; // x19
char *v8; // x20
int v9; // [xsp+8h] [xbp-28h]
if ( !a3 )
return 0;
if ( !strcmp(__s1, "key") )
return (unsigned int)sub_1005F0254((unsigned int)*(_QWORD *)(a1 + 40) + 8, a3) != 0;
if ( strcmp(__s1, "hexkey") )
return 4294967294LL;
v8 = (char *)sub_100607904(a3);
if ( !v8 )
return 0;
v6 = v9 >= -1 && (unsigned int)sub_1005F0254((unsigned int)*(_QWORD *)(a1 + 40) + 8, v8) != 0;
sub_100588C44(v8);
return v6;
}