//
// ProfilePage::blockUser from 0x1007bf2f0 to 0x1007bf36d (125 bytes)
//
// 1 xrefs:
// > ProfilePage::FLAlert_Clicked @ 0x1007bf552
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall ProfilePage::blockUser(ProfilePage *a1)
{
GameLevelManager *v1; // rax
UploadActionPopup *m_popupDelegate; // rax
__int128 v3[2]; // [rsp+0h] [rbp-20h] BYREF
v1 = GameLevelManager::sharedState();
if ( GameLevelManager::blockUser(v1, a1->m_score->m_accountID) )
{
strcpy((char *)v3, " Blocking user...");
m_popupDelegate = (UploadActionPopup *)UploadActionPopup::create((__int64)&a1->UploadPopupDelegate, v3);
a1->m_popupDelegate = m_popupDelegate;
if ( (v3[0] & 1) != 0 )
{
operator delete(*(void **)&v3[1]);
m_popupDelegate = a1->m_popupDelegate;
}
((void (__fastcall *)(UploadActionPopup *))m_popupDelegate->show)(m_popupDelegate);
}
}