// // X509_check_host from 0x10828fc to 0x10829e0 (228 bytes) // // 2 xrefs: // > sub_10687F4 @ 0x1068880 // > @ 0x62518 // // 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:17:11 +0000 // __int64 __fastcall X509_check_host(__int64 a1, const char *a2, unsigned __int64 a3, int a4, _QWORD *a5) { unsigned __int64 v7; // x19 size_t v9; // x0 int v10; // w3 unsigned __int64 v11; // x2 unsigned __int64 v13; // x21 v7 = a3; if ( a2 ) { if ( !a3 ) { v9 = strlen(a2); v7 = v9; v10 = a4; if ( v9 > 1 ) { v11 = v9 - 1; goto LABEL_5; } return sub_1080FE8(a1, a2, v7, v10, 2, a5); } if ( a3 <= 1 ) { if ( !memchr(a2, 0, 1u) ) { v7 = 1; v10 = a4; return sub_1080FE8(a1, a2, v7, v10, 2, a5); } } else { v13 = a3 - 1; if ( !memchr(a2, 0, a3 - 1) ) { v11 = v13; v10 = a4; LABEL_5: if ( !a2[v11] ) v7 = v11; return sub_1080FE8(a1, a2, v7, v10, 2, a5); } } } return 4294967294LL; }
GD Web Decomp Icon

GD Web Decomp

Raw Source