//
// sub_1001F9730 from 0x1001f9730 to 0x1001f97de (174 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008d9960
//
// 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
//
__int64 __fastcall sub_1001F9730(__int64 a1)
{
_QWORD *v2; // rdi
__int64 v3; // rdi
GameManager *v4; // rax
v2 = *(_QWORD **)(a1 + 456);
v2[68] = 0;
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v2 + 1144LL))(v2, 0);
v3 = *(_QWORD *)(a1 + 464);
if ( v3 )
{
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1144LL))(v3, 0);
*(_QWORD *)(*(_QWORD *)(a1 + 464) + 544LL) = 0;
}
GameManager::sharedState()->m_currentColorChannel = *(_DWORD *)(a1 + 388);
v4 = GameManager::sharedState();
EditorUI::updateObjectInfoLabel(v4->m_levelEditorLayer->m_editorUI);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 1056LL))(a1 - 336, 0);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1 - 336) + 512LL))(a1 - 336, 1);
}