//
// GJMessagePopup::blockUser from 0xa289dc to 0xa28ab8 (220 bytes)
//
// 2 xrefs:
// > GJMessagePopup::FLAlert_Clicked @ 0xa28bac
// > ??> @ 0x85990
//
// 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:59:43 +0000
//
__int64 __fastcall GJMessagePopup::blockUser(GJMessagePopup *this)
{
GameLevelManager *v2; // x0
__int64 v4; // x0
char v5; // w1
__int64 v6[2]; // [xsp+30h] [xbp+30h] BYREF
void *v7; // [xsp+40h] [xbp+40h]
v2 = (GameLevelManager *)GameLevelManager::sharedState(_stack_chk_guard);
if ( (unsigned __int8)GameLevelManager::blockUser(v2, (const char *)*(unsigned int *)(*((_QWORD *)this + 89) + 320LL)) )
{
v6[0] = 0;
v6[1] = 0;
v7 = nullptr;
std::string::__init(v6, "Blocking user...", 0x10u);
v4 = UploadActionPopup::create((__int64)this + 672, (char *)v6);
v5 = v6[0];
*((_QWORD *)this + 92) = v4;
if ( (v5 & 1) != 0 )
{
operator delete(v7);
v4 = *((_QWORD *)this + 92);
}
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
}
return _stack_chk_guard;
}