// // SetupGradientPopup::determineStartValues from 0x1003e1e28 to 0x1003e1f38 (272 bytes) // // 1 xrefs: // > @ 0x1009493e8 // // This function is hookable on this platform (idp: arm, 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:04:23 +0000 // __int64 __fastcall SetupGradientPopup::determineStartValues(__int64 a1) { __int64 result; // x0 _QWORD *v3; // x20 unsigned int v4; // w21 int32x2_t v5; // d8 int8x8_t v6; // d9 int8x8_t *v7; // x0 int32x2_t v8; // d0 __int32 v9; // w8 int32x2_t v10; // [xsp+0h] [xbp-40h] result = SetupTriggerPopup::determineStartValues(a1); if ( *(_QWORD *)(a1 + 680) ) { v3 = sub_1002E736C(); result = sub_1002E74E0((__int64)v3); if ( !v3 ) return result; } else { v3 = *(_QWORD **)(a1 + 688); if ( !v3 ) return result; } result = sub_1002E757C((__int64)v3); if ( !(_DWORD)result ) return result; result = sub_1002E757C((__int64)v3); if ( (_DWORD)result ) { v4 = 0; v5 = vdup_n_s32(0xFFFE7961); v6 = (int8x8_t)vdup_n_s32(0xFFFFD8F9); v10 = v5; do { v7 = (int8x8_t *)sub_1002E75A0((__int64)v3, v4); v10 = (int32x2_t)vbsl_s8( (int8x8_t)vceq_s32(v10, v5), v7[230], vbsl_s8((int8x8_t)vceq_s32(v10, (int32x2_t)v7[230]), (int8x8_t)v10, v6)); ++v4; result = sub_1002E757C((__int64)v3); } while ( v4 < (unsigned int)result ); v8 = v10; v9 = v10.i32[0]; if ( v10.i32[1] == -9991 ) goto LABEL_13; } else { v8 = vdup_n_s32(0xFFFE7961); } *(_DWORD *)(a1 + 1024) = v8.i32[1]; v9 = v8.i32[0]; LABEL_13: if ( v9 != -9991 ) *(_DWORD *)(a1 + 1040) = v9; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source