//
// sub_100010050 from 0x100010050 to 0x100010074 (36 bytes)
//
// 5 xrefs:
// > CustomizeObjectLayer::updateColorSprite @ 0x100058a2c
// > EditorUI::spriteFromObjectString @ 0x100184c24
// > sub_10020D628 @ 0x10020d66c
// > sub_100221790 @ 0x1002217e8
// > LevelEditorLayer::getNextColorChannel @ 0x100401db4
//
// 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:16 +0000
//
bool __fastcall sub_100010050(__int64 a1, int a2)
{
int v2; // w8
v2 = a2 & ~(a2 >> 31);
if ( v2 >= 1101 )
v2 = 1101;
return *(_QWORD *)(*(_QWORD *)(a1 + 640) + 8LL * (unsigned int)v2) != 0;
}