//
// EditorSoundsLayer::onActionRow from 0x1004d8144 to 0x1004d81c0 (124 bytes)
//
// 1 xrefs:
// > EditorSoundsLayer::buildContentForTab @ 0x1004d801c
//
// 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:32 +0000
//
void *__fastcall EditorSoundsLayer::onActionRow(__int64 a1, __int64 a2)
{
int v3; // w20
__int64 v4; // x0
void *result; // x0
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v4 = *(_QWORD *)(a1 + 1096);
if ( v4 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1160LL))(v4, 0);
result = EditorSFXActionConfigLayer::create((unsigned int)(v3 - 20000), a1);
if ( result )
return (void *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)result + 1312LL))(result);
return result;
}