// // FriendRequestPopup::onBlock from 0x4a850c to 0x4a85e8 (220 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void FriendRequestPopup::onBlock(FriendRequestPopup *a1, cocos2d::CCObject *a2) { GameLevelManager *v3; // r0 cocos2d::CCString *v4; // r0 char *CString; // r0 FLAlertLayer *v6; // r5 char *v7; // [sp+20h] [bp+0h] BYREF char *v8; // [sp+24h] [bp+4h] BYREF _BYTE v9[4]; // [sp+28h] [bp+8h] BYREF v3 = GameLevelManager::sharedState(); GameLevelManager::tryGetUsername( (GameLevelManager *)&v7, (GameLevelManager_vtbl *)v3, a1->m_request->m_accountID, (int)a1->m_request); v4 = (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.", v7); CString = (char *)cocos2d::CCString::getCString(v4); sub_776584((int)&v8, CString); sub_776584((int)v9, v8); v6 = FLAlertLayer::create( (int)&a1->FLAlertLayerProtocol, (int)"Confirm Block", (int)v9, (int)"Back", (int)"Block", 380.0, 0, 0, 1.0); sub_774008(v9); ButtonSprite::updateBGImage(v6->m_button2, "GJ_button_06.png"); v6->setTag(v6, 1); v6->show(v6); sub_774008(&v8); sub_774008(&v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source