// // sub_E23AF4 from 0xe23af4 to 0xe23d1c (552 bytes) // // 5 xrefs: // > sub_E27094 @ 0xe27168 // > sub_E27094 @ 0xe27194 // > sub_E2A004 @ 0xe2a1f4 // > sub_E2A004 @ 0xe2a30c // > sub_E2A004 @ 0xe2a344 // // 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 13:09:47 +0000 // __int64 __fastcall sub_E23AF4(char *a1, __int64 a2, __int64 a3) { unsigned __int8 v6; // w6 unsigned int v7; // w5 unsigned int v8; // w4 unsigned int v9; // w3 unsigned int v10; // w2 unsigned int v11; // w1 char v12; // w7 unsigned int v13; // w6 unsigned int v14; // w5 unsigned int v15; // w4 unsigned int v16; // w12 unsigned int v17; // w3 unsigned int v18; // w2 int v19; // w6 int v20; // w5 int v21; // w4 int v22; // w3 char v23; // w1 unsigned int v24; // w8 unsigned int v25; // w7 unsigned int v26; // w6 unsigned int v27; // w5 unsigned int v28; // w4 unsigned int v29; // w9 char v30; // w3 _BYTE v32[128]; // [xsp+40h] [xbp+40h] BYREF char v33; // [xsp+C0h] [xbp+C0h] BYREF char v34; // [xsp+C1h] [xbp+C1h] char v35; // [xsp+C2h] [xbp+C2h] char v36; // [xsp+C3h] [xbp+C3h] char v37; // [xsp+C4h] [xbp+C4h] char v38; // [xsp+C5h] [xbp+C5h] char v39; // [xsp+C6h] [xbp+C6h] char v40; // [xsp+C7h] [xbp+C7h] v6 = a1[1]; v7 = (unsigned __int8)a1[2]; v8 = (unsigned __int8)a1[3]; v9 = (unsigned __int8)a1[4]; v10 = (unsigned __int8)a1[5]; v11 = (unsigned __int8)a1[6]; v12 = (v6 >> 1) | (*a1 << 7); v33 = *a1; v34 = v12; v35 = (v7 >> 2) | (v6 << 6); v36 = (v8 >> 3) | (32 * v7); v37 = (v9 >> 4) | (16 * v8); v38 = (v10 >> 5) | (8 * v9); v39 = (v11 >> 6) | (4 * v10); v40 = 2 * v11; DES_set_odd_parity(&v33); DES_set_key(&v33, v32); DES_ecb_encrypt(a2, a3, v32, 1); v13 = (unsigned __int8)a1[8]; v14 = (unsigned __int8)a1[9]; v15 = (unsigned __int8)a1[10]; v16 = v13 >> 1; v17 = (unsigned __int8)a1[11]; v18 = (unsigned __int8)a1[12]; v19 = (v14 >> 2) | (v13 << 6); v20 = (v15 >> 3) | (32 * v14); v21 = (v17 >> 4) | (16 * v15); v22 = (v18 >> 5) | (8 * v17); LOBYTE(v18) = ((unsigned __int8)a1[13] >> 6) | (4 * v18); v23 = 2 * a1[13]; v33 = a1[7]; v35 = v19; v34 = v16 | (v33 << 7); v36 = v20; v37 = v21; v38 = v22; v39 = v18; v40 = v23; DES_set_odd_parity(&v33); DES_set_key(&v33, v32); DES_ecb_encrypt(a2, a3 + 8, v32, 1); v24 = (unsigned __int8)a1[15]; v25 = (unsigned __int8)a1[16]; v26 = (unsigned __int8)a1[17]; v27 = (unsigned __int8)a1[18]; v28 = (unsigned __int8)a1[19]; v29 = v28 >> 5; LOBYTE(v28) = ((unsigned __int8)a1[20] >> 6) | (4 * v28); v30 = 2 * a1[20]; v33 = a1[14]; v35 = (v25 >> 2) | ((_BYTE)v24 << 6); v36 = (v26 >> 3) | (32 * v25); v37 = (v27 >> 4) | (16 * v26); v38 = v29 | (8 * v27); v39 = v28; v40 = v30; v34 = (v24 >> 1) | (v33 << 7); DES_set_odd_parity(&v33); DES_set_key(&v33, v32); DES_ecb_encrypt(a2, a3 + 16, v32, 1); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source