// // CommentCell::updateLabelValues from 0x100255400 to 0x1002554a6 (166 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::updateLabelValues(CommentCell *a1) { char v1; // al cocos2d::CCLabelBMFont *m_likeLabel; // rbx int m_likeCount; // r14d cocos2d::CCString *v4; // rax const char *CString; // rax cocos2d::CCSprite *m_iconSprite; // rbx cocos2d::CCSpriteFrameCache *v7; // rax const char *v8; // rsi cocos2d::CCSpriteFrame *v9; // rax m_likeLabel = a1->m_likeLabel; if ( m_likeLabel ) { m_likeCount = a1->m_comment->m_likeCount; v4 = (cocos2d::CCString *)sub_1007AB580("%i", v1); 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(); v8 = "GJ_dislikesIcon_001.png"; if ( m_likeCount >= 0 ) v8 = "GJ_likesIcon_001.png"; v9 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v7, v8); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))m_iconSprite->setDisplayFrame)( m_iconSprite, v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source