// // SetupItemEditTriggerPopup::onOpButton from 0x140602250 to 0x140602322 (210 bytes) // // 2 xrefs: // > SetupItemEditTriggerPopup::init @ 0x140601f4f // > @ 0x14092f8ac // // 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:11 +0000 // __int64 __fastcall SetupItemEditTriggerPopup::onOpButton(__int64 a1, __int64 a2) { __int64 v4; // rdi int v5; // ebx int v6; // eax __int64 v7; // rcx v4 = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v5 = (int)(*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1168LL))(a1, v4) + 1; if ( (unsigned int)(v4 - 485) <= 1 ) { if ( v5 > 3 ) v5 = 0; } else if ( (unsigned int)(v4 - 578) <= 1 ) { v6 = 0; if ( v5 <= 2 ) v6 = v5; v5 = v6; } else if ( v5 > 4 ) { v5 = 0; } if ( (_DWORD)v4 == 481 ) { if ( v5 < 1 ) v5 = 1; } else if ( (_DWORD)v4 == 482 && v5 < 3 ) { v5 = 3; } SetupTriggerPopup::updateValue(a1, (unsigned int)v4); SetupItemEditTriggerPopup::updateOpButton(v7, a2, (unsigned int)v5, (unsigned int)v4); return SetupItemEditTriggerPopup::updateFormulaLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source