// // FriendRequestPopup::onBlock from 0xa29668 to 0xa29844 (476 bytes) // // 3 xrefs: // > @ 0xf2c68 // > FriendRequestPopup::loadFromGJFriendRequest @ 0xa2be78 // > @ 0x15475a0 // // 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::onBlock(FriendRequestPopup *this, cocos2d::CCObject *a2) { cocos2d::CCDictionary **v3; // x0 char *v4; // x1 cocos2d::CCString *v5; // x0 size_t v6; // x0 char *v7; // x21 const char *v8; // x1 size_t v9; // x0 ButtonSprite **v10; // x19 char *CString; // [xsp+38h] [xbp+38h] char *v13; // [xsp+38h] [xbp+38h] __int64 v14[2]; // [xsp+40h] [xbp+40h] BYREF char *v15; // [xsp+50h] [xbp+50h] __int64 v16[2]; // [xsp+58h] [xbp+58h] BYREF void *v17; // [xsp+68h] [xbp+68h] __int64 v18[2]; // [xsp+70h] [xbp+70h] BYREF void *v19; // [xsp+80h] [xbp+80h] v3 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(_stack_chk_guard); GameLevelManager::tryGetUsername(v14, v3, *(_DWORD *)(*((_QWORD *)this + 87) + 320LL)); v4 = (char *)v14 + 1; if ( (v14[0] & 1) != 0 ) v4 = v15; v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Are you sure you want to block %s?\n" "They will no longer be able to:\n" "-View your profile.\n" "-Send you a friend request.\n" "-Send you messages, and all older messages from them will be " "deleted.", v4); CString = (char *)cocos2d::CCString::getCString(v5); v16[0] = 0; v16[1] = 0; v17 = nullptr; v6 = strlen(CString); std::string::__init(v16, CString, v6); v7 = (char *)this + 680; v8 = (char *)v16 + 1; if ( (v16[0] & 1) != 0 ) v8 = (const char *)v17; v13 = (char *)v8; v18[0] = 0; v18[1] = 0; v19 = nullptr; v9 = strlen(v8); std::string::__init(v18, v13, v9); v10 = (ButtonSprite **)FLAlertLayer::create( (__int64)v7, (cocos2d::CCLabelBMFont *)"Confirm Block", (char *)v18, (ButtonSprite *)"Back", (ButtonSprite *)"Block", 0, 380.0, 0.0, 1.0); if ( (v18[0] & 1) != 0 ) operator delete(v19); ButtonSprite::updateBGImage(v10[77], "GJ_button_06.png"); (*((void (__fastcall **)(ButtonSprite **, __int64))*v10 + 9))(v10, 1); (*((void (__fastcall **)(ButtonSprite **))*v10 + 164))(v10); if ( (v16[0] & 1) != 0 ) operator delete(v17); if ( (v14[0] & 1) != 0 ) operator delete(v15); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source