//
// ProfilePage::blockUser from 0x10019bcbc to 0x10019bd34 (120 bytes)
//
// 1 xrefs:
// > ProfilePage::FLAlert_Clicked @ 0x10019be94
//
// 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 *v2; // x0
UploadActionPopup *m_popupDelegate; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
v2 = GameLevelManager::sharedState();
if ( GameLevelManager::blockUser(v2, a1->m_score->m_accountID) )
{
sub_100009900(__p, "Blocking user...");
m_popupDelegate = (UploadActionPopup *)UploadActionPopup::create(&a1->UploadPopupDelegate, __p);
a1->m_popupDelegate = m_popupDelegate;
if ( v5 < 0 )
{
operator delete(__p[0]);
m_popupDelegate = a1->m_popupDelegate;
}
((void (__fastcall *)(UploadActionPopup *))m_popupDelegate->show)(m_popupDelegate);
}
}