//
// CCTextInputNode::keyboardWillHide from 0x1400503e0 to 0x14005045e (126 bytes)
//
// 2 xrefs:
// > ??> @ 0x140532480
// > ??> @ 0x1406c4d4c
//
// 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)
{
__int64 v3; // rcx
__int64 v4; // rcx
if ( BYTE2(a1->m_sInverse.d) )
{
if ( LOBYTE(a1->m_fRotationY) && *(_QWORD *)&a1->m_sTransform.b )
{
v3 = *(_QWORD *)&a1->m_sTransform.d;
if ( v3 )
(*(void (__fastcall **)(__int64, cocos2d::CCArray **))(*(_QWORD *)v3 + 32LL))(v3, &a1[-1].m_pChildren);
LOBYTE(a1->m_fRotationY) = 0;
}
}
else if ( *(_QWORD *)&a1->m_sTransform.b )
{
if ( BYTE1(a1->m_fRotationY) )
{
BYTE1(a1->m_fRotationY) = 0;
v4 = *(_QWORD *)&a1->m_sTransform.d;
if ( v4 )
(*(void (__fastcall **)(__int64, cocos2d::CCArray **))(*(_QWORD *)v4 + 32LL))(v4, &a1[-1].m_pChildren);
}
}
}