//
// CCTextInputNode::onClickTrackNode from 0x1001fd4b8 to 0x1001fd51c (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008f5580
//
// 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::onClickTrackNode(__int64 a1, int a2)
{
unsigned int v3; // w8
unsigned int v4; // w0
__int64 v5; // x8
if ( a2 )
{
v3 = *(unsigned __int8 *)(a1 + 624);
if ( *(_BYTE *)(a1 + 609) )
v3 |= 2u;
if ( (unsigned int)(*(_DWORD *)(a1 + 700) - 1) >= 3 )
v4 = v3;
else
v4 = v3 | 4;
PlatformToolbox::setKeyboardInputFlags(v4);
v5 = 1256;
}
else
{
v5 = 1264;
}
return (*(__int64 (**)(void))(**(_QWORD **)(a1 + 576) + v5))();
}