// // ProfilePage::createUnfriendAlert from 0xa56864 to 0xa569d0 (364 bytes) // // 2 xrefs: // > ProfilePage::onFriend @ 0xa56bd4 // > @ 0xce6c8 // // 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 13:00:08 +0000 // __int64 __fastcall ProfilePage::createUnfriendAlert(__int64 a1, char *a2) { const char *v4; // x1 char v5; // t1 char *v6; // x20 cocos2d::CCString *v7; // x0 const char *CString; // x0 size_t v9; // x0 size_t v10; // x0 __int64 v11; // x20 char *v13; // [xsp+38h] [xbp+38h] __int64 v14[2]; // [xsp+48h] [xbp+48h] BYREF void *v15; // [xsp+58h] [xbp+58h] __int64 v16[2]; // [xsp+60h] [xbp+60h] BYREF void *v17; // [xsp+70h] [xbp+70h] v5 = *a2; v4 = a2 + 1; if ( (v5 & 1) != 0 ) v4 = *((const char **)a2 + 2); v6 = (char *)v14 + 1; v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Are you sure you want to remove %s from your friends " "list?\n" "Your direct messages with them will close.", v4, a2); CString = (const char *)cocos2d::CCString::getCString(v7); v14[0] = 0; v13 = (char *)CString; v14[1] = 0; v15 = nullptr; v9 = strlen(CString); std::string::__init(v14, v13, v9); if ( (v14[0] & 1) != 0 ) v6 = (char *)v15; v16[0] = 0; v16[1] = 0; v17 = nullptr; v10 = strlen(v6); std::string::__init(v16, v6, v10); v11 = FLAlertLayer::create( a1, (cocos2d::CCLabelBMFont *)"Unfriend", (char *)v16, (ButtonSprite *)"Back", (ButtonSprite *)"Unfriend", 0, 380.0, 0.0, 1.0); if ( (v16[0] & 1) != 0 ) operator delete(v17); ButtonSprite::updateBGImage(*(ButtonSprite **)(v11 + 616), "GJ_button_06.png"); if ( (v14[0] & 1) != 0 ) operator delete(v15); return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source