//
// SetupGravityModPopup::onClose from 0x52e4b0 to 0x52e4e8 (56 bytes)
//
// 1 xrefs:
// > SetupGravityModPopup::keyBackClicked @ 0x52e4ea
//
// 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; // r3
m_itemIDInput = a1->m_itemIDInput;
if ( m_itemIDInput )
{
m_itemIDInput->m_delegate = nullptr;
((void (__fastcall *)(CCTextInputNode *))a1->m_itemIDInput->onClickTrackNode)(a1->m_itemIDInput);
}
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}