// // GJUserCell::onRemoveFriend from 0x32f9f0 to 0x32fad0 (224 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 GJUserCell::onRemoveFriend(GJUserCell *a1, cocos2d::CCObject *a2) { GJUserScore *m_userScore; // r1 cocos2d::CCString *v4; // r0 char *CString; // r0 FLAlertLayer *v6; // r5 char *v7; // [sp+1Ch] [bp-Ch] BYREF char *v8; // [sp+20h] [bp-8h] BYREF m_userScore = a1->m_userScore; if ( m_userScore ) { if ( m_userScore->m_accountID > 0 ) { sub_775C20(&v8, &m_userScore->m_userName); v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Are you sure you want to remove %s from your friends list?", v8); CString = (char *)cocos2d::CCString::getCString(v4); sub_776584((int)&v7, CString); sub_774008(&v8); sub_776584((int)&v8, v7); v6 = FLAlertLayer::create( (int)&a1->FLAlertLayerProtocol, (int)"Unfriend", (int)&v8, (int)"Back", (int)"Unfriend", 380.0, 0, 0, 1.0); sub_774008(&v8); ButtonSprite::updateBGImage(v6->m_button2, "GJ_button_06.png"); v6->setTag(v6, 2); v6->show(v6); sub_774008(&v7); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source