//
// LevelListLayer::likedItem from 0x1002e3ffc to 0x1002e4050 (84 bytes)
//
// 2 xrefs:
// > sub_1002E4050 @ 0x1002e4054
// > ??> @ 0x100923a28
//
// 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 11:02:49 +0000
//
void __fastcall LevelListLayer::likedItem(__int64 *a1, __int64 a2, int a3, int a4)
{
__int64 v6; // x8
int v7; // w9
int v8; // w9
if ( *(_DWORD *)(a1[114] + 344) == a3 )
{
LevelListLayer::updateSideButtons((__int64)a1);
v6 = a1[114];
v7 = *(_DWORD *)(v6 + 356);
if ( a4 )
v8 = v7 + 1;
else
v8 = v7 - 1;
*(_DWORD *)(v6 + 356) = v8;
LevelListLayer::updateStatsArt(a1);
}
}