//
// PauseLayer::FLAlert_Clicked from 0x7d65c8 to 0x7d6644 (124 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'PauseLayer::FLAlert_Clicked @ 0x7d6648
// > ??> @ 0x96808
// > ??> @ 0x14380d0
//
// 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:54:21 +0000
//
__int64 __fastcall PauseLayer::FLAlert_Clicked(PauseLayer *this, FLAlertLayer *a2, unsigned __int8 a3)
{
int v4; // w19
__int64 result; // x0
v4 = a3;
result = (*(__int64 (__fastcall **)(FLAlertLayer *))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)result )
{
if ( (_DWORD)result == 1 )
{
if ( v4 )
return PauseLayer::onEdit(this, nullptr);
}
}
else if ( v4 )
{
return PauseLayer::onQuit(this, nullptr);
}
else
{
*((_BYTE *)this + 585) = 0;
}
return result;
}