// // sub_917214 from 0x917214 to 0x917418 (516 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:04:33 +0000 // unsigned __int64 *__fastcall sub_917214( unsigned __int64 *a1, unsigned __int64 *a2, int a3, unsigned int a4, unsigned __int8 a5, unsigned __int8 a6) { int64x2_t v6; // q13 int8x16_t v7; // q15 uint8x16_t v8; // q2 char *v9; // r3 unsigned __int64 *v10; // r4 unsigned __int64 *v13; // r5 unsigned __int64 *v14; // r1 _QWORD *v15; // r6 unsigned __int64 *v16; // r3 unsigned __int64 *v17; // lr unsigned __int64 *v18; // r11 unsigned __int64 *v19; // r8 uint8x16_t v20; // q6 uint8x16_t v21; // q12 unsigned __int64 *v22; // r7 int64x2_t v23; // q8 unsigned __int64 *result; // r0 int8x16_t v25; // q1 unsigned __int64 v26; // d22 int v27; // r2 uint8x16_t v28; // q10 uint8x16_t v29; // q7 int8x16_t v30; // q14 uint8x16_t v31; // q3 uint8x16_t v32; // q9 int8x16_t v33; // q0 uint8x16_t v34; // q4 uint8x16_t v35; // q5 uint8x16_t v36; // q6 uint8x16_t v37; // q11 uint8x16_t v38; // q7 int8x16_t v39; // q10 uint8x16_t v40; // q8 uint8x16_t v41; // q4 uint8x16_t v42; // q12 uint8x16_t v43; // q6 int8x16_t v44; // q11 uint8x16_t v45; // q5 uint8x16_t v46; // q7 int8x16_t v47; // q6 int64x2_t v48; // q2 int64x2_t v49; // q4 int8x16_t v50; // q6 int8x16_t v51; // q11 int8x16_t v52; // q12 int8x16_t v53; // q6 int8x16_t v54; // q9 int8x16_t v55; // q8 int8x16_t v56; // q15 int64x2_t v57; // q9 int64x2_t v58; // q14 int64x2_t v59; // q10 int64x2_t v60; // q13 unsigned __int64 *v61; // [sp+8h] [bp-Ch] unsigned __int64 *v62; // [sp+Ch] [bp-8h] v6.n128_u64[0] = 0x8080808080808080LL; v6.n128_u64[1] = 0x8080808080808080LL; v7.n128_u64[0] = 0x404040404040404LL; v7.n128_u64[1] = 0x404040404040404LL; v8 = vdupq_n_s8(a4); v9 = (char *)a1 + 4 * a3; v10 = (unsigned __int64 *)&v9[a3]; v61 = (unsigned __int64 *)((char *)a2 + 4 * a3); v62 = (unsigned __int64 *)((char *)a2 + a3); v13 = (unsigned __int64 *)((char *)a2 + a3 + a3); v14 = (unsigned __int64 *)&v9[a3 + a3 + a3]; v15 = (unsigned __int64 *)((char *)v13 + a3); v16 = (unsigned __int64 *)((char *)v61 + a3); v17 = (unsigned __int64 *)((char *)v61 + a3 + a3); v18 = (unsigned __int64 *)((char *)a1 + a3); v19 = (unsigned __int64 *)((char *)a1 + a3 + a3); v20.n128_u64[0] = *v14; v21.n128_u64[1] = *(unsigned __int64 *)((char *)v13 + a3); v22 = (unsigned __int64 *)((char *)v19 + a3); v23.n128_u64[1] = *v13; result = (unsigned __int64 *)((char *)a1 + 4 * a3); v25.n128_u64[0] = 0x303030303030303LL; v25.n128_u64[1] = 0x303030303030303LL; v26 = *(unsigned __int64 *)((char *)v10 + a3); v20.n128_u64[1] = *(unsigned __int64 *)((char *)v17 + a3); v27 = -a3; v28.n128_u64[1] = *v17; v28.n128_u64[0] = v26; v23.n128_u64[0] = *v19; v29.n128_u64[0] = *v18; v29.n128_u64[1] = *v62; v30 = veorq_s64(v23, v6); v31.n128_u64[0] = *a1; v31.n128_u64[1] = *a2; v21.n128_u64[0] = *v22; v32 = vabdq_u8(v23, v21); v33 = veorq_s64(v21, v6); v34.n128_u64[0] = *v10; v35 = vmaxq_u8(vabdq_u8(v31, v29), vabdq_u8(v29, v23)); v34.n128_u64[1] = *v16; v36 = vmaxq_u8(v32, vabdq_u8(v20, v28)); v37.n128_u64[0] = *result; v37.n128_u64[1] = *v61; v38 = vabdq_u8(v28, v34); v39 = veorq_s64(v34, v6); v40 = vabdq_u8(v23, v34); v41 = vabdq_u8(v34, v37); v42 = vabdq_u8(v21, v37); v43 = vmaxq_u8(v35, v36); v44 = veorq_s64(v37, v6); v45 = vdupq_n_s8(a6); v46 = vmaxq_u8(v43, vmaxq_u8(v38, v41)); v47 = vqsubq_s8(v44, v33); v48 = vandq_s64(vcgeq_u8(v8, vqaddq_u8(vqaddq_u8(v42, v42), vshrq_n_u8(v40, 1u))), vcgeq_u8(vdupq_n_s8(a5), v46)); v49 = vandq_s64(v48, vorrq_s64(vcgtq_u8(v32, v45), vcgtq_u8(v41, v45))); v50 = vandq_s64(vqaddq_s8(v47, vqaddq_s8(v47, vqaddq_s8(vqsubq_s8(v30, v39), v47))), v49); v51 = vqsubq_s8(v44, vshrq_n_s8(vqaddq_s8(v50, v7), 3u)); v52 = vqaddq_s8(v33, vshrq_n_s8(vqaddq_s8(v50, v25), 3u)); v53 = vqsubq_s8(v51, v52); v54 = vandq_s64(vqaddq_s8(v53, vqaddq_s8(v53, v53)), veorq_s64(v49, v48)); v55 = vshrq_n_s8(vqaddq_s8(v54, v7), 3u); v56 = vrshrq_n_s8(v55, 1u); v57 = veorq_s64(vqaddq_s8(v52, vshrq_n_s8(vqaddq_s8(v54, v25), 3u)), v6); v58 = veorq_s64(vqaddq_s8(v30, v56), v6); v59 = veorq_s64(vqsubq_s8(v39, v56), v6); v60 = veorq_s64(vqsubq_s8(v51, v55), v6); *(unsigned __int64 *)((char *)v22 + v27) = v58.n128_u64[0]; *v22 = v57.n128_u64[0]; *(_QWORD *)((char *)v15 + v27) = v58.n128_u64[1]; *v15 = v57.n128_u64[1]; *(unsigned __int64 *)((char *)v10 + v27) = v60.n128_u64[0]; *v10 = v59.n128_u64[0]; *(unsigned __int64 *)((char *)v16 + v27) = v60.n128_u64[1]; *v16 = v59.n128_u64[1]; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source