//
// PlayLayer::toggleIgnoreDamage from 0x1001160e4 to 0x100116108 (36 bytes)
//
// 1 xrefs:
// > GameOptionsLayer::didToggle @ 0x1002e22f8
//
// 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
//
void __fastcall PlayLayer::toggleIgnoreDamage(PlayLayer *a1, bool a2)
{
a1->m_ignoreDamage = a2;
if ( a2 )
a1->m_isIgnoreDamageEnabled = a2;
a1->m_player1->m_maybeCanRunIntoBlocks = a2;
a1->m_player2->m_maybeCanRunIntoBlocks = a2;
PlayLayer::updateTestModeLabel(a1);
}