// // sub_EEBA68 from 0xeeba68 to 0xeebc3c (468 bytes) // // 1 xrefs: // > sub_EECF00 @ 0xeecff8 // // 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 // unsigned __int8 *__fastcall sub_EEBA68(unsigned __int8 *result, int a2, int a3, int a4, int a5) { int v5; // w2 unsigned __int8 *v6; // x19 int v7; // w12 unsigned __int8 *v8; // x5 int v9; // w11 int v10; // w14 int v11; // w9 int v12; // w8 __int64 v13; // x6 int v14; // w15 int v15; // w22 int v16; // w7 int v17; // w13 int v18; // w6 int v19; // w13 int v20; // w7 int v21; // w6 int v22; // w7 int v23; // w8 v5 = 2 * a3 + 1; v6 = result + 12; do { result += 4; v7 = 16; v8 = result; do { while ( 1 ) { v9 = *(v8 - 2); v10 = v8[1]; v11 = *(v8 - 1); v12 = *v8; v13 = v9 - v10; v14 = *(v8 - 3); v15 = v8[2]; if ( byte_11E4BAF[v13] + 4 * byte_11E4BAF[v11 - v12] > v5 ) goto LABEL_13; if ( a4 < byte_11E4BAF[*(v8 - 4) - v14] ) goto LABEL_13; if ( a4 < byte_11E4BAF[v14 - v9] ) goto LABEL_13; v16 = byte_11E4BAF[v9 - v11]; if ( a4 < v16 ) goto LABEL_13; if ( a4 < byte_11E4BAF[v8[3] - v15] ) goto LABEL_13; if ( a4 < byte_11E4BAF[v15 - v10] ) goto LABEL_13; v17 = byte_11E4BAF[v10 - v12]; if ( a4 < v17 ) goto LABEL_13; if ( a5 < v16 || a5 < v17 ) break; v18 = 3 * (v12 - v11); v19 = byte_11E4230[(v18 + 4) >> 3]; v20 = byte_11E4230[(v18 + 3) >> 3]; v21 = (v19 + 1) >> 1; *(v8 - 2) = byte_11E3FBF[v9 + v21]; *(v8 - 1) = byte_11E3FBF[v11 + v20]; *v8 = byte_11E3FBF[v12 - v19]; v8[1] = byte_11E3FBF[v10 - v21]; LABEL_13: --v7; v8 += a2; if ( !v7 ) goto LABEL_14; } --v7; v22 = 3 * (v12 - v11) + byte_11E46AC[v13]; v23 = v12 - byte_11E4230[(v22 + 4) >> 3]; *(v8 - 1) = byte_11E3FBF[v11 + byte_11E4230[(v22 + 3) >> 3]]; *v8 = byte_11E3FBF[v23]; v8 += a2; } while ( v7 ); LABEL_14: ; } while ( result != v6 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source