//
// LevelEditorLayer::toggleDeathLabels from 0x78bc64 to 0x78bcbc (88 bytes)
//
// 2 xrefs:
// > EditorUI::toggleViewOption @ 0xbfebe0
// > ??> @ 0xb8dc8
//
// This function is hookable on this platform (idp: arm, 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:53:27 +0000
//
DeathMarkerLayer *__fastcall LevelEditorLayer::toggleDeathLabels(LevelEditorLayer *this)
{
DeathMarkerLayer *v2; // x0
char v3; // w1
DeathMarkerLayer *result; // x0
v2 = *((DeathMarkerLayer **)this + 243);
v3 = LevelEditorLayer::s_showDeathLabels ^ 1;
LevelEditorLayer::s_showDeathLabels ^= 1u;
if ( v2 )
DeathMarkerLayer::setLabelsVisible(v2, v3);
result = *((DeathMarkerLayer **)this + 244);
if ( result )
return (DeathMarkerLayer *)DeathMarkerLayer::setLabelsVisible(result, LevelEditorLayer::s_showDeathLabels);
return result;
}