//
// SetupInstantCollisionTriggerPopup::valueDidChange from 0x1405b0d60 to 0x1405b0d78 (24 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407f0360
// > ??> @ 0x1407f0a20
//
// 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:34:42 +0000
//
__int64 __fastcall SetupInstantCollisionTriggerPopup::valueDidChange(__int64 a1, int a2)
{
__int64 v2; // rdx
__int64 result; // rax
v2 = (unsigned int)(a2 - 138);
if ( !(_DWORD)v2 )
return SetupInstantCollisionTriggerPopup::updateSpecialNodes(a1, v2);
v2 = (unsigned int)(v2 - 62);
if ( (unsigned int)v2 <= 1 )
return SetupInstantCollisionTriggerPopup::updateSpecialNodes(a1, v2);
return result;
}