//
// CCTextInputNode::keyboardWillHide from 0x1001fd3f8 to 0x1001fd4b0 (184 bytes)
//
// 2 xrefs:
// > sub_1001FD4B0 @ 0x1001fd4b4
// > ??> @ 0x1008f5590
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:00:44 +0000
//
__int64 __fastcall CCTextInputNode::keyboardWillHide(__int64 result)
{
__int64 v1; // x19
v1 = result;
dword_100A0F900 = 0;
if ( *(_BYTE *)(result + 610) == 1 )
{
if ( *(_BYTE *)(result + 460) && *(_QWORD *)(result + 576) )
{
result = *(_QWORD *)(result + 584);
if ( result )
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 32LL))(result, v1);
*(_BYTE *)(v1 + 460) = 0;
}
}
else
{
if ( *(_BYTE *)(result + 460) && *(_QWORD *)(result + 576) )
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 1160LL))(result, 0);
if ( *(_QWORD *)(v1 + 576) )
{
if ( *(_BYTE *)(v1 + 461) == 1 )
{
*(_BYTE *)(v1 + 461) = 0;
result = *(_QWORD *)(v1 + 584);
if ( result )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 32LL))(result, v1);
}
}
}
return result;
}