//
// SetupGravityModPopup::onClose from 0x9bed98 to 0x9bee00 (104 bytes)
//
// 4 xrefs:
// > SetupGravityModPopup::keyBackClicked @ 0x9bee04
// > ??> @ 0x8bf80
// > SetupGravityModPopup::init @ 0x9bf478
// > ??> @ 0x122cc38
//
// 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 SetupGravityModPopup::onClose(SetupGravityModPopup *a1, cocos2d::CCObject *a2)
{
CCTextInputNode *m_itemIDInput; // x0
m_itemIDInput = a1->m_itemIDInput;
if ( m_itemIDInput )
{
m_itemIDInput->m_delegate = nullptr;
a1->m_itemIDInput->onClickTrackNode(a1->m_itemIDInput, 0);
}
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}