//
// EditorSoundConfigInfoLayer::likedItem from 0x1008f8970 to 0x1008f89ff (143 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bb60a8
//
// 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 12:37:59 +0000
//
void __fastcall EditorSoundConfigInfoLayer::likedItem(_QWORD *a1, int a2, int a3, unsigned __int8 a4, __m128 a5)
{
__int64 v5; // rax
__int64 v7; // rax
__int64 v8; // rax
__int64 v9; // rcx
v5 = a1[136];
if ( v5 != 0 && a2 == 5 && *(_DWORD *)(v5 + 316) == a3 )
{
*(_BYTE *)(v5 + 497) = 1;
*(_DWORD *)(v5 + 348) += (a4 - 1) | 1;
if ( EditorSFXManager::sharedState() )
{
v7 = EditorSFXManager::sharedState();
v8 = sub_1008ED070(v7, a3);
if ( v8 )
{
v9 = a1[136];
if ( v8 != v9 )
{
*(_BYTE *)(v8 + 497) = 1;
*(_DWORD *)(v8 + 348) = *(_DWORD *)(v9 + 348);
}
}
}
sub_1008F6D10(a1, a5);
}
}