// // CommentCell::updateLabelValues from 0x100110e64 to 0x100110f10 (172 bytes) // // 2 xrefs: // > CommentCell::likedItem @ 0x100110e28 // > sub_100110E30 @ 0x100110e5c // // 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::updateLabelValues(CommentCell *a1) { cocos2d::CCLabelBMFont *m_likeLabel; // x20 int m_likeCount; // w21 cocos2d::CCString *v4; // x0 const char *CString; // x0 cocos2d::CCSprite *m_iconSprite; // x19 cocos2d::CCSpriteFrameCache *v7; // x0 const char *v8; // x1 cocos2d::CCSpriteFrame *v9; // x1 m_likeLabel = a1->m_likeLabel; if ( m_likeLabel ) { m_likeCount = a1->m_comment->m_likeCount; v4 = (cocos2d::CCString *)sub_100268F4C("%i", m_likeCount); CString = cocos2d::CCString::getCString(v4); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))m_likeLabel->setString)(m_likeLabel, CString); m_iconSprite = a1->m_iconSprite; v7 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); if ( m_likeCount < 0 ) v8 = "GJ_dislikesIcon_001.png"; else v8 = "GJ_likesIcon_001.png"; v9 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v7, v8); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))m_iconSprite->setDisplayFrame)( m_iconSprite, v9); } }