//
// sub_10000F6A8 from 0x10000f6a8 to 0x10000f6d0 (40 bytes)
//
// 7 xrefs:
// > sub_100144FD4 @ 0x100144fd8
// > GJBaseGameLayer::updateLevelColors @ 0x1002784c0
// > GJBaseGameLayer::updateLevelColors @ 0x1002784dc
// > GJBaseGameLayer::updateLevelColors @ 0x10027858c
// > GJBaseGameLayer::updateLevelColors @ 0x1002785a8
// > GJBaseGameLayer::updateShaderLayer @ 0x10028cf60
// > sub_100402D5C @ 0x100402d80
//
// 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 10:57:15 +0000
//
__int64 __fastcall sub_10000F6A8(__int64 a1, int a2)
{
int v2; // w8
__int64 v3; // x8
v2 = a2 & ~(a2 >> 31);
if ( v2 >= 1101 )
v2 = 1101;
v3 = *(_QWORD *)(*(_QWORD *)(a1 + 640) + 8LL * (unsigned int)v2);
if ( v3 )
LOBYTE(v3) = *(_BYTE *)(v3 + 84);
return v3 & 1;
}