//
// ConfigureValuePopup::onClose from 0x4cf630 to 0x4cf67e (78 bytes)
//
// 1 xrefs:
// > ConfigureValuePopup::keyBackClicked @ 0x4cf680
//
// 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; // r0
a1->m_input->m_delegate = nullptr;
((void (__fastcall *)(CCTextInputNode *))a1->m_input->onClickTrackNode)(a1->m_input);
if ( a1->m_enableDelegate )
{
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(ConfigureValuePopupDelegate *, ConfigureValuePopup *, _DWORD))m_delegate->valuePopupClosed)(
m_delegate,
a1,
LODWORD(a1->m_value));
}
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}