// // SetupRotateCommandPopup::valueDidChange from 0x1000067b0 to 0x100006ae6 (822 bytes) // // 1 xrefs: // > @ 0x1008afae8 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall SetupRotateCommandPopup::valueDidChange(SetupRotateCommandPopup *a1, int a2, float a3) { int v3; // r15d __m128 v4; // xmm0 __m128 v5; // rt1 int v6; // esi __m128 v7; // xmm0 unsigned __int8 v8; // r14 int v9; // r12d __m128 v10; // xmm0 unsigned __int8 v11; // r15 if ( a2 <= 199 ) { if ( a2 == 100 ) { if ( a3 != 0.0 ) SetupTriggerPopup::updateValue(a1, 394, 0.0); LOBYTE(v9) = 1; if ( ((float (__fastcall *)(SetupRotateCommandPopup *, __int64))a1->getValue)(a1, 100) == 0.0 ) { v10.f32[0] = ((float (__fastcall *)(SetupRotateCommandPopup *, __int64))a1->getValue)(a1, 394); v9 = _mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss((__m128)0LL, v10)) & 1; } ((void (__fastcall *)(SetupRotateCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 9002, (unsigned __int8)v9); ((void (__fastcall *)(SetupRotateCommandPopup *, __int64, _QWORD))a1->toggleGroup)( a1, 9001, (unsigned __int8)v9 ^ 1u); v11 = (((float (__fastcall *)(SetupRotateCommandPopup *, __int64))a1->getValue)(a1, 397) != 0.0) & v9; ((void (__fastcall *)(SetupRotateCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 9003, v11 ^ 1u); ((void (__fastcall *)(SetupRotateCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 9004, v11); SetupTriggerPopup::togglePageArrows( a1, _mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss((__m128)LODWORD(a3), (__m128)0LL)) & 1); return; } if ( a2 != 138 || a3 == 0.0 ) return; v6 = 200; LABEL_14: SetupTriggerPopup::updateValue(a1, v6, 0.0); SetupTriggerPopup::updateValue(a1, 401, 0.0); return; } switch ( a2 ) { case 200: if ( a3 == 0.0 ) return; v6 = 138; goto LABEL_14; case 394: if ( a3 != 0.0 ) SetupTriggerPopup::updateValue(a1, 100, 0.0); LOBYTE(v3) = 1; if ( ((float (__fastcall *)(SetupRotateCommandPopup *, __int64))a1->getValue)(a1, 100) == 0.0 ) { v7.f32[0] = ((float (__fastcall *)(SetupRotateCommandPopup *, __int64))a1->getValue)(a1, 394); v3 = _mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss((__m128)0LL, v7)) & 1; } goto LABEL_20; case 397: LOBYTE(v3) = 1; if ( ((float (__fastcall *)(SetupRotateCommandPopup *, __int64, float))a1->getValue)(a1, 100, a3) == 0.0 ) { *(double *)v4.i64 = ((double (__fastcall *)(SetupRotateCommandPopup *, __int64))a1->getValue)(a1, 394); v5.i32[0] = 0; v3 = _mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss(v4, v5)) & 1; } LABEL_20: ((void (__fastcall *)(SetupRotateCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 9002, (unsigned __int8)v3); ((void (__fastcall *)(SetupRotateCommandPopup *, __int64, _QWORD))a1->toggleGroup)( a1, 9001, (unsigned __int8)v3 ^ 1u); v8 = (((float (__fastcall *)(SetupRotateCommandPopup *, __int64))a1->getValue)(a1, 397) != 0.0) & v3; ((void (__fastcall *)(SetupRotateCommandPopup *, __int64, bool))a1->toggleGroup)(a1, 9003, !v8); ((void (__fastcall *)(SetupRotateCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 9004, v8); break; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source