//
// PlayLayer::shouldDebugDraw from 0x5c9da0 to 0x5c9dc4 (36 bytes)
//
// 4 xrefs:
// > PlayLayer::toggleDebugDraw @ 0x5c9dd8
// > PlayLayer::updateVisibility @ 0x5cea78
// > PlayLayer::resetLevel @ 0x5e59fc
// > ??> @ 0xadb50
//
// 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)
{
float *v1; // x1
bool result; // w0
v1 = &a1->m_varianceValues.__elems_[1975];
if ( !a1->m_isDebugDrawEnabled || (result = a1->m_isPracticeMode, !*((_BYTE *)v1 + 592)) )
{
result = *((_BYTE *)v1 + 1890);
if ( result )
return *((_BYTE *)v1 + 682);
}
return result;
}