//
// EditorWindowPopup::handleAction from 0x1004daa94 to 0x1004dab54 (192 bytes)
//
// 7 xrefs:
// > sub_1004DAB54 @ 0x1004dab58
// > ??> @ 0x1009862f8
// > ??> @ 0x10098bbf0
// > ??> @ 0x10098c438
// > ??> @ 0x100990f10
// > ??> @ 0x100992340
// > ??> @ 0x1009a7898
//
// 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:33 +0000
//
__int64 __fastcall EditorWindowPopup::handleAction(__int64 a1, __int64 a2, __int64 a3, double a4)
{
__int64 result; // x0
if ( (*(_BYTE *)(a1 + 1095) & 1) != 0 || qword_100A0F8F8 && sub_10034BDAC(a1, qword_100A0F8F8) )
{
*(_BYTE *)(a1 + 1095) = 0;
if ( (_DWORD)a3 )
{
if ( (_DWORD)a2 == 20067 )
EditorWindowPopup::blurField(a1);
else
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1528LL))(a1);
}
return 1;
}
else
{
result = *(_QWORD *)(a1 + 1016);
if ( result )
return (*(__int64 (__fastcall **)(__int64, __int64, __int64, double))(*(_QWORD *)result + 1312LL))(
result,
a2,
a3,
a4);
}
return result;
}