// // sub_E6A684 from 0xe6a684 to 0xe6a8b4 (560 bytes) // // 1 xrefs: // > sub_E68414 @ 0xe68450 // // 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:10:33 +0000 // __int64 __fastcall sub_E6A684(__int64 a1, __int64 a2) { __int64 v4; // x24 int v5; // w1 __int64 i; // x22 __int64 v7; // x3 __int64 v8; // x21 int v9; // w2 int v10; // w0 __int64 v11; // x23 int v12; // w28 __int64 v13; // x26 char *v14; // x20 char *v15; // x1 char *v16; // x1 char *v17; // x27 int v18; // w20 int v19; // w28 int v20; // w26 __int64 v21; // x23 bool v22; // zf int v23; // w2 int v25; // w28 v4 = *(_QWORD *)(a1 + 560); if ( *(_DWORD *)(a1 + 316) ) { v5 = *(_DWORD *)(v4 + 96); if ( !v5 ) { sub_E699F0((_QWORD **)a1, *(_DWORD *)(v4 + 100)); v5 = *(_DWORD *)(a1 + 316); *(_DWORD *)(v4 + 100) = ((unsigned __int8)*(_DWORD *)(v4 + 100) + 1) & 7; } *(_DWORD *)(v4 + 96) = v5 - 1; } for ( i = 0; *(_DWORD *)(a1 + 416) > (int)i; ++i ) { while ( 1 ) { v7 = *(int *)(a1 + 4 * i + 420); v8 = v4 + 4 * v7; v9 = **(__int16 **)(a2 + 8 * i) >> *(_DWORD *)(a1 + 472); v10 = *(_DWORD *)(v8 + 64); v11 = *(int *)(*(_QWORD *)(a1 + 8 * v7 + 376) + 20LL); v12 = v9 - v10; v13 = v4 + 8 * v11; v14 = (char *)(*(_QWORD *)(v13 + 104) + *(int *)(v8 + 80)); if ( v9 != v10 ) break; sub_E68F84(a1, (char *)(*(_QWORD *)(v13 + 104) + *(int *)(v8 + 80))); *(_DWORD *)(v8 + 80) = 0; LABEL_8: if ( *(_DWORD *)(a1 + 416) <= (int)++i ) return 1; } v15 = (char *)(*(_QWORD *)(v13 + 104) + *(int *)(v8 + 80)); *(_DWORD *)(v8 + 64) = v9; sub_E68644(a1, v15); v16 = v14 + 1; if ( v12 <= 0 ) { sub_E68644(a1, v16); v12 = -v12; v17 = v14 + 3; *(_DWORD *)(v8 + 80) = 8; } else { sub_E68F84(a1, v16); v17 = v14 + 2; *(_DWORD *)(v8 + 80) = 4; } v18 = v12 - 1; if ( v12 == 1 ) { v19 = 0; v20 = 0; } else { v25 = v18 >> 1; sub_E68644(a1, v17); v17 = (char *)(*(_QWORD *)(v13 + 104) + 20LL); if ( v18 >> 1 ) { v20 = 1; do { v25 >>= 1; v20 *= 2; sub_E68644(a1, v17++); } while ( v25 ); v19 = v20 >> 1; } else { v19 = 0; v20 = 1; } } v21 = a1 + v11; sub_E68F84(a1, v17); if ( v20 >= (int)(1LL << *(_BYTE *)(v21 + 224) >> 1) ) { if ( v20 > (int)(1LL << *(_BYTE *)(v21 + 240) >> 1) ) *(_DWORD *)(v8 + 80) += 8; } else { *(_DWORD *)(v8 + 80) = 0; } if ( !v19 ) goto LABEL_8; do { v22 = (v19 & v18) == 0; v19 >>= 1; v23 = !v22; sub_E68AE4(a1, v17 + 14, v23); } while ( v19 ); } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source