// // FriendRequestPopup::onAccept from 0x1403a2a30 to 0x1403a2b30 (256 bytes) // // 2 xrefs: // > FriendRequestPopup::loadFromGJFriendRequest @ 0x1403a2491 // > @ 0x14092363c // // 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 11:31:17 +0000 // // Hidden C++ exception states: #wind=1 char __fastcall FriendRequestPopup::onAccept(__int64 a1) { __int64 v2; // rcx char result; // al cocos2d::CCObject *v4; // rax __int128 v5; // [rsp+20h] [rbp-28h] BYREF __int64 v6; // [rsp+30h] [rbp-18h] __int64 v7; // [rsp+38h] [rbp-10h] void *v8; // [rsp+50h] [rbp+8h] v2 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v8 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v8); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v2 = *(_QWORD *)&qword_14090BFB0; } result = GameLevelManager::acceptFriendRequest( v2, *(_DWORD *)(*(_QWORD *)(a1 + 696) + 324LL), *(_DWORD *)(*(_QWORD *)(a1 + 696) + 320LL)); if ( result ) { v5 = 0; *(_QWORD *)&v5 = sub_14003D460(0x20u); v6 = 27; v7 = 31; strcpy((char *)v5, "Accepting Friend Request..."); v4 = UploadActionPopup::create(a1 + 672, (__int64)&v5); *(_QWORD *)(a1 + 720) = v4; return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v4 + 1064LL))(v4); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source