//
// sub_100422490 from 0x100422490 to 0x1004224c8 (56 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::prepareSavePositionObjects @ 0x10027ac38
// > sub_100287404 @ 0x10028753c
//
// 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:05:00 +0000
//
__int64 __fastcall sub_100422490(__int64 a1)
{
if ( (*(_BYTE *)(a1 + 1684) & 1) != 0 )
return 0xFFFFFFFFLL;
if ( (*(_BYTE *)(a1 + 1685) & 1) != 0 )
return 4294967294LL;
if ( *(_BYTE *)(a1 + 1686) )
return 4294967293LL;
return *(unsigned int *)(a1 + 1468);
}