//
// ProfilePage::unblockUser from 0xa5542c to 0xa55508 (220 bytes)
//
// 2 xrefs:
// > ProfilePage::FLAlert_Clicked @ 0xa557f0
// > ??> @ 0x8c368
//
// 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 13:00:07 +0000
//
__int64 __fastcall ProfilePage::unblockUser(ProfilePage *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::unblockUser(
v2,
(const char *)*(unsigned int *)(*((_QWORD *)this + 91) + 376LL)) )
{
v6[0] = 0;
v6[1] = 0;
v7 = nullptr;
std::string::__init(v6, "Unblocking user...", 0x12u);
v4 = UploadActionPopup::create((__int64)this + 704, (char *)v6);
v5 = v6[0];
*((_QWORD *)this + 109) = v4;
if ( (v5 & 1) != 0 )
{
operator delete(v7);
v4 = *((_QWORD *)this + 109);
}
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
}
return _stack_chk_guard;
}