//
// sub_1000331B0 from 0x1000331b0 to 0x10003326c (188 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b0770
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_1000331B0(__int64 a1, __int64 a2, char a3)
{
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 122 )
{
*(_BYTE *)(a1 + 184) = 0;
}
else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 125 )
{
*(_BYTE *)(a1 + 184) = 0;
if ( a3 )
*(_BYTE *)(*(_QWORD *)(*(_QWORD *)(a1 + 848) + 1936LL) + 1088LL) = 1;
}
else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 126 )
{
*(_BYTE *)(a1 + 184) = 0;
if ( a3 )
*(_BYTE *)(*(_QWORD *)(*(_QWORD *)(a1 + 848) + 1936LL) + 1089LL) = 1;
}
else if ( a3 )
{
EditorUI::deselectAll((EditorUI *)(a1 - 408));
LevelEditorLayer::removeAllObjects(*(LevelEditorLayer **)(a1 + 848));
}
}