//
// GameLevelManager::hasLikedItemFullCheck from 0x4af3ec to 0x4af434 (72 bytes)
//
// 6 xrefs:
// > CommentCell::onLike @ 0x424596
// > LevelInfoLayer::updateSideButtons @ 0x49a1d2
// > GameLevelManager::likeItem @ 0x4c03f0
// > LevelListLayer::updateSideButtons @ 0x6d4dfe
// > EditorSoundConfigInfoLayer::onLike @ 0x784c9e
// > EditorSoundConfigInfoLayer::refreshLikeState @ 0x78508e
//
// 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:50:01 +0000
//
int __fastcall GameLevelManager::hasLikedItemFullCheck(int a1, const char *a2)
{
if ( a2 == (_BYTE *)&dword_0 + 3 )
{
if ( GameLevelManager::hasLikedAccountItem(a1, (_BYTE *)&dword_0 + 3) )
return 1;
return GameLevelManager::hasLikedAccountItem(a1, (_BYTE *)&dword_0 + 3);
}
else
{
if ( GameLevelManager::hasLikedItem(a1, a2) )
return 1;
return GameLevelManager::hasLikedItem(a1, a2);
}
}