//
// GJUserCell::onUnblockUser from 0x32f840 to 0x32f916 (214 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::onUnblockUser(GJUserCell *a1, cocos2d::CCObject *a2)
{
GJUserScore *m_userScore; // r1
cocos2d::CCString *v4; // r0
char *CString; // r0
FLAlertLayer *v6; // r5
char *v7; // [sp+Ch] [bp-Ch] BYREF
char *v8; // [sp+10h] [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 unblock %s?",
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)"Unblock user",
(int)&v8,
(int)"Back",
(int)"Unblock",
300.0);
sub_774008(&v8);
v6->setTag(v6, 1);
ButtonSprite::updateBGImage(v6->m_button2, "GJ_button_05.png");
v6->show(v6);
sub_774008(&v7);
}
}
}