//
// SetupInstantCollisionTriggerPopup::valueDidChange from 0x100381500 to 0x100381527 (39 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b297f8
// > ??> @ 0x100b2a020
//
// 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 12:29:08 +0000
//
__int64 __fastcall SetupInstantCollisionTriggerPopup::valueDidChange(__int64 a1, int a2)
{
unsigned __int64 v2; // rsi
__int64 result; // rax
v2 = (unsigned int)(a2 - 138);
if ( (unsigned int)v2 <= 0x3F )
{
result = 0xC000000000000001LL;
if ( _bittest64(&result, v2) )
return SetupInstantCollisionTriggerPopup::updateSpecialNodes();
}
return result;
}