//
// LevelInfoLayer::likedItem from 0x1002b1950 to 0x1002b19a2 (82 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b0e320
//
// This function is hookable on this platform (idp: pc, 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 12:28:01 +0000
//
__int64 __fastcall LevelInfoLayer::likedItem(__int64 a1, __m128 a2, __m128 a3, __int64 a4, int a5, char a6)
{
__int64 result; // rax
__int64 v8; // rax
result = *(_QWORD *)(a1 + 504);
if ( *(_DWORD *)(result + 328) - *(_DWORD *)(result + 332) == a5 )
{
LevelInfoLayer::updateSideButtons(a1, *(double *)a2.i64);
v8 = *(_QWORD *)(a1 + 504);
if ( a6 )
++*(_DWORD *)(v8 + 892);
else
++*(_DWORD *)(v8 + 896);
return LevelInfoLayer::updateLabelValues(a1, a2, a3);
}
return result;
}