// // sub_CED670 from 0xced670 to 0xced8d4 (612 bytes) // // 6 xrefs: // > sub_CEAFF4 @ 0xceb650 // > sub_CFCBA4 @ 0xcfcbd4 // > sub_CFCBF8 @ 0xcfcc28 // > sub_CFCC4C @ 0xcfcc78 // > sub_CFCD9C @ 0xcfcdd4 // > sub_CFCD9C @ 0xcfce38 // // 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_CED670(__int64 a1) { uint32x4_t *v1; // x1 uint32x4_t *v2; // x2 char *v3; // x4 char *v4; // x5 uint16x8_t v5; // q1 uint16x8_t v6; // q0 uint8x16_t v7; // q0 uint16x8_t v8; // q1 uint16x8_t v9; // q0 unsigned __int8 *v10; // x2 uint16x8_t v11; // q1 uint16x8_t v12; // q0 __int64 j; // x0 int v15; // w3 __int64 i; // x0 unsigned __int32 v17; // w3 uint32x4_t *v19; // x0 v1 = *(uint32x4_t **)(a1 + 16); if ( !v1 ) { v19 = (uint32x4_t *)operator new(0x150u); v19->n128_u32[2] = 0; v1 = v19; v19[1].n128_u64[0] = 0; v19[1].n128_u64[1] = 0; v19->n128_u64[0] = (unsigned __int64)off_111EEA0; v19[2].n128_u8[0] = 0; v19[2].n128_u64[1] = 0; v19[3].n128_u64[0] = 0; v19[3].n128_u64[1] = 0; v19[4].n128_u64[0] = 0; v19[4].n128_u32[2] = 0; v19[4].n128_u32[3] = 0; v19[20].n128_u8[8] = 0; *(_QWORD *)(a1 + 16) = v19; } v1[1].n128_u64[1] = 0; v1[1].n128_u64[0] = (unsigned __int64)&byte_F288A0; v1[4].n128_u32[2] = 46; v1[4].n128_u32[3] = 44; v1[2].n128_u8[0] = 0; v2 = v1 + 5; v3 = (char *)&v1[14]; v4 = off_1233EF0[0]; if ( (char *)&v1[5] < off_1233EF0[0] + 36 && off_1233EF0[0] < v3 ) { for ( i = 0; i != 36; ++i ) { v17 = (unsigned __int8)v4[i]; v2->n128_u32[0] = v17; v2 = (uint32x4_t *)((char *)v2 + 4); } } else { v5 = vmovl_u8(*(uint8x8_t *)off_1233EF0[0]); v6 = vmovl_high_u8(*(uint8x16_t *)off_1233EF0[0]); *v2 = vmovl_u16((uint16x4_t)v5.n128_u64[0]); v1[6] = vmovl_high_u16(v5); v1[7] = vmovl_u16((uint16x4_t)v6.n128_u64[0]); v1[8] = vmovl_high_u16(v6); v7 = *((uint8x16_t *)v4 + 1); v8 = vmovl_u8((uint8x8_t)v7.n128_u64[0]); v9 = vmovl_high_u8(v7); v1[9] = vmovl_u16((uint16x4_t)v8.n128_u64[0]); v1[10] = vmovl_high_u16(v8); v1[11] = vmovl_u16((uint16x4_t)v9.n128_u64[0]); v1[12] = vmovl_high_u16(v9); v1[13].n128_u32[0] = (unsigned __int8)v4[32]; v1[13].n128_u32[1] = (unsigned __int8)v4[33]; v1[13].n128_u32[2] = (unsigned __int8)v4[34]; v1[13].n128_u32[3] = (unsigned __int8)v4[35]; } v10 = (unsigned __int8 *)off_1233EE8[0]; if ( v3 < off_1233EE8[0] + 26 && off_1233EE8[0] < &v1[20].n128_i8[8] ) { for ( j = 0; j != 26; ++j ) { v15 = v10[j]; *(_DWORD *)v3 = v15; v3 += 4; } } else { v11 = vmovl_u8(*(uint8x8_t *)off_1233EE8[0]); v12 = vmovl_high_u8(*(uint8x16_t *)off_1233EE8[0]); *(uint32x4_t *)v3 = vmovl_u16((uint16x4_t)v11.n128_u64[0]); v1[15] = vmovl_high_u16(v11); v1[16] = vmovl_u16((uint16x4_t)v12.n128_u64[0]); v1[17] = vmovl_high_u16(v12); v1[18].n128_u32[0] = v10[16]; v1[18].n128_u32[1] = v10[17]; v1[18].n128_u32[2] = v10[18]; v1[18].n128_u32[3] = v10[19]; v1[19].n128_u32[0] = v10[20]; v1[19].n128_u32[1] = v10[21]; v1[19].n128_u32[2] = v10[22]; v1[19].n128_u32[3] = v10[23]; v1[20].n128_u32[0] = v10[24]; v1[20].n128_u32[1] = v10[25]; } v1[2].n128_u64[1] = (unsigned __int64)"t"; v1[3].n128_u64[0] = 4; v1[3].n128_u64[1] = (unsigned __int64)"f"; v1[4].n128_u64[0] = 5; return 5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source