//
// sub_1005E1A40 from 0x1005e1a40 to 0x1005e1ab8 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x100976360
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_1005E1A40(__int64 a1, UploadActionPopup *a2)
{
UploadActionPopup::closePopup(a2);
if ( *(UploadActionPopup **)(a1 + 96) != a2 )
{
if ( *(_BYTE *)(a1 + 104) != 1 )
return;
goto LABEL_3;
}
*(_QWORD *)(a1 + 96) = 0;
if ( *(_BYTE *)(a1 + 104) == 1 )
{
LABEL_3:
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 24) + 1144LL))(*(_QWORD *)(a1 + 24), 0);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 648) + 1056LL))(a1 - 648, 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1 - 648) + 512LL))(a1 - 648, 1);
}
}