//
// GameLevelOptionsLayer::FLAlert_Clicked from 0x1403aa9b0 to 0x1403aaa01 (81 bytes)
//
// 3 xrefs:
// > ??> @ 0x14077c468
// > ??> @ 0x1409239d8
// > ??> @ 0x1409239e4
//
// This function is hookable on this platform (idp: pc, 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 11:31:20 +0000
//
void __fastcall GameLevelOptionsLayer::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)
{
__int64 v4; // rax
_QWORD *v5; // rcx
bool v6; // bl
__int64 ToggleButton; // rax
if ( a3 )
{
GJGameLevel::clearPlatformerSave(*(_QWORD *)(a1 + 8));
v4 = *(_QWORD *)(a1 + 8);
v5 = (_QWORD *)(a1 - 1136);
v6 = *(_BYTE *)(v4 + 841) == 0;
*(_BYTE *)(v4 + 841) = v6;
ToggleButton = GJOptionsLayer::getToggleButton(v5, 1);
if ( ToggleButton )
CCMenuItemToggler::toggle(ToggleButton, v6);
}
}