//
// PlayLayer::dtLiveMarkersChanged from 0x14051f090 to 0x14051f142 (178 bytes)
//
// 12 xrefs:
// > DeathMarkerSettingsPopup::FLAlert_Clicked @ 0x14011d764
// > DeathMarkerSettingsPopup::onToggleLocal @ 0x14011def0
// > DeathMarkerSettingsPopup::onToggleGlobal @ 0x14011df90
// > DeathMarkerSettingsPopup::onToggleDisabled @ 0x14011e11d
// > DeathMarkerSettingsPopup::onToggleLive @ 0x14011e300
// > PauseLayer::onPracticeMode @ 0x1404dab6f
// > PlayLayer::setupHasCompleted @ 0x140504a3b
// > PlayLayer::togglePracticeMode @ 0x14051a0b6
// > UILayer::handleAction @ 0x14067200a
// > UILayer::handleAction @ 0x14067215d
// > UILayer::handleAction @ 0x14067246d
// > ??> @ 0x14092b3a0
//
// This function is hookable on this platform (idp: pc, 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 11:33:37 +0000
//
__int64 __fastcall PlayLayer::dtLiveMarkersChanged(__int64 a1)
{
__int64 v2; // rcx
__int64 result; // rax
void *v4; // [rsp+30h] [rbp+8h]
v2 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v4 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v4);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v2 = qword_14090BFD0;
}
if ( GameManager::getGameVariable(v2, "0216")
&& !*(_BYTE *)(a1 + 12668)
&& (*(_BYTE *)(a1 + 13024) || *(_DWORD *)(*(_QWORD *)(a1 + 2168) + 1220LL) == 2) )
{
*(_BYTE *)(a1 + 15180) = 1;
return PlayLayer::dtRebuildLiveMarkers(a1);
}
else
{
result = *(unsigned __int8 *)(a1 + 15180);
*(_BYTE *)(a1 + 15180) = 0;
if ( (_BYTE)result )
return PlayLayer::dtRebuildLiveMarkers(a1);
}
return result;
}