//
// ShareCommentLayer::onClosePopup from 0x1001d5d80 to 0x1001d5e08 (136 bytes)
//
// 2 xrefs:
// > sub_1001D5E08 @ 0x1001d5e0c
// > ??> @ 0x1007be928
//
// 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 ShareCommentLayer::onClosePopup(ShareCommentLayer *a1, UploadActionPopup *a2)
{
UploadActionPopup::closePopup(a2);
if ( a1->m_uploadPopup == a2 )
a1->m_uploadPopup = nullptr;
if ( a1->m_uploadSuccess )
{
((void (__fastcall *)(CCTextInputNode *, _QWORD))a1->m_commentInput->onClickTrackNode)(a1->m_commentInput, 0);
((void (__fastcall *)(ShareCommentLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(ShareCommentLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}
}