//
// UploadActionPopup::onClose from 0x140295930 to 0x140295975 (69 bytes)
//
// 2 xrefs:
// > UploadActionPopup::init @ 0x14029563e
// > ??> @ 0x1406d1bb0
//
// 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 UploadActionPopup::onClose(UploadActionPopup *a1, cocos2d::CCObject *a2)
{
UploadPopupDelegate *m_delegate; // rcx
_BOOL8 v4; // rdx
m_delegate = a1->m_delegate;
if ( m_delegate )
{
m_delegate->onClosePopup(m_delegate, a1);
}
else
{
a1->setKeypadEnabled(a1, 0);
LOBYTE(v4) = 1;
a1->removeFromParentAndCleanup(a1, v4);
}
}