//
// EditorUI::getButton from 0x10000d790 to 0x10000d7f6 (102 bytes)
//
// 0 xrefs:
//
// 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 12:18:50 +0000
//
__int64 __fastcall EditorUI::getButton(__int64 a1, __int64 a2, unsigned int a3, __int64 a4, __int64 a5, _QWORD *a6)
{
__int64 v9; // rax
__int64 result; // rax
__int64 v11; // rcx
_QWORD *v12; // rdi
__int64 v13; // rbx
v9 = sub_100059E30(a2, a3, 0, 1, 1.0);
result = CCMenuItemSpriteExtra::create(v9, 0, a1, a4, a5);
if ( a6 )
{
v11 = *a6;
v12 = a6;
v13 = result;
(*(void (__fastcall **)(_QWORD *, __int64))(v11 + 456))(v12, result);
return v13;
}
return result;
}