//
// EditorSoundsLayer::onActionRow from 0x14019eae0 to 0x14019ec7f (415 bytes)
//
// 2 xrefs:
// > EditorSoundsLayer::buildContentForTab @ 0x14019df8f
// > ??> @ 0x1409197d8
//
// 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 11:27:48 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCObject *__fastcall EditorSoundsLayer::onActionRow(__int64 a1, __int64 a2)
{
int v3; // edi
__int64 v4; // rcx
cocos2d::CCObject *v5; // rbx
int v6; // r9d
struct cocos2d::CCObject *result; // rax
__int64 (__fastcall *v8)(cocos2d::CCObject *); // rdx
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
v4 = *(_QWORD *)(a1 + 1080);
if ( v4 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1032LL))(v4, 0);
v5 = (cocos2d::CCObject *)operator new(0x420u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v5);
*(_QWORD *)v5 = &EditorSFXActionConfigLayer::`vftable';
*((_QWORD *)v5 + 40) = &EditorSFXActionConfigLayer::`vftable';
*((_QWORD *)v5 + 41) = &EditorSFXActionConfigLayer::`vftable';
*((_QWORD *)v5 + 42) = &EditorSFXActionConfigLayer::`vftable';
*((_QWORD *)v5 + 43) = &EditorSFXActionConfigLayer::`vftable';
*((_QWORD *)v5 + 44) = &EditorSFXActionConfigLayer::`vftable';
*((_QWORD *)v5 + 51) = &EditorSFXActionConfigLayer::`vftable';
*((_QWORD *)v5 + 54) = &EditorSFXActionConfigLayer::`vftable';
*((_QWORD *)v5 + 68) = &EditorSFXActionConfigLayer::`vftable';
*((_QWORD *)v5 + 83) = &EditorSFXActionConfigLayer::`vftable';
*((_QWORD *)v5 + 84) = &EditorSFXActionConfigLayer::`vftable';
*((_QWORD *)v5 + 125) = &EditorSFXActionConfigLayer::`vftable';
*((_DWORD *)v5 + 252) = 0;
*((_QWORD *)v5 + 127) = 0;
*((_QWORD *)v5 + 128) = 0;
*((_QWORD *)v5 + 129) = 0;
*((_QWORD *)v5 + 130) = 0;
*((_BYTE *)v5 + 1048) = 0;
*((_DWORD *)v5 + 263) = 0;
if ( !EditorSFXActionConfigLayer::init((__int64)v5, v3 - 20000, a1, v6) )
return (struct cocos2d::CCObject *)(*(__int64 (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v5 + 8LL))(
v5,
1);
result = cocos2d::CCObject::autorelease(v5);
if ( v5 )
{
v8 = *(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v5 + 1064LL);
if ( (char *)v8 == (char *)SetupTriggerPopup::show )
return (struct cocos2d::CCObject *)SetupTriggerPopup::show(v5);
else
return (struct cocos2d::CCObject *)v8(v5);
}
return result;
}