// // sub_B74B20 from 0xb74b20 to 0xb74c00 (224 bytes) // // 2 xrefs: // > sub_B75F30 @ 0xb763b4 // > sub_B75F30 @ 0xb763c4 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_B74B20(__int64 *a1, _QWORD *a2) { __int64 v2; // x21 _QWORD *v3; // x20 const char *v4; // x0 size_t v5; // x0 size_t v6; // x19 const char *v7; // x1 size_t v8; // x0 bool v9; // cc const char *v10; // x1 const char *v12; // x0 size_t v13; // x0 size_t v14; // x19 const char *v15; // x1 size_t v16; // x0 const char *v17; // x0 v2 = *a1; v3 = (_QWORD *)*a2; v4 = *(const char **)(*a1 + 24); if ( !v4 ) { v7 = (const char *)v3[3]; v6 = 0; if ( !v7 ) goto LABEL_9; goto LABEL_3; } v5 = strlen(v4); v6 = v5; v7 = (const char *)v3[3]; if ( v7 ) { LABEL_3: v8 = strlen(v7); v9 = v8 > v6; if ( v8 != v6 ) goto LABEL_4; goto LABEL_9; } LODWORD(v10) = -1; if ( v5 ) return (unsigned int)v10; LABEL_9: v12 = *(const char **)(v2 + 40); if ( !v12 ) { v15 = (const char *)v3[5]; v14 = 0; if ( !v15 ) goto LABEL_12; goto LABEL_11; } v13 = strlen(v12); v14 = v13; v15 = (const char *)v3[5]; if ( v15 ) { LABEL_11: v16 = strlen(v15); v9 = v16 > v14; if ( v16 != v14 ) { LABEL_4: if ( v9 ) LODWORD(v10) = 1; else LODWORD(v10) = -1; return (unsigned int)v10; } goto LABEL_12; } LODWORD(v10) = -1; if ( v13 ) return (unsigned int)v10; LABEL_12: v17 = *(const char **)(v2 + 8); if ( !v17 ) { LODWORD(v10) = 0; return (unsigned int)v10; } v10 = (const char *)v3[1]; if ( !v10 ) return (unsigned int)v10; return strcmp(v17, v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source