// // sub_180082B50 from 0x180082b50 to 0x180082cb7 (359 bytes) // // 3 xrefs: // > sub_180082B50 @ 0x180082bd8 // > sub_180082EF0 @ 0x180083330 // > @ 0x1801b5430 // // 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 // char *__fastcall sub_180082B50(__int64 a1, __int64 a2, unsigned __int8 a3, char a4) { char *result; // rax char v6; // dl char v9; // cl __int64 v10; // rax char v11; // cl char v12; // cl char *v13; // rdx char v14; // cl char v15; // cl result = (char *)(a2 + 1); v6 = *(_BYTE *)(a2 + 1); if ( v6 ) { do { switch ( v6 ) { case '<': if ( result[1] != 33 || (v9 = result[2], v9 == 45) ) { v11 = result[1]; if ( v11 == 63 ) { v12 = result[2]; result += 2; if ( !v12 ) goto LABEL_11; while ( 1 ) { v13 = result++; if ( v12 == 63 && *result == 62 ) break; v12 = *result; if ( !*result ) goto LABEL_11; } result = v13 + 2; } else { if ( v11 != 33 ) goto LABEL_11; if ( result[2] != 45 ) goto LABEL_11; if ( result[3] != 45 ) goto LABEL_11; v14 = result[4]; result += 4; if ( !v14 ) goto LABEL_11; while ( v14 != 45 || result[1] != 45 || result[2] != 62 ) { v14 = *++result; if ( !v14 ) goto LABEL_11; } result += 4; } goto LABEL_7; } if ( v9 == 91 ) { result = (char *)sub_180082CC0(a1, result); LABEL_7: if ( !result ) return nullptr; break; } v10 = sub_180082B50(a1, result, a3, 0); if ( !v10 ) return nullptr; result = (char *)(v10 + 1); break; case '"': case '\'': v15 = *++result; if ( !v15 ) goto LABEL_11; while ( 1 ) { ++result; if ( v15 == v6 ) goto LABEL_7; v15 = *result; if ( !*result ) goto LABEL_11; } case '>': return result; default: ++result; break; } v6 = *result; } while ( *result ); } if ( !a4 || a3 != 62 ) { LABEL_11: *(_DWORD *)(a1 + 24) = 9; *(_QWORD *)(a1 + 16) = result; return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source