// // FriendRequestPopup::onRemove from 0x1002a5f60 to 0x1002a6013 (179 bytes) // // 1 xrefs: // > FriendRequestPopup::loadFromGJFriendRequest @ 0x1002a5c93 // // 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 FriendRequestPopup::onRemove(FriendRequestPopup *a1, cocos2d::CCObject *a2) { GameLevelManager *v2; // rax char *v3; // r14 __int128 v4; // [rsp+0h] [rbp-30h] BYREF char *v5; // [rsp+10h] [rbp-20h] v2 = GameLevelManager::sharedState(); if ( GameLevelManager::deleteFriendRequests(v2, a1->m_request->m_accountID, nullptr, 0) ) { v3 = (char *)operator new(0x20u); v5 = v3; *(_QWORD *)&v4 = 33; *((_QWORD *)&v4 + 1) = 26; strcpy(v3, "Removing Friend Request..."); a1->m_popup = (UploadActionPopup *)UploadActionPopup::create((__int64)&a1->UploadPopupDelegate, &v4); operator delete(v3); ((void (__fastcall *)(UploadActionPopup *))a1->m_popup->show)(a1->m_popup); } }