//
// sub_1004D77EC from 0x1004d77ec to 0x1004d7940 (340 bytes)
//
// 1 xrefs:
// > EditorSoundsLayer::init @ 0x1004d714c
//
// 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:32 +0000
//
__int64 __fastcall sub_1004D77EC(__int64 a1)
{
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v4; // [xsp+1Fh] [xbp-11h]
sub_100009900(__p, "Object");
TabbedPopupLayer::addTab((_QWORD *)a1, (__int64)__p, nullptr);
if ( v4 < 0 )
operator delete(__p[0]);
sub_100009900(__p, "Transform");
TabbedPopupLayer::addTab((_QWORD *)a1, (__int64)__p, nullptr);
if ( v4 < 0 )
operator delete(__p[0]);
sub_100009900(__p, "View");
TabbedPopupLayer::addTab((_QWORD *)a1, (__int64)__p, nullptr);
if ( v4 < 0 )
operator delete(__p[0]);
sub_100009900(__p, "Actions");
TabbedPopupLayer::addTab((_QWORD *)a1, (__int64)__p, nullptr);
if ( v4 < 0 )
operator delete(__p[0]);
sub_100009900(__p, "Gameplay");
TabbedPopupLayer::addTab((_QWORD *)a1, (__int64)__p, nullptr);
if ( v4 < 0 )
operator delete(__p[0]);
sub_100009900(__p, "S");
*(_DWORD *)(a1 + 1144) = TabbedPopupLayer::addTab((_QWORD *)a1, (__int64)__p, "searchIcon_001.png");
if ( v4 < 0 )
operator delete(__p[0]);
return TabbedPopupLayer::createTabButtons_1(a1);
}