// // GJUserCell::FLAlert_Clicked from 0x1400bbb70 to 0x1400bbf24 (948 bytes) // // 2 xrefs: // > @ 0x14054bea8 // > @ 0x1406c7d7c // // 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 // // Hidden C++ exception states: #wind=6 void GJUserCell::FLAlert_Clicked(GJUserCell *a1, FLAlertLayer *a2, bool a3) { GameLevelManager *v5; // rcx int *p_m_unknown2; // r14 int *p_m_nTag; // rsi __int64 v8; // rax __int64 v9; // rax GameLevelManager *v10; // rcx int *v11; // rsi __int64 v12; // rax __int64 v13; // rax GameLevelManager *v14; // rcx int *v15; // rsi __int64 v16; // rax unsigned int *p_m_uID; // rcx __int64 v18; // rax __int128 v19; // [rsp+20h] [rbp-20h] BYREF __int64 v20; // [rsp+30h] [rbp-10h] __int64 v21; // [rsp+38h] [rbp-8h] void *v22; // [rsp+78h] [rbp+38h] void *v23; // [rsp+78h] [rbp+38h] void *v24; // [rsp+78h] [rbp+38h] void *v25; // [rsp+78h] [rbp+38h] void *v26; // [rsp+78h] [rbp+38h] void *v27; // [rsp+78h] [rbp+38h] if ( !a3 ) return; if ( a2->getTag(a2) == 1 ) { if ( *(_QWORD *)&a1->m_uAutoReleaseCount ) { v5 = (GameLevelManager *)qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v22 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280(v22); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v5 = (GameLevelManager *)qword_1406C2EC0; } if ( GameLevelManager::unblockUser(v5, *(_DWORD *)(*(_QWORD *)&a1->m_uAutoReleaseCount + 392LL)) ) { p_m_unknown2 = &a1[-1].TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::m_unknown2; p_m_nTag = &a1->m_nTag; if ( a1 == (GJUserCell *)560 ) p_m_nTag = nullptr; v8 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v23 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280(v23); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v8 = qword_1406C2EC0; } *(_QWORD *)(v8 + 808) = p_m_nTag; v9 = *(_QWORD *)&a1->m_uIndexInArray; if ( v9 ) *(_QWORD *)(v9 + 632) = 0; v19 = 0; *(_QWORD *)&v19 = sub_14003AA10(0x20u); v20 = 18; v21 = 31; strcpy((char *)v19, "Unblocking user..."); LABEL_35: p_m_uID = &a1->m_uID; if ( !p_m_unknown2 ) p_m_uID = nullptr; v18 = UploadActionPopup::create(p_m_uID, &v19); *(_QWORD *)&a1->m_uIndexInArray = v18; (*(void (__fastcall **)(__int64))(*(_QWORD *)v18 + 1040LL))(v18); } } } else if ( a2->getTag(a2) == 2 ) { if ( *(_QWORD *)&a1->m_uAutoReleaseCount ) { v10 = (GameLevelManager *)qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v24 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280(v24); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v10 = (GameLevelManager *)qword_1406C2EC0; } if ( GameLevelManager::removeFriend(v10, *(_DWORD *)(*(_QWORD *)&a1->m_uAutoReleaseCount + 392LL)) ) { p_m_unknown2 = &a1[-1].TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::m_unknown2; v11 = &a1->m_nTag; if ( a1 == (GJUserCell *)560 ) v11 = nullptr; v12 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v25 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280(v25); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v12 = qword_1406C2EC0; } *(_QWORD *)(v12 + 808) = v11; v13 = *(_QWORD *)&a1->m_uIndexInArray; if ( v13 ) *(_QWORD *)(v13 + 632) = 0; v19 = 0; *(_QWORD *)&v19 = sub_14003AA10(0x20u); v20 = 18; v21 = 31; strcpy((char *)v19, "Removing Friend..."); goto LABEL_35; } } } else if ( a2->getTag(a2) == 3 ) { v14 = (GameLevelManager *)qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v26 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280(v26); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v14 = (GameLevelManager *)qword_1406C2EC0; } if ( GameLevelManager::deleteFriendRequests( v14, *(_DWORD *)(*(_QWORD *)&a1->m_uAutoReleaseCount + 392LL), nullptr, 1) ) { p_m_unknown2 = &a1[-1].TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::m_unknown2; v15 = &a1->m_nTag; if ( a1 == (GJUserCell *)560 ) v15 = nullptr; v16 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v27 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280(v27); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v16 = qword_1406C2EC0; } *(_QWORD *)(v16 + 808) = v15; v19 = 0; *(_QWORD *)&v19 = sub_14003AA10(0x20u); v20 = 26; v21 = 31; strcpy((char *)v19, "Removing Friend Request..."); goto LABEL_35; } } }