// // GJMessageCell::FLAlert_Clicked from 0x1002588b0 to 0x100258a06 (342 bytes) // // 2 xrefs: // > sub_100258A20 @ 0x100258a2c // > @ 0x1008e8c78 // // 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 __fastcall GJMessageCell::FLAlert_Clicked(GJMessageCell *a1, FLAlertLayer *a2, bool a3) { GJUserMessage *m_message; // rax __int64 v4; // rax GameLevelManager *v5; // r14 GJAccountManager *v6; // rax GJUserScore *v7; // rax int m_newMsgCount; // edx GameLevelManager *v9; // rax UploadActionPopup *m_popup; // rax UploadActionPopup *v11; // rax void *v12[5]; // [rsp+8h] [rbp-28h] BYREF if ( a3 && ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 1 ) { m_message = a1->m_message; if ( m_message ) { if ( !m_message->m_read ) { m_message->m_read = 1; v4 = ((__int64 (__fastcall *)(cocos2d::CCLayer *, __int64))a1->m_mainLayer->getChildByTag)(a1->m_mainLayer, 100); if ( v4 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 328LL))(v4, 0); v5 = GameLevelManager::sharedState(); v6 = GJAccountManager::sharedState(); v7 = GameLevelManager::userInfoForAccountID(v5, v6->m_accountID - v6->m_unkInt1); if ( v7 ) { m_newMsgCount = 1; if ( v7->m_newMsgCount >= 2 ) m_newMsgCount = v7->m_newMsgCount; v7->m_newMsgCount = m_newMsgCount - 1; } } v9 = GameLevelManager::sharedState(); if ( GameLevelManager::deleteUserMessages(v9, a1->m_message, nullptr, a1->m_message->m_outgoing) ) { GameLevelManager::sharedState()->m_uploadActionDelegate = &a1->UploadActionDelegate; m_popup = a1->m_popup; if ( m_popup ) m_popup->m_delegate = nullptr; strcpy((char *)v12, "&Deleting message..."); v11 = (UploadActionPopup *)UploadActionPopup::create(&a1->UploadPopupDelegate, v12); a1->m_popup = v11; if ( ((__int64)v12[0] & 1) != 0 ) { operator delete(v12[2]); v11 = a1->m_popup; } ((void (__fastcall *)(UploadActionPopup *))v11->show)(v11); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source