// // custom_ext_parse from 0xd54678 to 0xd54750 (216 bytes) // // 3 xrefs: // > ssl_parse_serverhello_tlsext @ 0xd57458 // > sub_D59610 @ 0xd59e70 // > @ 0x7d190 // // 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 custom_ext_parse(__int64 a1, int a2, int a3, __int64 a4, __int64 a5, _DWORD *a6) { __int64 v6; // x6 unsigned __int16 **v7; // x6 unsigned __int16 *v8; // x9 unsigned __int16 *v9; // x6 unsigned __int16 *v10; // x7 int v12; // w7 __int64 (*v13)(void); // x8 v6 = *(_QWORD *)(a1 + 328); if ( a2 ) v7 = (unsigned __int16 **)(v6 + 424); else v7 = (unsigned __int16 **)(v6 + 408); v8 = v7[1]; v9 = *v7; if ( !v8 ) return 1; if ( a3 != *v9 ) { v10 = nullptr; do { v10 = (unsigned __int16 *)((char *)v10 + 1); v9 += 24; if ( v10 == v8 ) return 1; } while ( a3 != *v9 ); } if ( a2 ) { v12 = *((_DWORD *)v9 + 1); if ( (v12 & 1) == 0 ) { LABEL_12: v13 = *((__int64 (**)(void))v9 + 4); *((_DWORD *)v9 + 1) = v12 | 1; if ( v13 ) return v13(); return 1; } goto LABEL_16; } v12 = *((_DWORD *)v9 + 1); if ( (v12 & 2) != 0 ) { if ( (v12 & 1) == 0 ) goto LABEL_12; LABEL_16: *a6 = 50; return 0; } *a6 = 110; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source