//
// CCTextInputNode::keyboardWillHide from 0x10009f440 to 0x10009f4c4 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b6c08
//
// 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 __fastcall CCTextInputNode::keyboardWillHide(CCTextInputNode *a1, cocos2d::CCIMEKeyboardNotificationInfo *a2)
{
TextInputDelegate *m_delegate; // rax
TextInputDelegate *v3; // rax
if ( a1->m_forceOffset )
{
if ( a1->m_selected && a1->m_textField )
{
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(TextInputDelegate *, CCTextInputNode *))m_delegate->textInputReturn)(m_delegate, a1);
a1->m_selected = 0;
}
}
else if ( a1->m_textField )
{
if ( a1->m_unknown2 )
{
a1->m_unknown2 = 0;
v3 = a1->m_delegate;
if ( v3 )
((void (__fastcall *)(TextInputDelegate *, CCTextInputNode *))v3->textInputReturn)(a1->m_delegate, a1);
}
}
}