// // SetupItemEditTriggerPopup::onOpButton from 0x1005abe00 to 0x1005abec2 (194 bytes) // // 1 xrefs: // > SetupItemEditTriggerPopup::init @ 0x1005aba1b // // 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:32:37 +0000 // __int64 __fastcall SetupItemEditTriggerPopup::onOpButton(_QWORD *a1, __int64 a2) { __int64 v2; // r15 int v3; // ecx int v4; // eax bool v5; // cc int v6; // r12d v2 = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v3 = (int)(*(float (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, v2); v4 = v3 + 1; if ( (unsigned int)(v2 - 485) <= 1 ) { v5 = v3 < 3; goto LABEL_5; } if ( (v2 & 0xFFFFFFFE) == 0x242 ) { v5 = v3 < 2; LABEL_5: if ( !v5 ) v4 = 0; LABEL_7: v6 = 3; if ( v4 >= 4 ) v6 = v4; if ( (_DWORD)v2 != 482 ) v6 = v4; goto LABEL_11; } if ( v3 >= 4 ) v4 = 0; if ( (_DWORD)v2 != 481 ) goto LABEL_7; v6 = 1; if ( v4 > 0 ) goto LABEL_7; LABEL_11: SetupTriggerPopup::updateValue(a1, v2, (float)v6); SetupItemEditTriggerPopup::updateOpButton(a1, a2, (unsigned int)v6, (unsigned int)v2); return SetupItemEditTriggerPopup::updateFormulaLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source