//
// CommentCell::incrementLikes from 0x10023e4a0 to 0x10023e547 (167 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:27:17 +0000
//
__int64 __fastcall CommentCell::incrementLikes(_QWORD *a1)
{
char v1; // al
__int64 result; // rax
int v3; // r15d
__int64 v4; // r14
__int64 v5; // rax
__int64 CString; // rax
__int64 v7; // rbx
__int64 v8; // rax
const char *v9; // rsi
__int64 v10; // rax
char v11; // [rsp-8h] [rbp-20h]
v11 = v1;
result = a1[73];
v3 = *(_DWORD *)(result + 376);
*(_DWORD *)(result + 376) = v3 + 1;
v4 = a1[72];
if ( v4 )
{
v5 = sub_10088E820("%i", v11);
CString = cocos2d::CCString::getCString(v5);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 928LL))(v4, CString);
v7 = a1[71];
v8 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v9 = "GJ_dislikesIcon_001.png";
if ( v3 >= -1 )
v9 = "GJ_likesIcon_001.png";
v10 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v8, v9);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 1160LL))(v7, v10);
}
return result;
}