//
// UploadActionPopup::onClose from 0x1002d87e0 to 0x1002d8840 (96 bytes)
//
// 3 xrefs:
// > UploadActionPopup::keyBackClicked @ 0x1002d8a48
// > sub_1002D8A4C @ 0x1002d8a50
// > UploadActionPopup::init @ 0x1002d8700
//
// 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 UploadActionPopup::onClose(UploadActionPopup *a1, cocos2d::CCObject *a2)
{
UploadPopupDelegate *m_delegate; // x0
m_delegate = a1->m_delegate;
if ( m_delegate )
{
((void (__fastcall *)(UploadPopupDelegate *, UploadActionPopup *))m_delegate->onClosePopup)(m_delegate, a1);
}
else
{
((void (__fastcall *)(UploadActionPopup *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(UploadActionPopup *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}
}