//
// CCTextInputNode::keyboardWillHide from 0x2fa004 to 0x2fa054 (80 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x2fa058
//
// 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; // r0
TextInputDelegate *v4; // r0
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 )
{
a1->m_unknown2 = 0;
v4 = a1->m_delegate;
if ( v4 )
v4->textInputReturn(v4, a1);
}
}
}