//
// PlayLayer::toggleIgnoreDamage from 0x6fff8c to 0x6fffc0 (52 bytes)
//
// 6 xrefs:
// > UILayer::handleAction @ 0x6f1118
// > PlayLayer::resetLevel @ 0x711b30
// > PlayLayer::init @ 0x712764
// > PauseLayer::onSideButtonPressed @ 0x7d4ccc
// > GameOptionsLayer::didToggle @ 0xa1e318
// > ??> @ 0xaab48
//
// This function is hookable on this platform (idp: arm, 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 12:52:02 +0000
//
__int64 __fastcall PlayLayer::toggleIgnoreDamage(PlayLayer *this, char a2)
{
*((_BYTE *)this + 1978) = a2;
if ( a2 )
*((_BYTE *)this + 14185) = 1;
*(_BYTE *)(*((_QWORD *)this + 407) + 1973LL) = a2;
*(_BYTE *)(*((_QWORD *)this + 408) + 1973LL) = a2;
return PlayLayer::updateTestModeLabel(this);
}