//
// LevelEditorLayer::toggleDeathLabels from 0x461478 to 0x4614a8 (48 bytes)
//
// 1 xrefs:
// > EditorUI::toggleViewOption @ 0x70c45c
//
// 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:48:53 +0000
//
DeathMarkerLayer *__fastcall LevelEditorLayer::toggleDeathLabels(LevelEditorLayer *this)
{
DeathMarkerLayer *v2; // r0
char v3; // r1
DeathMarkerLayer *result; // r0
v2 = *((DeathMarkerLayer **)this + 353);
v3 = LevelEditorLayer::s_showDeathLabels ^ 1;
LevelEditorLayer::s_showDeathLabels ^= 1u;
if ( v2 )
DeathMarkerLayer::setLabelsVisible(v2, v3);
result = *((DeathMarkerLayer **)this + 354);
if ( result )
return (DeathMarkerLayer *)DeathMarkerLayer::setLabelsVisible(result, LevelEditorLayer::s_showDeathLabels);
return result;
}