//
// GJMessagePopup::onClosePopup from 0x1002a8990 to 0x1002a8a04 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008faf20
//
// 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 GJMessagePopup::onClosePopup(GJMessagePopup *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_actionSuccess )
{
((void (__fastcall *)(GJMessagePopup *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(GJMessagePopup *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}
}
}