// // FriendRequestPopup::onAccept from 0x1002a5e90 to 0x1002a5f45 (181 bytes) // // 1 xrefs: // > FriendRequestPopup::loadFromGJFriendRequest @ 0x1002a5bd6 // // 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::onAccept(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::acceptFriendRequest(v2, a1->m_request->m_accountID, a1->m_request->m_requestID) ) { v3 = (char *)operator new(0x20u); v5 = v3; *(_QWORD *)&v4 = 33; *((_QWORD *)&v4 + 1) = 27; strcpy(v3, "Accepting 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); } }