// // sub_E1B764 from 0xe1b764 to 0xe1b8f8 (404 bytes) // // 2 xrefs: // > sub_E1BB10 @ 0xe1c078 // > sub_E1C978 @ 0xe1cdd0 // // 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:44 +0000 // __int64 __fastcall sub_E1B764(_DWORD *a1) { _QWORD *v2; // x0 const char *v3; // x2 const char *v4; // x3 unsigned int v5; // w19 __int64 result; // x0 const char *v7; // x20 int v8; // w1 __int64 v9; // x19 __int64 v10; // x0 __int64 v11; // x22 bool v12; // zf int v13; // t1 int v14; // t1 size_t v15; // x19 char *v16; // x0 char *v17; // x22 int v18; // w1 char *v19; // x3 int v20; // t1 char *v21; // x3 int v22; // t1 const char *v23; // x0 v2 = *(_QWORD **)(*(_QWORD *)a1 + 536LL); v3 = (const char *)v2[7]; if ( v3 ) { v4 = (const char *)v2[8]; if ( !v4 ) v4 = &byte_11B8890; v5 = sub_E1AEB4((__int64)a1, "%s%s", v3, v4); goto LABEL_5; } v7 = (const char *)v2[1]; if ( !v7 ) { v23 = &byte_11B8890; LABEL_29: v17 = off_154A3D8(v23); goto LABEL_25; } v8 = *(unsigned __int8 *)v7; if ( !*v7 ) goto LABEL_30; v9 = v2[7]; v10 = v2[1]; v11 = 0; do { while ( v8 == 92 ) { v14 = *(unsigned __int8 *)++v10; v8 = v14; ++v11; if ( !v14 ) goto LABEL_16; } v12 = v8 == 34; v13 = *(unsigned __int8 *)++v10; v8 = v13; if ( v12 ) ++v9; } while ( v8 ); LABEL_16: if ( !(v11 | v9) ) { LABEL_30: v23 = v7; goto LABEL_29; } v15 = v11 + v9 + strlen(v7); v16 = (char *)off_154A3C0(v15 + 1); v17 = v16; if ( !v16 ) return 27; v18 = *(unsigned __int8 *)v7; v19 = v16; if ( *v7 ) { do { while ( v18 != 34 && v18 != 92 ) { *v19++ = *v7; v20 = *(unsigned __int8 *)++v7; v18 = v20; if ( !v20 ) goto LABEL_24; } *v19 = 92; v21 = v19 + 1; *v21 = *v7; v19 = v21 + 1; v22 = *(unsigned __int8 *)++v7; v18 = v22; } while ( v22 ); } LABEL_24: v16[v15] = 0; LABEL_25: if ( !v17 ) return 27; v5 = sub_E1AEB4((__int64)a1, "LIST \"%s\" *", v17); off_154A3C8(v17); LABEL_5: result = v5; if ( !v5 ) a1[418] = 7; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source