//
// sub_1002FA54C from 0x1002fa54c to 0x1002fa57c (48 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::loadLevelSettings @ 0x10029ece4
// > GJBaseGameLayer::applyLevelSettings @ 0x10029ed4c
// > EditorUI::toggleSpecialEditButtons @ 0x100473da0
// > EditorUI::toggleSpecialEditButtons @ 0x100473dd0
// > EditorUI::onCreateObject @ 0x100477714
//
// 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:03:01 +0000
//
__int64 __fastcall sub_1002FA54C(__int64 a1)
{
unsigned int v1; // w9
char v2; // w8
bool v3; // cc
int v4; // w9
v1 = *(_DWORD *)(a1 + 920);
v2 = 1;
v3 = v1 > 0x19;
v4 = (1 << v1) & 0x2200001;
if ( !v3 && v4 != 0 )
v2 = *(_BYTE *)(a1 + 1214);
return v2 & 1;
}