// // CommentCell::onDelete from 0x1002554b0 to 0x10025551c (108 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 __fastcall CommentCell::onDelete(CommentCell *a1) { bool m_accountComment; // r14 GameLevelManager *v2; // rax GJComment *m_comment; // rcx int m_commentID; // edx GJComment *v5; // rsi if ( a1->m_comment ) { m_accountComment = a1->m_accountComment; v2 = GameLevelManager::sharedState(); m_comment = a1->m_comment; m_commentID = m_comment->m_commentID; if ( m_accountComment ) GameLevelManager::deleteAccountComment(v2, m_comment->m_accountID, m_commentID); else GameLevelManager::deleteLevelComment(v2, m_comment->m_levelID, m_commentID); v5 = a1->m_comment; v5->m_commentDeleted = 1; CommentCell::loadFromComment(a1, v5); } }