//
// CommentCell::updateLabelValues from 0x738eb4 to 0x738f68 (180 bytes)
//
// 3 xrefs:
// > CommentCell::incrementLikes @ 0x738f78
// > CommentCell::incrementDislikes @ 0x738f8c
// > ??> @ 0xb4ee0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:52:40 +0000
//
__int64 __fastcall CommentCell::updateLabelValues(__int64 this)
{
__int64 v1; // x20
__int64 v2; // x19
unsigned int v3; // w21
void (__fastcall *v4)(__int64, __int64); // x22
cocos2d::CCString *v5; // x0
__int64 CString; // x0
cocos2d::CCSpriteFrameCache **v7; // x19
cocos2d::CCSpriteFrameCache *v8; // x0
__int64 (__fastcall *v9)(cocos2d::CCSpriteFrameCache **, __int64); // x20
cocos2d::CCSpriteFrameCache *v10; // x0
__int64 v11; // x0
cocos2d::CCSpriteFrameCache *v12; // x0
__int64 v13; // x0
v1 = *(_QWORD *)(this + 576);
if ( v1 )
{
v2 = this;
v3 = *(_DWORD *)(*(_QWORD *)(this + 584) + 376LL);
v4 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 928LL);
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v3);
CString = cocos2d::CCString::getCString(v5);
v4(v1, CString);
v7 = *(cocos2d::CCSpriteFrameCache ***)(v2 + 568);
v8 = *v7;
v9 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v7 + 145);
if ( (v3 & 0x80000000) != 0 )
{
v12 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v8);
v13 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v12, "GJ_dislikesIcon_001.png");
return v9(v7, v13);
}
else
{
v10 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v8);
v11 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v10, "GJ_likesIcon_001.png");
return v9(v7, v11);
}
}
return this;
}