// // FriendRequestPopup::onAccept from 0xa2879c to 0xa2887c (224 bytes) // // 3 xrefs: // > @ 0x97bb8 // > FriendRequestPopup::loadFromGJFriendRequest @ 0xa2bd3c // > @ 0x1544200 // // This function is hookable on this platform (idp: arm, 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:59:43 +0000 // __int64 __fastcall FriendRequestPopup::onAccept(FriendRequestPopup *this, cocos2d::CCObject *a2) { GameLevelManager *v3; // x0 __int64 v5; // x0 char v6; // w1 __int64 v7[2]; // [xsp+30h] [xbp+30h] BYREF void *v8; // [xsp+40h] [xbp+40h] v3 = (GameLevelManager *)GameLevelManager::sharedState(_stack_chk_guard); if ( (unsigned __int8)GameLevelManager::acceptFriendRequest( v3, (const char *)*(unsigned int *)(*((_QWORD *)this + 87) + 320LL), *(_DWORD *)(*((_QWORD *)this + 87) + 316LL)) ) { v7[0] = 0; v7[1] = 0; v8 = nullptr; std::string::__init(v7, "Accepting Friend Request...", 0x1Bu); v5 = UploadActionPopup::create((__int64)this + 672, (char *)v7); v6 = v7[0]; *((_QWORD *)this + 90) = v5; if ( (v6 & 1) != 0 ) { operator delete(v8); v5 = *((_QWORD *)this + 90); } (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source