//
// LikeItemLayer::triggerLike from 0x915a2c to 0x915a8c (96 bytes)
//
// 3 xrefs:
// > LikeItemLayer::onLike @ 0x915a90
// > LikeItemLayer::onDislike @ 0x915a98
// > ??> @ 0x78a30
//
// This function is hookable on this platform (idp: arm, 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:57:19 +0000
//
__int64 __fastcall LikeItemLayer::triggerLike(LikeItemLayer *this, unsigned __int8 a2)
{
unsigned int v3; // w20
cocos2d::CCObject *v4; // x0
void (__fastcall ***v5)(_QWORD, _QWORD, _QWORD, _QWORD); // x0
v3 = a2;
v4 = (cocos2d::CCObject *)GameLevelManager::sharedState(this);
GameLevelManager::likeItem(v4, *((_DWORD *)this + 165), *((_DWORD *)this + 166), v3, *((_DWORD *)this + 167));
v5 = *((void (__fastcall ****)(_QWORD, _QWORD, _QWORD, _QWORD))this + 84);
if ( v5 )
(**v5)(v5, *((unsigned int *)this + 165), *((unsigned int *)this + 166), v3);
return LikeItemLayer::onClose(this, nullptr);
}