// // SetupItemCompareTriggerPopup::onOpButton from 0x140604d50 to 0x140604e25 (213 bytes) // // 2 xrefs: // > SetupItemCompareTriggerPopup::init @ 0x1406049f1 // > @ 0x14092f930 // // 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:35:12 +0000 // __int64 __fastcall SetupItemCompareTriggerPopup::onOpButton(__int64 a1, __int64 a2) { __int64 v4; // rdi int v5; // ebx int v6; // ecx int v7; // ecx __int64 v8; // rcx v4 = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v5 = (int)(*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1168LL))(a1, v4) + 1; if ( (_DWORD)v4 == 482 ) { v6 = 0; if ( v5 <= 5 ) v6 = v5; v5 = v6; } else { if ( (unsigned int)(v4 - 485) <= 1 ) { if ( v5 > 3 ) v5 = 0; } else if ( (unsigned int)(v4 - 578) <= 1 ) { v7 = 0; if ( v5 <= 2 ) v7 = v5; v5 = v7; } else if ( v5 > 4 ) { v5 = 0; } if ( (unsigned int)(v4 - 480) <= 1 && v5 < 1 ) v5 = 1; } SetupTriggerPopup::updateValue(a1, (unsigned int)v4); SetupItemCompareTriggerPopup::updateOpButton(v8, a2, (unsigned int)v5, (unsigned int)v4); return SetupItemCompareTriggerPopup::updateFormulaLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source