//
// CCTextInputNode::keyboardWillHide from 0x3dc548 to 0x3dc5b4 (108 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x3dc5bc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:46:48 +0000
//
int __fastcall CCTextInputNode::keyboardWillHide(int result)
{
int v1; // r1
int v2; // r4
v1 = *(unsigned __int8 *)(result + 434);
v2 = result;
CCTextInputNode::s_keyboardTop = 0;
if ( v1 )
{
if ( *(_BYTE *)(result + 344) && *(_DWORD *)(result + 416) )
{
result = *(_DWORD *)(result + 420);
if ( result )
result = (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 16))(result, v2);
*(_BYTE *)(v2 + 344) = 0;
}
}
else
{
if ( *(_BYTE *)(result + 344) && *(_DWORD *)(result + 416) )
result = (*(int (__fastcall **)(int))(*(_DWORD *)result + 580))(result);
if ( *(_DWORD *)(v2 + 416) )
{
if ( *(_BYTE *)(v2 + 345) )
{
result = *(_DWORD *)(v2 + 420);
*(_BYTE *)(v2 + 345) = 0;
if ( result )
return (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 16))(result, v2);
}
}
}
return result;
}