//
// GameLevelManager::hasLikedItemFullCheck from 0x14025bce0 to 0x14025bd6a (138 bytes)
//
// 3 xrefs:
// > CommentCell::onLike @ 0x1401549c0
// > GameLevelManager::likeItem @ 0x14025ab85
// > ??> @ 0x14091c724
//
// 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 11:28:46 +0000
//
char __fastcall GameLevelManager::hasLikedItemFullCheck(int a1, int a2, int a3, int a4)
{
int v4; // ebx
char result; // al
int v9; // [rsp+20h] [rbp-18h]
v4 = a4;
v9 = a4;
LOBYTE(a4) = 1;
if ( a2 == 3 )
{
if ( !(unsigned __int8)GameLevelManager::hasLikedAccountItem(a1, 3, a3, a4, v9) )
{
result = GameLevelManager::hasLikedAccountItem(a1, 3, a3, 0, v4);
LABEL_6:
if ( !result )
return result;
}
}
else if ( !(unsigned __int8)GameLevelManager::hasLikedAccountItem(a1, a2, a3, a4, v9) )
{
result = GameLevelManager::hasLikedAccountItem(a1, a2, a3, 0, v4);
goto LABEL_6;
}
return 1;
}