//
// sub_100716494 from 0x100716494 to 0x1007164b8 (36 bytes)
//
// 4 xrefs:
// > sub_1006E8434 @ 0x1006e8718
// > sub_1006EE068 @ 0x1006ee2d8
// > sub_1006F9FD8 @ 0x1006fa5d4
// > sub_10075075C @ 0x100750780
//
// 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:13:00 +0000
//
__int64 __fastcall sub_100716494(unsigned int *a1)
{
__int64 v1; // x8
__int64 result; // x0
v1 = *((_QWORD *)a1 + 1);
result = *a1;
if ( !v1 )
{
if ( (_DWORD)result == 5 )
return 5;
else
return 0;
}
return result;
}