// // ProfilePage::FLAlert_Clicked from 0x10019bd68 to 0x10019bea8 (320 bytes) // // 2 xrefs: // > sub_10019BEDC @ 0x10019bee0 // > @ 0x1007a8e90 // // 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::FLAlert_Clicked(ProfilePage *a1, FLAlertLayer *a2, bool a3) { GameLevelManager *v5; // x0 UploadActionPopup *m_popupDelegate; // x0 void *v7; // x0 GameLevelManager *v8; // x0 void *__p[2]; // [xsp+0h] [xbp-40h] BYREF char v10; // [xsp+17h] [xbp-29h] _QWORD v11[2]; // [xsp+18h] [xbp-28h] BYREF char v12; // [xsp+2Fh] [xbp-11h] if ( a3 ) { if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 1 ) { GameLevelManager::sharedState()->m_uploadActionDelegate = &a1->UploadActionDelegate; v5 = GameLevelManager::sharedState(); if ( !GameLevelManager::deleteSentFriendRequest(v5, a1->m_accountID) ) return; sub_100009900(v11, "Removing Friend Request..."); m_popupDelegate = (UploadActionPopup *)UploadActionPopup::create(&a1->UploadPopupDelegate, v11); a1->m_popupDelegate = m_popupDelegate; if ( (v12 & 0x80000000) == 0 ) goto LABEL_11; v7 = (void *)v11[0]; LABEL_10: operator delete(v7); m_popupDelegate = a1->m_popupDelegate; LABEL_11: ((void (__fastcall *)(UploadActionPopup *))m_popupDelegate->show)(m_popupDelegate); return; } if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 2 ) { GameLevelManager::sharedState()->m_uploadActionDelegate = &a1->UploadActionDelegate; v8 = GameLevelManager::sharedState(); if ( !GameLevelManager::removeFriend(v8, a1->m_accountID) ) return; sub_100009900(__p, "Removing Friend..."); m_popupDelegate = (UploadActionPopup *)UploadActionPopup::create(&a1->UploadPopupDelegate, __p); a1->m_popupDelegate = m_popupDelegate; if ( (v10 & 0x80000000) == 0 ) goto LABEL_11; v7 = __p[0]; goto LABEL_10; } if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 3 ) { GameLevelManager::sharedState()->m_uploadActionDelegate = &a1->UploadActionDelegate; ProfilePage::blockUser(a1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source