// // sub_1006FB02C from 0x1006fb02c to 0x1006fb16c (320 bytes) // // 2 xrefs: // > @ 0x1009beba0 // > @ 0x1009bec70 // // 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:45 +0000 // __int64 __fastcall sub_1006FB02C(__int64 a1, char *__s1, const char *a3) { __int64 v7; // x4 __int64 v8; // x3 unsigned int v9; // w0 if ( !strcmp(__s1, "dh_paramgen_prime_len") ) { v7 = atoi(a3); v8 = 4097; return sub_100712964(a1, 28, 2, v8, v7, 0); } if ( strcmp(__s1, "dh_rfc5114") ) { if ( !strcmp(__s1, "dh_paramgen_generator") ) { v7 = atoi(a3); v8 = 4098; } else if ( !strcmp(__s1, "dh_paramgen_subprime_len") ) { v7 = atoi(a3); v8 = 4100; } else { if ( strcmp(__s1, "dh_paramgen_type") ) return 4294967294LL; v7 = atoi(a3); v8 = 4101; } return sub_100712964(a1, 28, 2, v8, v7, 0); } v9 = atoi(a3); if ( v9 > 3 ) return 4294967294LL; *(_DWORD *)(*(_QWORD *)(a1 + 40) + 24LL) = v9; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source