// // ProfilePage::blockUser from 0x8fca44 to 0x8fcb78 (308 bytes) // // 2 xrefs: // > ProfilePage::FLAlert_Clicked @ 0x8fcc30 // > @ 0x8aa50 // // 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 ProfilePage::blockUser(ProfilePage *a1) { GameLevelManager *v2; // x0 UploadActionPopup *m_popupDelegate; // x0 void *v4; // x3 unsigned int *v5; // x2 int v6; // w0 __int64 v7; // [xsp+40h] [xbp+40h] BYREF v2 = GameLevelManager::sharedState(); if ( GameLevelManager::blockUser(v2, a1->m_score->m_accountID) ) { sub_D153B8((int)&v7, "Blocking user..."); m_popupDelegate = (UploadActionPopup *)UploadActionPopup::create((__int64)&a1->UploadPopupDelegate); a1->m_popupDelegate = m_popupDelegate; v4 = (void *)(v7 - 24); if ( (__int64 *)(v7 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v5 = (unsigned int *)(v7 - 8); do v6 = __ldaxr(v5); while ( __stlxr(v6 - 1, v5) ); } else { v6 = *(_DWORD *)(v7 - 8); *(_DWORD *)(v7 - 8) = v6 - 1; } if ( v6 <= 0 ) operator delete(v4); m_popupDelegate = a1->m_popupDelegate; } m_popupDelegate->show(m_popupDelegate); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source