//
// sub_100592F8C from 0x100592f8c to 0x100593054 (200 bytes)
//
// 1 xrefs:
// > ??> @ 0x100838730
//
// 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_100592F8C(__int64 a1, __int64 a2)
{
_BYTE *v4; // x0
_QWORD *v5; // x19
_QWORD *v6; // x21
int v7; // w8
_BOOL8 result; // x0
char *v9; // x1
v4 = sub_100588710(320, (__int64)"hm_pmeth.c", 78);
v5 = v4;
if ( !v4 )
return 0;
*(_QWORD *)v4 = 0;
*((_DWORD *)v4 + 2) = 0;
*((_QWORD *)v4 + 2) = 0;
*((_QWORD *)v4 + 3) = 0;
*((_DWORD *)v4 + 3) = 4;
sub_100592BBC((_QWORD *)v4 + 4);
*(_QWORD *)(a1 + 40) = v5;
*(_DWORD *)(a1 + 72) = 0;
v6 = *(_QWORD **)(a2 + 40);
*v5 = *v6;
sub_100592BBC(v5 + 4);
v7 = sub_100592CCC((__int64)(v5 + 4), (__int64)(v6 + 4));
result = 0;
if ( v7 )
{
v9 = (char *)v6[2];
return !v9 || (unsigned int)sub_1005F0254((int)v5 + 8, v9);
}
return result;
}