// // sub_EEBC3C from 0xeebc3c to 0xeebfe4 (936 bytes) // // 1 xrefs: // > sub_EECF00 @ 0xeed008 // // 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:11:55 +0000 // __int64 __fastcall sub_EEBC3C(__int64 a1, __int64 a2, int a3, int a4, int a5, int a6) { _BYTE *v6; // x0 int v7; // w3 __int64 v8; // x20 __int64 v9; // x17 __int64 v10; // x16 __int64 v11; // x13 __int64 v12; // x19 __int64 v13; // x21 _BYTE *v14; // x28 int v15; // w10 int v16; // w14 int v17; // w9 int v18; // w11 __int64 v19; // x7 int v20; // w15 int v21; // w24 int v22; // w8 int v23; // w12 int v24; // w7 int v25; // w12 int v26; // w8 int v27; // w7 _BYTE *v28; // x7 __int64 v29; // x11 int v30; // w14 int v31; // w22 int v32; // w9 int v33; // w8 __int64 result; // x0 int v35; // w23 int v36; // w25 int v37; // w1 int v38; // w18 int v39; // w0 int v40; // w18 int v41; // w1 int v42; // w0 int v43; // w8 int v44; // w11 int v45; // w1 int v46; // w8 __int64 v47; // [xsp+58h] [xbp-8h] v6 = (_BYTE *)(a1 + 4 * a3); v47 = 4 * a3; v7 = 2 * a4 + 1; v8 = -4 * a3; v9 = -3 * a3; v10 = -2 * a3; v11 = -a3; v12 = 2 * a3; v13 = 3 * a3; v14 = v6 + 8; do { while ( 1 ) { v15 = (unsigned __int8)v6[v10]; v16 = (unsigned __int8)v6[a3]; v17 = (unsigned __int8)v6[v11]; v18 = (unsigned __int8)*v6; v19 = v15 - v16; v20 = (unsigned __int8)v6[v9]; v21 = (unsigned __int8)v6[v12]; if ( v7 < byte_11E4BAF[v19] + 4 * byte_11E4BAF[v17 - v18] ) goto LABEL_12; if ( a5 < byte_11E4BAF[(unsigned __int8)v6[v8] - v20] ) goto LABEL_12; if ( a5 < byte_11E4BAF[v20 - v15] ) goto LABEL_12; v22 = byte_11E4BAF[v15 - v17]; if ( a5 < v22 ) goto LABEL_12; if ( a5 < byte_11E4BAF[(unsigned __int8)v6[v13] - v21] ) goto LABEL_12; if ( a5 < byte_11E4BAF[v21 - v16] ) goto LABEL_12; v23 = byte_11E4BAF[v16 - v18]; if ( a5 < v23 ) goto LABEL_12; if ( a6 < v22 || a6 < v23 ) break; v24 = 3 * (v18 - v17); v25 = byte_11E4230[(v24 + 4) >> 3]; v26 = byte_11E4230[(v24 + 3) >> 3]; v27 = (v25 + 1) >> 1; v6[v10] = byte_11E3FBF[v15 + v27]; v6[v11] = byte_11E3FBF[v17 + v26]; *v6 = byte_11E3FBF[v18 - v25]; v6[a3] = byte_11E3FBF[v16 - v27]; LABEL_12: if ( ++v6 == v14 ) goto LABEL_13; } v43 = 3 * (v18 - v17) + byte_11E46AC[v19]; v44 = v18 - byte_11E4230[(v43 + 4) >> 3]; v6[v11] = byte_11E3FBF[v17 + byte_11E4230[(v43 + 3) >> 3]]; *v6++ = byte_11E3FBF[v44]; } while ( v6 != v14 ); LABEL_13: v28 = (_BYTE *)(a2 + v47); v29 = a2 + v47 + 8; while ( 1 ) { LABEL_14: v30 = (unsigned __int8)v28[v10]; v31 = (unsigned __int8)v28[a3]; v32 = (unsigned __int8)v28[v11]; v33 = (unsigned __int8)*v28; result = v30 - v31; v35 = (unsigned __int8)v28[v9]; v36 = (unsigned __int8)v28[v12]; if ( v7 < byte_11E4BAF[result] + 4 * byte_11E4BAF[v32 - v33] ) goto LABEL_24; if ( a5 < byte_11E4BAF[(unsigned __int8)v28[v8] - v35] ) goto LABEL_24; if ( a5 < byte_11E4BAF[v35 - v30] ) goto LABEL_24; v37 = byte_11E4BAF[v30 - v32]; if ( a5 < v37 ) goto LABEL_24; if ( a5 < byte_11E4BAF[(unsigned __int8)v28[v13] - v36] ) goto LABEL_24; if ( a5 < byte_11E4BAF[v36 - v31] ) goto LABEL_24; v38 = byte_11E4BAF[v31 - v33]; if ( a5 < v38 ) goto LABEL_24; if ( a6 < v37 || a6 < v38 ) break; v39 = 3 * (v33 - v32); v40 = byte_11E4230[(v39 + 4) >> 3]; v41 = byte_11E4230[(v39 + 3) >> 3]; v42 = (v40 + 1) >> 1; v28[v10] = byte_11E3FBF[v30 + v42]; v28[v11] = byte_11E3FBF[v32 + v41]; *v28 = byte_11E3FBF[v33 - v40]; result = (unsigned __int8)byte_11E3FBF[v31 - v42]; v28[a3] = result; LABEL_24: if ( ++v28 == (_BYTE *)v29 ) return result; } v45 = 3 * (v33 - v32) + byte_11E46AC[result]; v46 = v33 - byte_11E4230[(v45 + 4) >> 3]; v28[v11] = byte_11E3FBF[v32 + byte_11E4230[(v45 + 3) >> 3]]; ++v28; result = (unsigned __int8)byte_11E3FBF[v46]; *(v28 - 1) = result; if ( v28 != (_BYTE *)v29 ) goto LABEL_14; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source