//
// GJWriteMessagePopup::onClosePopup from 0x1002dd58c to 0x1002dd604 (120 bytes)
//
// 2 xrefs:
// > sub_1002DD604 @ 0x1002dd608
// > ??> @ 0x1007dbc40
//
// 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 GJWriteMessagePopup::onClosePopup(GJWriteMessagePopup *a1, UploadActionPopup *a2)
{
((void (__fastcall *)(UploadActionPopup *, _QWORD))a2->setKeypadEnabled)(a2, 0);
((void (__fastcall *)(UploadActionPopup *, __int64))a2->removeFromParentAndCleanup)(a2, 1);
if ( a1->m_uploadPopup == a2 )
a1->m_uploadPopup = nullptr;
if ( a1->m_uploadSuccess )
GJWriteMessagePopup::closeMessagePopup(a1, 1);
}