//
// EditorUI::toggleObjectInfoLabel from 0x489a50 to 0x489a7e (46 bytes)
//
// 4 xrefs:
// > EditorUI::showUI @ 0x489c3a
// > EditorUI::init @ 0x48bf78
// > EditorPauseLayer::toggleShowObjectInfo @ 0x5090d2
// > EditorUI::toggleViewOption @ 0x70c3d6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:28 +0000
//
int __fastcall EditorUI::toggleObjectInfoLabel(EditorUI *this)
{
GameManager *v2; // r0
int GameVariable; // r5
int result; // r0
v2 = (GameManager *)GameManager::sharedState(this);
GameVariable = GameManager::getGameVariable(v2, "0041");
result = (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 143) + 172))(*((_DWORD *)this + 143), GameVariable);
if ( GameVariable )
return EditorUI::updateObjectInfoLabel((cocos2d::CCArray **)this);
return result;
}