//
// LevelInfoLayer::likedItem from 0x10002e528 to 0x10002e590 (104 bytes)
//
// 2 xrefs:
// > sub_10002E590 @ 0x10002e594
// > ??> @ 0x1008b09a8
//
// 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:57:29 +0000
//
void __fastcall LevelInfoLayer::likedItem(__int64 a1, __int64 a2, int a3, int a4)
{
__int64 v6; // x8
if ( *(_DWORD *)(*(_QWORD *)(a1 + 504) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 504) + 332LL) == a3 )
{
LevelInfoLayer::updateSideButtons(a1);
v6 = *(_QWORD *)(a1 + 504);
if ( a4 )
++*(_DWORD *)(v6 + 892);
else
++*(_DWORD *)(v6 + 896);
LevelInfoLayer::updateLabelValues(a1);
}
}