//
// EditorSoundsLayer::onActionRow from 0x1008fe850 to 0x1008fe8a9 (89 bytes)
//
// 1 xrefs:
// > EditorSoundsLayer::buildContentForTab @ 0x1008fe744
//
// 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:38:01 +0000
//
char *__fastcall EditorSoundsLayer::onActionRow(__int64 a1, __int64 a2)
{
unsigned int v3; // r14d
__int64 v4; // rdi
char *result; // rax
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) - 20000;
v4 = *(_QWORD *)(a1 + 1096);
if ( v4 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1160LL))(v4, 0);
result = EditorSFXActionConfigLayer::create(v3, a1);
if ( result )
return (char *)(*(__int64 (__fastcall **)(char *))(*(_QWORD *)result + 1312LL))(result);
return result;
}