//
// SetupPickupTriggerPopup::updateState from 0x1405ccb00 to 0x1405ccb64 (100 bytes)
//
// 3 xrefs:
// > SetupPickupTriggerPopup::init @ 0x1405ccaaf
// > SetupPickupTriggerPopup::onCustomToggleTriggerValue @ 0x1405ccc1d
// > ??> @ 0x14092e58c
//
// 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:53 +0000
//
__int64 __fastcall SetupPickupTriggerPopup::updateState(__int64 a1)
{
bool v2; // bl
v2 = (*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1168LL))(a1, 88) != 0.0;
(*(void (__fastcall **)(__int64, __int64, bool))(*(_QWORD *)a1 + 1088LL))(a1, 1, !v2);
return (*(__int64 (__fastcall **)(__int64, __int64, bool))(*(_QWORD *)a1 + 1088LL))(a1, 2, v2);
}