//
// ConfigureValuePopup::onClose from 0x140099560 to 0x1400995d4 (116 bytes)
//
// 3 xrefs:
// > ConfigureValuePopup::keyBackClicked @ 0x1400995e9
// > ConfigureValuePopup::init @ 0x1400988b8
// > ??> @ 0x1406c73d4
//
// 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 ConfigureValuePopup::onClose(ConfigureValuePopup *a1, cocos2d::CCObject *a2)
{
ConfigureValuePopupDelegate *m_delegate; // rcx
_BOOL8 v4; // rdx
a1->m_input->m_delegate = nullptr;
a1->m_input->onClickTrackNode(a1->m_input, 0);
if ( a1->m_enableDelegate )
{
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(ConfigureValuePopupDelegate *, ConfigureValuePopup *))m_delegate->valuePopupClosed)(
m_delegate,
a1);
}
a1->setKeypadEnabled(a1, 0);
LOBYTE(v4) = 1;
a1->removeFromParentAndCleanup(a1, v4);
}