// // sub_1005C3B2C from 0x1005c3b2c to 0x1005c3cd4 (424 bytes) // // 1 xrefs: // > @ 0x10083a028 // // 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 sub_1005C3B2C(__int64 a1, char *__s1, char *a3) { __int64 v6; // x4 __int64 v7; // x2 __int64 v8; // x3 __int64 v9; // x8 __int64 v10; // x0 __int64 v12; // x8 __int64 v13; // x5 __int64 v14; // x2 __int64 v15; // x4 if ( !strcmp(__s1, "ec_paramgen_curve") ) { v9 = sub_1005BD51C(a3); if ( (_DWORD)v9 || (v9 = sub_10058B268(a3), (_DWORD)v9) || (v9 = sub_10058B36C(a3), (_DWORD)v9) ) { v7 = 6; v8 = 4097; v10 = a1; v6 = v9; LABEL_19: v13 = 0; return sub_1005EC7FC(v10, 408, v7, v8, v6, v13); } v14 = 141; v15 = 422; } else { if ( !strcmp(__s1, "ec_param_enc") ) { if ( !strcmp(a3, "explicit") ) { v6 = 0; } else { if ( strcmp(a3, "named_curve") ) return 4294967294LL; v6 = 1; } v7 = 6; v8 = 4098; goto LABEL_18; } if ( strcmp(__s1, "ecdh_kdf_md") ) { if ( !strcmp(__s1, "ecdh_cofactor_mode") ) { v6 = atoi(a3); v7 = 1024; v8 = 4099; LABEL_18: v10 = a1; goto LABEL_19; } return 4294967294LL; } v12 = sub_1005E8060(a3); if ( v12 ) { v7 = 1024; v8 = 4101; v10 = a1; v6 = 0; v13 = v12; return sub_1005EC7FC(v10, 408, v7, v8, v6, v13); } v14 = 151; v15 = 438; } sub_1005E0E48(16, 198, v14, "ec_pmeth.c", v15); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source