//
// GJMessageCell::FLAlert_Clicked from 0x73b9c4 to 0x73baec (296 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'GJMessageCell::FLAlert_Clicked @ 0x73baf0
// > ??> @ 0xf2e48
// > ??> @ 0x1431ff0
//
// 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:41 +0000
//
__int64 __fastcall GJMessageCell::FLAlert_Clicked(GJUserMessage **this, FLAlertLayer *a2, char a3)
{
GameLevelManager *v5; // x0
GameLevelManager *v6; // x0
GameLevelManager *v7; // x0
__int64 v8; // x0
__int64 v9; // x0
char v10; // w1
__int64 v11[2]; // [xsp+30h] [xbp+30h] BYREF
void *v12; // [xsp+40h] [xbp+40h]
if ( a3 )
{
if ( (*(unsigned int (__fastcall **)(FLAlertLayer *))(*(_QWORD *)a2 + 64LL))(a2) == 1 )
{
if ( *(this + 72) )
{
v5 = (GameLevelManager *)GJMessageCell::markAsRead((__int64)this);
v6 = (GameLevelManager *)GameLevelManager::sharedState(v5);
v7 = (GameLevelManager *)(unsigned __int8)GameLevelManager::deleteUserMessages(
v6,
*(this + 72),
nullptr,
*((_BYTE *)*(this + 72) + 425));
if ( (_BYTE)v7 )
{
*(_QWORD *)(GameLevelManager::sharedState(v7) + 1360) = this + 71;
v8 = (__int64)*(this + 73);
if ( v8 )
*(_QWORD *)(v8 + 664) = 0;
v11[0] = 0;
v11[1] = 0;
v12 = nullptr;
std::string::__init(v11, "Deleting message...", 0x13u);
v9 = UploadActionPopup::create(this + 70, v11);
v10 = v11[0];
*(this + 73) = (GJUserMessage *)v9;
if ( (v10 & 1) != 0 )
{
operator delete(v12);
v9 = (__int64)*(this + 73);
}
(*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 1312LL))(v9);
}
}
}
}
return _stack_chk_guard;
}