// // EditorSoundConfigInfoLayer::likedItem from 0x1004d3988 to 0x1004d3a24 (156 bytes) // // 2 xrefs: // > sub_1004D3A24 @ 0x1004d3a28 // > @ 0x1009890b0 // // 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 11:06:30 +0000 // void __fastcall EditorSoundConfigInfoLayer::likedItem(_QWORD *a1, int a2, int a3, int a4) { __int64 v5; // x8 int v7; // w9 int v8; // w9 __int64 v9; // x0 __int64 v10; // x0 __int64 v11; // x8 if ( a2 == 5 ) { v5 = a1[136]; if ( v5 ) { if ( *(_DWORD *)(v5 + 316) == a3 ) { *(_BYTE *)(v5 + 497) = 1; v7 = *(_DWORD *)(v5 + 348); if ( a4 ) v8 = v7 + 1; else v8 = v7 - 1; *(_DWORD *)(v5 + 348) = v8; if ( EditorSFXManager::sharedState() ) { v9 = EditorSFXManager::sharedState(); v10 = sub_1004CAD00(v9, a3); if ( v10 ) { v11 = a1[136]; if ( v10 != v11 ) { *(_BYTE *)(v10 + 497) = 1; *(_DWORD *)(v10 + 348) = *(_DWORD *)(v11 + 348); } } } sub_1004D254C(a1); } } } }