//
// sub_100712D14 from 0x100712d14 to 0x100712d94 (128 bytes)
//
// 3 xrefs:
// > sub_100647030 @ 0x10064751c
// > sub_10070F424 @ 0x10070f5a4
// > sub_100713858 @ 0x10071391c
//
// 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:12:58 +0000
//
__int64 __fastcall sub_100712D14(_DWORD *a1)
{
__int64 (*v1)(void); // x5
if ( a1 && *(_QWORD *)a1 && (v1 = *(__int64 (**)(void))(*(_QWORD *)a1 + 88LL)) != nullptr )
{
if ( a1[8] == 16 )
{
return v1();
}
else
{
sub_100706FB0(6, 142, 151, (__int64)"pmeth_fn.c", 144);
return 0xFFFFFFFFLL;
}
}
else
{
sub_100706FB0(6, 142, 150, (__int64)"pmeth_fn.c", 140);
return 4294967294LL;
}
}