//
// CCTextInputNode::onClickTrackNode from 0x6b7c4c to 0x6b7cd0 (132 bytes)
//
// 3 xrefs:
// > CCTextInputNode::~CCTextInputNode @ 0x6b8c94
// > ??> @ 0x64450
// > ??> @ 0x141ff08
//
// 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 12:50:53 +0000
//
__int64 __fastcall CCTextInputNode::onClickTrackNode(unsigned __int64 this, char a2)
{
unsigned __int64 v2; // x19
v2 = this;
if ( !a2 )
return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(this + 576) + 1264LL))(*(_QWORD *)(this + 576));
LODWORD(this) = *(unsigned __int8 *)(this + 624);
if ( *(_BYTE *)(v2 + 609) )
LODWORD(this) = this | 2;
if ( (unsigned int)(*(_DWORD *)(v2 + 700) - 1) > 2 )
this = (unsigned int)this;
else
this = (unsigned int)this | 4;
PlatformToolbox::setKeyboardInputFlags((PlatformToolbox *)this);
return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v2 + 576) + 1256LL))(*(_QWORD *)(v2 + 576));
}