//
// sub_100596300 from 0x100596300 to 0x10059640c (268 bytes)
//
// 1 xrefs:
// > sub_1005962D4 @ 0x1005962ec
//
// 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_100596300(unsigned __int8 *a1, __int64 a2)
{
if ( *a1 != (unsigned __int8)byte_100672830[*a1] )
return 0xFFFFFFFFLL;
if ( a1[1] != (unsigned __int8)byte_100672830[a1[1]] )
return 0xFFFFFFFFLL;
if ( a1[2] != (unsigned __int8)byte_100672830[a1[2]] )
return 0xFFFFFFFFLL;
if ( a1[3] != (unsigned __int8)byte_100672830[a1[3]] )
return 0xFFFFFFFFLL;
if ( a1[4] != (unsigned __int8)byte_100672830[a1[4]] )
return 0xFFFFFFFFLL;
if ( a1[5] != (unsigned __int8)byte_100672830[a1[5]] )
return 0xFFFFFFFFLL;
if ( a1[6] != (unsigned __int8)byte_100672830[a1[6]] )
return 0xFFFFFFFFLL;
if ( a1[7] != (unsigned __int8)byte_100672830[a1[7]] )
return 0xFFFFFFFFLL;
if ( sub_100596158(a1) )
return 4294967294LL;
sub_10059640C(a1, a2);
return 0;
}