//
// sub_1005FE880 from 0x1005fe880 to 0x1005fe8e4 (100 bytes)
//
// 0 xrefs:
//
// 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:09:56 +0000
//
bool __fastcall sub_1005FE880(unsigned int a1)
{
unsigned int v2; // w8
unsigned __int64 v3; // t2
bool v4; // cf
unsigned int v5; // w8
unsigned __int64 v6; // t2
if ( a1 - 655351 < 0xFFF6000A )
return 0;
HIDWORD(v3) = 652835029 * a1;
LODWORD(v3) = 652835029 * a1;
v2 = v3 >> 3;
v4 = a1 >= 0x10000 && v2 >= 0x418938;
HIDWORD(v6) = -858993459 * a1;
LODWORD(v6) = -858993459 * a1;
v5 = v6 >> 1;
return !v4 || v5 < 0x1999999A;
}