//
// LevelListLayer::likedItem from 0x140307b50 to 0x140307bac (92 bytes)
//
// 4 xrefs:
// > ??> @ 0x140589120
// > ??> @ 0x1406919c0
// > ??> @ 0x1406919d0
// > ??> @ 0x1406d452c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void LevelListLayer::likedItem(LevelListLayer *a1, LikeItemType a2, int a3, bool a4)
{
BOOL v5; // esi
v5 = a4;
if ( a3 == *(_DWORD *)(*(_QWORD *)&a1->m_fRotationX + 344LL) )
{
LevelListLayer::updateSideButtons((LevelListLayer *)((char *)a1 - 816));
*(_DWORD *)(*(_QWORD *)&a1->m_fRotationX + 356LL) += 2 * v5 - 1;
LevelListLayer::updateStatsArt((LevelListLayer *)((char *)a1 - 816));
}
}