//
// SetupCollisionTriggerPopup::valueDidChange from 0x1405b0260 to 0x1405b027f (31 bytes)
//
// 1 xrefs:
// > ??> @ 0x1407efe48
//
// 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 SetupCollisionTriggerPopup::valueDidChange(__int64 a1, int a2)
{
int v2; // edx
__int64 v3; // rdx
__int64 result; // rax
v2 = a2 - 51;
if ( !v2 )
return SetupTriggerPopup::updateEditorLabel(a1);
v3 = (unsigned int)(v2 - 87);
if ( !(_DWORD)v3 )
return SetupCollisionTriggerPopup::updateSpecialNodes(a1, v3);
v3 = (unsigned int)(v3 - 62);
if ( (unsigned int)v3 <= 1 )
return SetupCollisionTriggerPopup::updateSpecialNodes(a1, v3);
return result;
}