//
// LevelInfoLayer::likedItem from 0x49cc8c to 0x49ccbe (50 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelInfoLayer::likedItem @ 0x49ccc2
//
// 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:49:46 +0000
//
GJGameLevel *__fastcall LevelInfoLayer::likedItem(GJGameLevel *result, int a2, int a3, int a4)
{
LevelInfoLayer *v5; // r4
v5 = result;
if ( a3 == *(_DWORD *)(*((_DWORD *)result + 91) + 268) - *(_DWORD *)(*((_DWORD *)result + 91) + 272) )
{
LevelInfoLayer::updateSideButtons(result);
if ( a4 )
return LevelInfoLayer::incrementLikes(v5);
else
return LevelInfoLayer::incrementDislikes(v5);
}
return result;
}