//
// PlayLayer::shouldDebugDraw from 0x30f34c to 0x30f36e (34 bytes)
//
// 3 xrefs:
// > PlayLayer::toggleDebugDraw @ 0x30f372
// > PlayLayer::updateVisibility @ 0x315d7c
// > PlayLayer::resetLevel @ 0x31f7b0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool PlayLayer::shouldDebugDraw(PlayLayer *a1)
{
bool m_hitboxesOnDeath; // r3
if ( !a1->m_isDebugDrawEnabled || !(m_hitboxesOnDeath = a1->m_isPracticeMode) )
{
m_hitboxesOnDeath = a1->m_hitboxesOnDeath;
if ( m_hitboxesOnDeath )
return a1->m_playerDied;
}
return m_hitboxesOnDeath;
}