// // SetupMoveCommandPopup::updateControlVisibility from 0x1006089e0 to 0x100608b86 (422 bytes) // // 2 xrefs: // > SetupMoveCommandPopup::init @ 0x10060878e // > SetupMoveCommandPopup::valueDidChange @ 0x100608ecf // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall SetupMoveCommandPopup::updateControlVisibility(SetupMoveCommandPopup *a1) { __m128 v1; // xmm0 bool v3; // r14 bool v4; // r15 _BOOL8 v5; // rdx bool v6; // r14 int v7; // r14d int v8; // r15d __m128 v9; // xmm0 __m128 v10; // rt1 v3 = ((float (__fastcall *)(SetupMoveCommandPopup *, __int64))a1->getValue)(a1, 100) != 0.0; v4 = ((float (__fastcall *)(SetupMoveCommandPopup *, __int64))a1->getValue)(a1, 394) != 0.0; v5 = v3; v6 = v4 || v3; ((void (__fastcall *)(SetupMoveCommandPopup *, __int64, _BOOL8))a1->toggleGroup)(a1, 9002, v5); ((void (__fastcall *)(SetupMoveCommandPopup *, __int64, bool))a1->toggleGroup)(a1, 9003, v4); ((void (__fastcall *)(SetupMoveCommandPopup *, __int64, bool))a1->toggleGroup)(a1, 9004, v6); ((void (__fastcall *)(SetupMoveCommandPopup *, __int64, bool))a1->toggleGroup)(a1, 9001, !v6); if ( !v6 ) { LOBYTE(v7) = 1; LOBYTE(v8) = 1; if ( ((float (__fastcall *)(SetupMoveCommandPopup *, __int64))a1->getValue)(a1, 58) == 0.0 ) { v9.f32[0] = ((float (__fastcall *)(SetupMoveCommandPopup *, __int64))a1->getValue)(a1, 141); v8 = _mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss((__m128)0LL, v9)) & 1; } ((void (__fastcall *)(SetupMoveCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 28, (unsigned __int8)v8 ^ 1u); ((void (__fastcall *)(SetupMoveCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 143, (unsigned __int8)v8); if ( ((float (__fastcall *)(SetupMoveCommandPopup *, __int64))a1->getValue)(a1, 59) == 0.0 ) { *(double *)v1.i64 = ((double (__fastcall *)(SetupMoveCommandPopup *, __int64))a1->getValue)(a1, 142); v10.i32[0] = 0; v7 = _mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss(v1, v10)) & 1; } ((void (__fastcall *)(SetupMoveCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 29, (unsigned __int8)v7 ^ 1u); ((void (__fastcall *)(SetupMoveCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 144, (unsigned __int8)v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source