//
// sub_72C870 from 0x72c870 to 0x72c8ba (74 bytes)
//
// 2 xrefs:
// > PlayLayer::tryShowDeathMarkers @ 0x72d492
// > PlayLayer::tryShowDeathMarkers @ 0x72d4e4
//
// 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:16 +0000
//
int __fastcall sub_72C870(GameManager *a1)
{
GameManager *v2; // r0
bool v3; // zf
int v4; // r4
EditorSFXManager *v5; // r0
EditorSFXManager *v6; // r0
v2 = (GameManager *)GameManager::sharedState(a1);
if ( GameManager::getGameVariable(v2, "0206") )
return 0;
v3 = a1 == nullptr;
v4 = 267;
if ( !v3 )
v4 = 268;
v5 = (EditorSFXManager *)EditorSFXManager::sharedState(nullptr);
if ( EditorSFXManager::hasSoundsForAction(v5, v4) )
return v4;
v6 = (EditorSFXManager *)EditorSFXManager::sharedState(nullptr);
if ( EditorSFXManager::hasSoundsForAction(v6, 266) )
return 266;
else
return 0;
}