//
// ShareCommentLayer::onClose from 0x431778 to 0x4317a6 (46 bytes)
//
// 3 xrefs:
// > ShareCommentLayer::keyBackClicked @ 0x4317a8
// > ShareCommentLayer::onClosePopup @ 0x43199c
// > ShareCommentLayer::onShare @ 0x431af4
//
// 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 ShareCommentLayer::onClose(ShareCommentLayer *a1, cocos2d::CCObject *a2)
{
a1->m_commentInput->onClickTrackNode(a1->m_commentInput, 0);
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}