// // SSL_srp_server_param_with_username from 0x9ca3f0 to 0x9ca4c8 (216 bytes) // // 2 xrefs: // > tls_post_process_client_hello @ 0x9be6d8 // > @ 0x76fcc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:07:08 +0000 // int __fastcall SSL_srp_server_param_with_username(_DWORD *a1, _DWORD *a2) { int (__fastcall *v2)(_DWORD *); // r3 int result; // r0 int v6; // r2 int v7; // r0 _BYTE v8[52]; // [sp+0h] [bp-34h] BYREF v2 = (int (__fastcall *)(_DWORD *))a1[123]; *a2 = 115; if ( !v2 || (result = v2(a1)) == 0 ) { v6 = a1[127]; *a2 = 80; if ( v6 && a1[128] && a1[129] && a1[134] && RAND_bytes(v8, 48) > 0 ) { a1[133] = BN_bin2bn(v8, 48, 0); OPENSSL_cleanse(v8, 48); v7 = SRP_Calc_B(a1[133], a1[127], a1[128], a1[134]); a1[130] = v7; if ( v7 ) return 0; else return 2; } else { return 2; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source