// // ProfilePage::createUnfriendAlert from 0x5f7ab4 to 0x5f7b88 (212 bytes) // // 1 xrefs: // > ProfilePage::onFriend @ 0x5f7d24 // // 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:32 +0000 // int *__fastcall ProfilePage::createUnfriendAlert(int a1, int a2) { cocos2d::CCString *v3; // r0 char *CString; // r8 size_t v5; // r0 size_t v6; // r0 int *v7; // r6 int v9[2]; // [sp+1Ch] [bp+0h] BYREF char *v10; // [sp+24h] [bp+8h] int v11[3]; // [sp+28h] [bp+Ch] BYREF if ( (*(_BYTE *)a2 & 1) != 0 ) v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Are you sure you want to remove %s from your friend" "s list?\n" "Your direct messages with them will close.", *(const char **)(a2 + 8)); else v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Are you sure you want to remove %s from your friend" "s list?\n" "Your direct messages with them will close.", (const char *)(a2 + 1)); v9[0] = 0; v9[1] = 0; v10 = nullptr; CString = (char *)cocos2d::CCString::getCString(v3); v5 = strlen(CString); std::string::__init(v9, CString, v5); v11[0] = 0; v11[1] = 0; if ( (v9[0] & 1) == 0 ) CString = (char *)v9 + 1; v11[2] = 0; if ( (v9[0] & 1) != 0 ) CString = v10; v6 = strlen(CString); std::string::__init(v11, CString, v6); v7 = FLAlertLayer::create( a1, (cocos2d::CCLabelBMFont *)"Unfriend", (int)v11, (ButtonSprite *)"Back", (ButtonSprite *)"Unfriend", 380.0, 0, 0, 1.0); std::string::~string((int)v11); ButtonSprite::updateBGImage((char *)v7[121], "GJ_button_06.png"); std::string::~string((int)v9); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source