//
// PlayLayer::dtLiveMarkersChanged from 0x72cf3c to 0x72cf8c (80 bytes)
//
// 10 xrefs:
// > UILayer::handleAction @ 0x3fe39c
// > UILayer::handleAction @ 0x3fe46a
// > UILayer::handleAction @ 0x3fe578
// > PlayLayer::togglePracticeMode @ 0x4079ca
// > PlayLayer::setupHasCompleted @ 0x40a044
// > DeathMarkerSettingsPopup::onToggleLocal @ 0x76db4c
// > DeathMarkerSettingsPopup::onToggleGlobal @ 0x76db7c
// > DeathMarkerSettingsPopup::onToggleDisabled @ 0x76dc10
// > DeathMarkerSettingsPopup::onToggleLive @ 0x76dc40
// > DeathMarkerSettingsPopup::FLAlert_Clicked @ 0x76e07a
//
// 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:58:17 +0000
//
int __fastcall PlayLayer::dtLiveMarkersChanged(PlayLayer *this)
{
GameManager *v2; // r0
int result; // r0
int v4; // r2
v2 = (GameManager *)GameManager::sharedState(this);
result = GameManager::getGameVariable(v2, "0216");
if ( result )
{
if ( *((_BYTE *)this + 10612) )
{
result = 0;
}
else if ( *((_BYTE *)this + 10784) )
{
result = 1;
}
else
{
result = *(_DWORD *)(*((_DWORD *)this + 352) + 952) == 2;
}
}
v4 = *((unsigned __int8 *)this + 12032);
*((_BYTE *)this + 12032) = result;
if ( result || v4 )
return (int)PlayLayer::dtRebuildLiveMarkers(this);
return result;
}