// // custom_ext_parse from 0xfd29cc to 0xfd2aa4 (216 bytes) // // 3 xrefs: // > ssl_parse_serverhello_tlsext @ 0xfd57ac // > sub_FD7964 @ 0xfd81c4 // > @ 0xa6e28 // // 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:15:30 +0000 // __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