//
// EditorUI::editObjectOptions from 0x10047cbcc to 0x10047cc48 (124 bytes)
//
// 1 xrefs:
// > EditorUI::handleEditorAction @ 0x1001633e0
//
// 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:05:44 +0000
//
__int64 __fastcall EditorUI::editObjectOptions(__int64 *a1)
{
__int64 result; // x0
__int64 v3; // x8
__n128 v4; // q0
__int64 v5; // x0
char *v6; // x0
if ( a1[187] || (result = sub_1002E757C(a1[112]), (_DWORD)result) )
{
v3 = a1[180];
++*(_DWORD *)(v3 + 14720);
EditorBuildStats::noteAction(v3 + 14704);
v5 = EditorSFXManager::sharedState(v4);
EditorSFXManager::playAction(v5, 108, 107);
v6 = sub_10004244C(a1[187], a1[112]);
return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v6 + 1312LL))(v6);
}
return result;
}