//
// CommentCell::likedItem from 0x100138a80 to 0x100138ab0 (48 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008da460
//
// 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 10:59:28 +0000
//
__int64 __fastcall CommentCell::likedItem(__int64 result, __int64 a2, int a3, int a4)
{
__int64 v4; // x8
int v5; // w9
int v6; // w9
v4 = *(_QWORD *)(result + 584);
if ( v4 && *(_DWORD *)(v4 + 368) == a3 )
{
v5 = *(_DWORD *)(v4 + 376);
if ( a4 )
v6 = v5 + 1;
else
v6 = v5 - 1;
*(_DWORD *)(v4 + 376) = v6;
return sub_100138AE4();
}
return result;
}