//
// SetupTriggerPopup::closeInputNodes from 0x14060d050 to 0x14060d0b9 (105 bytes)
//
// 5 xrefs:
// > SetupTriggerPopup::onClose @ 0x14060cfb1
// > SetupTriggerPopup::onEasePreview @ 0x140614bb8
// > ??> @ 0x1408e5120
// > ??> @ 0x1408e5130
// > ??> @ 0x14092fdb0
//
// This function is hookable on this platform (idp: pc, 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:35:14 +0000
//
__int64 __fastcall SetupTriggerPopup::closeInputNodes(__int64 a1)
{
__int64 v1; // rcx
__int64 v2; // rcx
__int64 i; // rbx
__int64 *v4; // rcx
__int64 v5; // rax
__int64 result; // rax
v1 = *(_QWORD *)(a1 + 760);
if ( v1 )
{
v2 = *(_QWORD *)(v1 + 56);
if ( v2 )
{
for ( i = *(_QWORD *)(v2 + 288); ; i = *(_QWORD *)(i + 288) )
{
v4 = *(__int64 **)(v2 + 264);
v5 = *v4;
v4[75] = 0;
result = (*(__int64 (__fastcall **)(__int64 *, _QWORD))(v5 + 1032))(v4, 0);
v2 = i;
if ( !i )
break;
}
}
}
return result;
}