// // GJRequestCell::FLAlert_Clicked from 0x1400bcf10 to 0x1400bd0b7 (423 bytes) // // 2 xrefs: // > @ 0x140549590 // > @ 0x1406c7de8 // // 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=3 void GJRequestCell::FLAlert_Clicked(GJRequestCell *a1, FLAlertLayer *a2, bool a3) { __int64 v4; // rcx struct cocos2d::CCObject *v5; // rsi int *p_m_nTag; // rdi GameLevelManager *v7; // rcx unsigned int *p_m_uID; // rcx __int64 v9; // rax __int128 v10; // [rsp+20h] [rbp-38h] BYREF __int64 v11; // [rsp+30h] [rbp-28h] __int64 v12; // [rsp+38h] [rbp-20h] void *v13; // [rsp+78h] [rbp+20h] void *v14; // [rsp+78h] [rbp+20h] if ( a3 && a2->getTag(a2) == 1 && *(_QWORD *)&a1->m_uAutoReleaseCount ) { v4 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v13 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280(v13); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v4 = qword_1406C2EC0; } v5 = cocos2d::CCDictionary::objectForKey( *(cocos2d::CCDictionary **)(v4 + 608), *(int *)(*(_QWORD *)&a1->m_uAutoReleaseCount + 392LL)); if ( v5 ) { GJRequestCell::markAsRead((GJRequestCell *)((char *)a1 - 560)); p_m_nTag = &a1->m_nTag; if ( a1 == (GJRequestCell *)560 ) p_m_nTag = nullptr; v7 = (GameLevelManager *)qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v14 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280(v14); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v7 = (GameLevelManager *)qword_1406C2EC0; } v7->m_uploadActionDelegate = (UploadActionDelegate *)p_m_nTag; if ( GameLevelManager::deleteFriendRequests(v7, v5[5].m_nZOrder, nullptr, 0) ) { v10 = 0; *(_QWORD *)&v10 = sub_14003AA10(0x20u); v11 = 26; v12 = 31; strcpy((char *)v10, "Removing Friend Request..."); p_m_uID = &a1->m_uID; if ( a1 == (GJRequestCell *)560 ) p_m_uID = nullptr; v9 = UploadActionPopup::create(p_m_uID, &v10); *(_QWORD *)&a1->m_uIndexInArray = v9; (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 1040LL))(v9); } } } }