//
// LevelListLayer::likedItem from 0x6d6a98 to 0x6d6ad2 (58 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelListLayer::likedItem @ 0x6d6ad6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:07 +0000
//
LevelListLayer *__fastcall LevelListLayer::likedItem(LevelListLayer *result, int a2, int a3, int a4)
{
LevelListLayer *v5; // r4
int v6; // r3
v5 = result;
if ( a3 == *(_DWORD *)(*((_DWORD *)result + 160) + 276) )
{
LevelListLayer::updateSideButtons(result);
if ( a4 )
v6 = 1;
else
v6 = -1;
*(_DWORD *)(*((_DWORD *)v5 + 160) + 288) += v6;
return (LevelListLayer *)LevelListLayer::updateStatsArt(v5);
}
return result;
}