//
// sub_1005FE220 from 0x1005fe220 to 0x1005fe317 (247 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b7f548
//
// 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:34:29 +0000
//
void __fastcall sub_1005FE220(_QWORD *a1)
{
_QWORD *v2; // rdi
_QWORD *v3; // r14
void *v4; // rdi
*(a1 - 40) = off_100B7EF40;
*a1 = off_100B7F540;
a1[1] = &off_100B7F5B0;
a1[2] = off_100B7F5C8;
a1[3] = off_100B7F5E8;
a1[4] = off_100B7F610;
a1[11] = off_100B7F640;
a1[14] = off_100B7F6C0;
a1[28] = off_100B7F6E0;
a1[43] = &off_100B7F728;
a1[44] = off_100B7F740;
a1[96] = &off_100B7F760;
v2 = (_QWORD *)a1[100];
if ( v2 )
{
do
{
v3 = (_QWORD *)*v2;
operator delete(v2);
v2 = v3;
}
while ( v3 );
}
v4 = (void *)a1[98];
a1[98] = 0;
if ( v4 )
operator delete(v4);
TabbedPopupLayer::dTabbedPopupLayer(a1 - 40);
operator delete(a1 - 40);
}