//
// EditorUI::toggleObjectInfoLabel from 0x1400e2dd0 to 0x1400e2e52 (130 bytes)
//
// 3 xrefs:
// > EditorPauseLayer::toggleShowObjectInfo @ 0x1400dd4ba
// > EditorUI::init @ 0x1400e1878
// > ??> @ 0x1406c8c40
//
// 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 EditorUI::toggleObjectInfoLabel(EditorUI *a1)
{
GameManager *v2; // rcx
_BOOL8 GameVariable; // rbx
void *v4; // [rsp+30h] [rbp+8h]
v2 = (GameManager *)qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v4 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00(v4);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v2 = (GameManager *)qword_1406C2ED8;
}
GameVariable = GameManager::getGameVariable(v2, "0041");
a1->m_objectInfoLabel->setVisible(a1->m_objectInfoLabel, GameVariable);
if ( GameVariable )
EditorUI::updateObjectInfoLabel(a1);
}