//
// sub_10027F600 from 0x10027f600 to 0x10027f685 (133 bytes)
//
// 1 xrefs:
// > ??> @ 0x100afdff8
//
// This function is hookable on this platform (idp: pc, 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 12:27:42 +0000
//
void __fastcall sub_10027F600(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rdx
if ( !*(_BYTE *)(a1 + 232) )
{
v1 = EditorSFXManager::sharedState(a1);
EditorSFXManager::playAction_1(v1, 223);
CCBlockLayer::decrementForcePrio(a1 - 336);
LevelEditorLayer::updateOptions(*(_QWORD *)(a1 + 240), 223, v2);
EditorUI::toggleLockUI(*(_QWORD *)(*(_QWORD *)(a1 + 240) + 14248LL), 0);
(*(void (__fastcall **)(__int64))(*(_QWORD *)(a1 - 336) + 536LL))(a1 - 336);
if ( *(_BYTE *)(*(_QWORD *)(*(_QWORD *)(a1 + 240) + 14248LL) + 1591LL) == 1 )
EditorUI::recreateButtonTabs();
}
}