//
// sub_1006B90F4 from 0x1006b90f4 to 0x1006b91bc (200 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009bbda0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:11:59 +0000
//
bool __fastcall sub_1006B90F4(__int64 a1, __int64 a2)
{
_BYTE *v4; // x0
_QWORD *v5; // x19
_QWORD *v6; // x21
int v7; // w8
_BOOL8 result; // x0
char *v9; // x1
v4 = sub_1006AE878(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_1006B8D24((_QWORD *)v4 + 4);
*(_QWORD *)(a1 + 40) = v5;
*(_DWORD *)(a1 + 72) = 0;
v6 = *(_QWORD **)(a2 + 40);
*v5 = *v6;
sub_1006B8D24(v5 + 4);
v7 = sub_1006B8E34((__int64)(v5 + 4), (__int64)(v6 + 4));
result = 0;
if ( v7 )
{
v9 = (char *)v6[2];
return !v9 || (unsigned int)sub_1007163BC((int)v5 + 8, v9);
}
return result;
}