// // SetupOptionsTriggerPopup::onCustomToggleTriggerValue from 0x1006bafc0 to 0x1006bb06e (174 bytes) // // 1 xrefs: // > @ 0x100b8b298 // // 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:35:29 +0000 // __int64 __fastcall SetupOptionsTriggerPopup::onCustomToggleTriggerValue(_QWORD *a1, __int64 a2) { int v2; // eax unsigned int v3; // r14d int v4; // r15d int v5; // r12d int v6; // eax int v7; // r13d bool v8; // r12 v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v3 = -v2; if ( v2 > 0 ) v3 = v2; v4 = (*(int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) <= 0; v5 = -v4 | 1; v6 = (int)(*(float (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1464LL))(a1, v3); v7 = 0; if ( v5 != v6 ) v7 = -v4 | 1; v8 = v5 != v6; SetupTriggerPopup::updateValue(a1, v3, (float)v7); SetupTriggerPopup::updateCustomToggleTrigger((__int64)a1, v3, v7 == 1); return SetupTriggerPopup::updateCustomToggleTrigger((__int64)a1, -v3, v8 & (unsigned __int8)v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source