// // FriendRequestPopup::onRemove from 0x5d9bf8 to 0x5d9ca2 (170 bytes) // // 1 xrefs: // > FriendRequestPopup::FLAlert_Clicked @ 0x5d9d5e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:54:11 +0000 // int __fastcall FriendRequestPopup::onRemove(FriendRequestPopup *this, cocos2d::CCObject *a2, int a3, int a4) { int v5; // r5 GameLevelManager *v6; // r0 int result; // r0 GameLevelManager *v8; // r0 const char *v9; // r7 size_t v10; // r0 int v11; // r2 int v12; // r3 FriendRequestPopup *v13; // [sp+0h] [bp-10h] BYREF cocos2d::CCObject *v14; // [sp+4h] [bp-Ch] int v15; // [sp+8h] [bp-8h] int v16; // [sp+Ch] [bp-4h] v13 = this; v14 = a2; v15 = a3; v16 = a4; v5 = *((unsigned __int8 *)this + 533); if ( *((_BYTE *)this + 533) ) { v6 = (GameLevelManager *)GameLevelManager::sharedState(this); result = GameLevelManager::deleteSentFriendRequest(v6, *(const char **)(*((_DWORD *)this + 134) + 268)); } else { v8 = (GameLevelManager *)GameLevelManager::sharedState(this); result = GameLevelManager::deleteFriendRequests( v8, *(const char **)(*((_DWORD *)this + 134) + 268), (cocos2d::CCArray *)v5, v5); } if ( result ) { if ( *((_BYTE *)this + 533) ) v9 = "Removing Friend Request..."; else v9 = "Ignoring Request..."; v13 = nullptr; v14 = nullptr; v15 = 0; v10 = strlen(v9); std::string::__init((int *)&v13, v9, v10); *((_DWORD *)this + 137) = UploadActionPopup::create((int)this + 524, (int)&v13, v11, v12); std::string::~string((int)&v13); return (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 137) + 656))(*((_DWORD *)this + 137)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source