//
// CCTextInputNode::keyboardWillHide from 0x5953b8 to 0x595440 (136 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x595444
// > ??> @ 0x58458
// > ??> @ 0x1141338
//
// 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 CCTextInputNode::keyboardWillHide(CCTextInputNode *a1, cocos2d::CCIMEKeyboardNotificationInfo *a2)
{
TextInputDelegate *m_delegate; // x0
TextInputDelegate *v4; // x0
if ( a1->m_forceOffset )
{
if ( a1->m_selected && a1->m_textField )
{
m_delegate = a1->m_delegate;
if ( m_delegate )
m_delegate->textInputReturn(m_delegate, a1);
a1->m_selected = 0;
}
}
else if ( a1->m_textField )
{
if ( a1->m_unknown2 )
{
v4 = a1->m_delegate;
a1->m_unknown2 = 0;
if ( v4 )
v4->textInputReturn(v4, a1);
}
}
}