// // SetupGradientPopup::determineStartValues from 0x1006c5eb0 to 0x1006c5fc9 (281 bytes) // // 1 xrefs: // > @ 0x100b8e6d0 // // 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:35:33 +0000 // __int64 __fastcall SetupGradientPopup::determineStartValues(__int64 a1) { __int64 result; // rax __int64 v2; // r14 unsigned int v3; // r15d __m128 v4; // xmm1 __m128 si128; // xmm3 __m128i v6; // xmm0 int epi32; // ecx __m128i v8[3]; // [rsp+0h] [rbp-30h] BYREF result = SetupTriggerPopup::determineStartValues(a1); if ( *(_QWORD *)(a1 + 680) ) { v2 = sub_1007FE900(a1); result = sub_1007FEBF0(v2, *(_QWORD *)(a1 + 680)); if ( !v2 ) return result; } else { v2 = *(_QWORD *)(a1 + 688); if ( !v2 ) return result; } result = sub_1007FEF90(v2); if ( (_DWORD)result ) { if ( (unsigned int)sub_1007FEF90(v2) ) { v3 = 0; v8[0] = _mm_load_si128((const __m128i *)&xmmword_100A10A40); do { v4 = (__m128)_mm_loadl_epi64((const __m128i *)(sub_1007FEFE0(v2, v3) + 1840)); si128 = (__m128)_mm_load_si128(v8); v8[0] = (__m128i)_mm_blendv_ps( _mm_blendv_ps( (__m128)xmmword_100A10A50, si128, (__m128)_mm_cmpeq_epi32((__m128i)si128, (__m128i)v4)), v4, (__m128)_mm_cmpeq_epi32((__m128i)si128, (__m128i)xmmword_100A10A40)); ++v3; } while ( v3 < (unsigned int)sub_1007FEF90(v2) ); v6 = _mm_load_si128(v8); epi32 = _mm_extract_epi32(v6, 1); result = (unsigned int)_mm_cvtsi128_si32(v6); if ( epi32 == -9991 ) { if ( (_DWORD)result == -9991 ) return result; goto LABEL_11; } } else { result = 4294867297LL; epi32 = -99999; } *(_DWORD *)(a1 + 1024) = epi32; if ( (_DWORD)result == -9991 ) return result; LABEL_11: *(_DWORD *)(a1 + 1040) = result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source