//
// CCTextInputNode::isVisibleInTree from 0x1001feec4 to 0x1001fef4c (136 bytes)
//
// 3 xrefs:
// > CCTextInputNode::ccTouchBegan @ 0x1001fefc8
// > CCTextInputNode::rightClick @ 0x1001ff5b4
// > CCTextInputNode::scrollWheel @ 0x1001ff934
//
// 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::isVisibleInTree(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x20
__int64 v4; // x19
if ( !(*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a1 + 352LL))(a1) )
return 0;
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 512LL))(a1);
if ( !v2 )
return 1;
v3 = v2;
do
{
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 352LL))(v3);
if ( !(_DWORD)v4 )
break;
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 512LL))(v3);
}
while ( v3 );
return v4;
}