// // sub_1006E9C94 from 0x1006e9c94 to 0x1006e9e3c (424 bytes) // // 1 xrefs: // > @ 0x1009bd698 // // 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:37 +0000 // __int64 __fastcall sub_1006E9C94(__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_1006E3684(a3); if ( (_DWORD)v9 || (v9 = sub_1006B13D0(a3), (_DWORD)v9) || (v9 = sub_1006B14D4(a3), (_DWORD)v9) ) { v7 = 6; v8 = 4097; v10 = a1; v6 = v9; LABEL_19: v13 = 0; return sub_100712964(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_10070E1C8(a3); if ( v12 ) { v7 = 1024; v8 = 4101; v10 = a1; v6 = 0; v13 = v12; return sub_100712964(v10, 408, v7, v8, v6, v13); } v14 = 151; v15 = 438; } sub_100706FB0(16, 198, v14, "ec_pmeth.c", v15); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source