// // FriendRequestPopup::onRemove from 0x1002922b0 to 0x1002923d3 (291 bytes) // // 3 xrefs: // > FriendRequestPopup::FLAlert_Clicked @ 0x100292f06 // > sub_100292F20 @ 0x100292fb4 // > FriendRequestPopup::loadFromGJFriendRequest @ 0x100291f80 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:27:50 +0000 // __int64 __fastcall FriendRequestPopup::onRemove(__int64 a1, double a2) { char v2; // r14 __int64 v3; // rax __int64 v4; // rsi __int64 result; // rax char v6; // cl const char *v7; // r15 __int64 v8; // r14 size_t v9; // r12 char *v10; // r13 char *v11; // rax __int128 v12; // [rsp+8h] [rbp-48h] BYREF void *__p; // [rsp+18h] [rbp-38h] char v14; // [rsp+27h] [rbp-29h] v2 = *(_BYTE *)(a1 + 689); v3 = GameLevelManager::sharedState(a2); v4 = *(unsigned int *)(*(_QWORD *)(a1 + 696) + 320LL); if ( v2 == 1 ) { result = GameLevelManager::deleteSentFriendRequest(v3, v4); if ( !(_BYTE)result ) return result; } else { result = GameLevelManager::deleteFriendRequests(v3, v4, 0, 0); if ( !(_BYTE)result ) return result; } v6 = *(_BYTE *)(a1 + 689); v7 = "Ignoring Request..."; if ( v6 ) v7 = "Removing Friend Request..."; v8 = 26; v9 = 19; if ( v6 ) v9 = 26; v14 = *(_BYTE *)(a1 + 689); if ( v6 == 1 ) { v10 = (char *)operator new(0x20u); __p = v10; *(_QWORD *)&v12 = 33; *((_QWORD *)&v12 + 1) = 26; } else { LOBYTE(v12) = 38; v10 = (char *)&v12 + 1; v8 = 19; } memcpy(v10, v7, v9); v10[v8] = 0; v11 = UploadActionPopup::create(a1 + 672, &v12); *(_QWORD *)(a1 + 720) = v11; if ( v14 ) { operator delete(__p); v11 = *(char **)(a1 + 720); } return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v11 + 1312LL))(v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source