//
// LikeItemLayer::triggerLike from 0x545378 to 0x5453ba (66 bytes)
//
// 2 xrefs:
// > LikeItemLayer::onLike @ 0x5453bc
// > LikeItemLayer::onDislike @ 0x5453c2
//
// 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:52:22 +0000
//
int __fastcall LikeItemLayer::triggerLike(const char **this, int a2)
{
GameManager *v4; // r0
void (__fastcall ***v5)(_DWORD, _DWORD, _DWORD, int); // r0
v4 = (GameManager *)GameLevelManager::sharedState((GameLevelManager *)this);
GameLevelManager::likeItem(v4, *(this + 130), *(this + 131), a2, *(this + 132));
v5 = (void (__fastcall ***)(_DWORD, _DWORD, _DWORD, int))*(this + 133);
if ( v5 )
(**v5)(v5, *(this + 130), *(this + 131), a2);
return LikeItemLayer::onClose((LikeItemLayer *)this, nullptr);
}