// // sub_C72CE8 from 0xc72ce8 to 0xc72ecc (484 bytes) // // 1 xrefs: // > sub_C73290 @ 0xc73314 // // 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 // __int64 __fastcall sub_C72CE8(const char *a1, int a2, int a3, int a4, int8x16_t *a5, int a6) { unsigned int v6; // w15 int v7; // w13 int v8; // w8 int8x16_t v9; // q0 const char *v10; // x9 int8x16_t *v11; // x7 unsigned int v12; // w6 int v13; // w11 __int64 v14; // x6 int v15; // w9 __int64 v17; // x6 int v18; // w7 int8x16_t v19; // 0:q1.16 if ( a4 > 0 ) { v6 = ((unsigned int)(a3 - 17) >> 4) + 1; v7 = 0; v8 = 255; while ( 1 ) { while ( a3 <= 0 ) { LABEL_11: ++v7; a1 += a2; a5 = (int8x16_t *)((char *)a5 + a6); if ( v7 == a4 ) return v8 == 255; } if ( (a1 >= (const char *)a5 + (unsigned int)a3 || a5 >= (int8x16_t *)&a1[4 * a3]) && (unsigned int)a3 > 0x16 ) { v9 = 0u; v10 = a1; v11 = a5; v12 = 0; do { v19 = vld4q_s8(v10).val[0]; v10 += 64; ++v12; *v11++ = v19; v9 = vandq_s8(v9, v19); } while ( v6 > v12 ); v8 = (unsigned __int8)(v8 & v9.n128_u8[0] & v9.n128_u8[1] & v9.n128_u8[2] & v9.n128_u8[3] & v9.n128_u8[4] & v9.n128_u8[5] & v9.n128_u8[6] & v9.n128_u8[7] & v9.n128_u8[8] & v9.n128_u8[9] & v9.n128_u8[10] & v9.n128_u8[11] & v9.n128_u8[12] & v9.n128_u8[13] & v9.n128_u8[14] & v9.n128_u8[15]); if ( a3 != 16 * v6 ) { v13 = v6; v14 = 0; do { v15 = (unsigned __int8)a1[4 * v14 + (int)(v6 << 6)]; a5[v13].n128_u8[v14++] = v15; v8 &= v15; } while ( a3 > v13 * 16 + (int)v14 ); } goto LABEL_11; } v17 = 0; do { v18 = (unsigned __int8)a1[4 * v17]; a5->n128_u8[v17++] = v18; v8 &= v18; } while ( a3 > (int)v17 ); ++v7; a1 += a2; a5 = (int8x16_t *)((char *)a5 + a6); if ( v7 == a4 ) return v8 == 255; } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source