//
// ProfilePage::onClosePopup from 0x1403c4de0 to 0x1403c4e2b (75 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405cb7f0
// > ??> @ 0x1406d77e4
//
// 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 ProfilePage::onClosePopup(ProfilePage *a1, UploadActionPopup *a2)
{
_BOOL8 v4; // rdx
a2->setKeypadEnabled(a2, 0);
LOBYTE(v4) = 1;
a2->removeFromParentAndCleanup(a2, v4);
if ( a2 == *(UploadActionPopup **)&a1->m_sTransform.ty )
*(_QWORD *)&a1->m_sTransform.ty = 0;
}