//
// EditorSoundsLayer::onActionRow from 0xcd5c0c to 0xcd5c78 (108 bytes)
//
// 3 xrefs:
// > ??> @ 0xaf8d0
// > EditorSoundsLayer::buildContentForTab @ 0xcd65c4
// > ??> @ 0x1544fe0
//
// 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 13:06:30 +0000
//
__int64 __fastcall EditorSoundsLayer::onActionRow(EditorSoundsLayer *this, cocos2d::CCObject *a2)
{
int v3; // w0
EditorSoundsLayer *v4; // x2
__int64 v5; // x1
unsigned int v6; // w19
__int64 result; // x0
v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
v5 = *((_QWORD *)this + 137);
v6 = v3 - 20000;
if ( v5 )
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v5 + 1160LL))(*((_QWORD *)this + 137), 0);
result = EditorSFXActionConfigLayer::create((EditorSFXActionConfigLayer *)v6, this, v4);
if ( result )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 1312LL))(result);
return result;
}