//
// ConfigureValuePopup::onClose from 0x100625330 to 0x1006253a3 (115 bytes)
//
// 1 xrefs:
// > ConfigureValuePopup::init @ 0x100624acb
//
// 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 ConfigureValuePopup::onClose(ConfigureValuePopup *a1, cocos2d::CCObject *a2)
{
CCTextInputNode *m_input; // rdi
ConfigureValuePopupDelegate *m_delegate; // rdi
m_input = a1->m_input;
m_input->m_delegate = nullptr;
((void (__fastcall *)(CCTextInputNode *, _QWORD))m_input->onClickTrackNode)(m_input, 0);
if ( a1->m_enableDelegate )
{
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(ConfigureValuePopupDelegate *, ConfigureValuePopup *, float))m_delegate->valuePopupClosed)(
m_delegate,
a1,
a1->m_value);
}
((void (__fastcall *)(ConfigureValuePopup *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(ConfigureValuePopup *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}