// // sub_E2B71C from 0xe2b71c to 0xe2b824 (264 bytes) // // 1 xrefs: // > sub_E2DA90 @ 0xe2e244 // // 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:51 +0000 // __int64 __fastcall sub_E2B71C(__int64 a1, _QWORD *a2, _BYTE *a3, __int64 a4, unsigned int a5, __int64 a6) { unsigned int v8; // w20 v8 = 0; if ( a5 > 7 ) { while ( memcmp((const void *)(a4 + v8 + 1), "http/1.1", 8u) ) { v8 += *(unsigned __int8 *)(a4 + v8) + 1; if ( a5 < v8 + 8 ) goto LABEL_6; } *a2 = a4 + v8 + 1; *a3 = *(_BYTE *)(a4 + v8); sub_DF16E0(*(_QWORD *)a6, "NPN, negotiated HTTP1.1\n"); *(_DWORD *)(a6 + 1824) = 2; return 0; } else { LABEL_6: sub_DF16E0(*(_QWORD *)a6, "NPN, no overlap, use HTTP1.1\n"); *a2 = "http/1.1"; *a3 = 8; *(_DWORD *)(a6 + 1824) = 2; return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source