//
// CCTextInputNode::isVisibleInTree from 0x3dcb34 to 0x3dcb6a (54 bytes)
//
// 3 xrefs:
// > CCTextInputNode::ccTouchBegan @ 0x3e25fe
// > CCTextInputNode::rightClick @ 0x3e2836
// > CCTextInputNode::scrollWheel @ 0x3e3910
//
// 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::isVisibleInTree(CCTextInputNode *this)
{
CCTextInputNode *v1; // r4
int v2; // r5
int v3; // r0
v1 = this;
v2 = (*(int (__fastcall **)(CCTextInputNode *))(*(_DWORD *)this + 176))(this);
if ( !v2 )
return 0;
while ( 1 )
{
v3 = (*(int (__fastcall **)(CCTextInputNode *))(*(_DWORD *)v1 + 256))(v1);
v1 = (CCTextInputNode *)v3;
if ( !v3 )
break;
if ( !(*(int (__fastcall **)(int))(*(_DWORD *)v3 + 176))(v3) )
return 0;
}
return v2;
}