// // CommentCell::updateLabelValues from 0x1400b7fa0 to 0x1400b8054 (180 bytes) // // 5 xrefs: // > CommentCell::likedItem @ 0x1400b7f88 // > CommentCell::likedItem @ 0x1400b7f93 // > @ 0x14066b77c // > @ 0x14066b78c // > @ 0x1406c7c20 // // 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 CommentCell::updateLabelValues(CommentCell *a1) { cocos2d::CCLabelBMFont *m_likeLabel; // rbx cocos2d::CCLabelProtocol_vtbl *v3; // rbx int m_likeCount; // edi cocos2d::CCString *v5; // rax const char *CString; // rax cocos2d::CCSprite_vtbl *v7; // rbx cocos2d::CCSpriteFrameCache *v8; // rax const char *v9; // rdx struct cocos2d::CCSpriteFrame *v10; // rax m_likeLabel = a1->m_likeLabel; if ( m_likeLabel ) { v3 = m_likeLabel->cocos2d::CCLabelProtocol::__vftable; m_likeCount = a1->m_comment->m_likeCount; v5 = cocos2d::CCString::createWithFormat("%i", m_likeCount); CString = cocos2d::CCString::getCString(v5); v3->setString(&a1->m_likeLabel->cocos2d::CCLabelProtocol, CString); v7 = a1->m_iconSprite->__vftable; v8 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); if ( m_likeCount < 0 ) v9 = "GJ_dislikesIcon_001.png"; else v9 = "GJ_likesIcon_001.png"; v10 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v8, v9); v7->setDisplayFrame(a1->m_iconSprite, v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source