// // sub_1006FE384 from 0x1006fe384 to 0x1006fe578 (500 bytes) // // 1 xrefs: // > sub_1006FE2F4 @ 0x1006fe310 // // 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 11:12:46 +0000 // __int64 __fastcall sub_1006FE384(char *__s1, int a2, int *a3) { size_t v5; // x21 int v7; // w8 if ( !__s1 ) return 0; v5 = a2; if ( !strncmp(__s1, "ALL", a2) ) { v7 = *a3 | 0xFFFF; } else if ( !strncmp(__s1, "RSA", v5) ) { v7 = *a3 | 1; } else if ( !strncmp(__s1, "DSA", v5) ) { v7 = *a3 | 2; } else if ( !strncmp(__s1, "ECDH", v5) ) { v7 = *a3 | 0x10; } else if ( !strncmp(__s1, "ECDSA", v5) ) { v7 = *a3 | 0x20; } else if ( !strncmp(__s1, "DH", v5) ) { v7 = *a3 | 4; } else if ( !strncmp(__s1, "RAND", v5) ) { v7 = *a3 | 8; } else if ( !strncmp(__s1, "CIPHERS", v5) ) { v7 = *a3 | 0x40; } else if ( !strncmp(__s1, "DIGESTS", v5) ) { v7 = *a3 | 0x80; } else if ( !strncmp(__s1, "PKEY", v5) ) { v7 = *a3 | 0x600; } else if ( !strncmp(__s1, "PKEY_CRYPTO", v5) ) { v7 = *a3 | 0x200; } else { if ( strncmp(__s1, "PKEY_ASN1", v5) ) return 0; v7 = *a3 | 0x400; } *a3 = v7; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source