// // srp_verify_server_param from 0x9ca918 to 0x9ca9cc (180 bytes) // // 2 xrefs: // > tls_process_key_exchange @ 0x9b824c // > @ 0x76ccc // // 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 srp_verify_server_param(_DWORD *a1, _DWORD *a2) { int is_zero; // r5 int (__fastcall *v6)(_DWORD *, _DWORD); // r3 if ( BN_ucmp(a1[128], a1[127]) < 0 && BN_ucmp(a1[130], a1[127]) < 0 ) { is_zero = BN_is_zero(a1[130]); if ( !is_zero ) { if ( BN_num_bits(a1[127]) >= a1[136] ) { v6 = (int (__fastcall *)(_DWORD *, _DWORD))a1[124]; if ( v6 ) { if ( v6(a1, a1[122]) > 0 ) return 1; } else if ( SRP_check_known_gN_param(a1[128], a1[127]) ) { return 1; } } *a2 = 71; return is_zero; } } is_zero = 0; *a2 = 47; return is_zero; }
GD Web Decomp Icon

GD Web Decomp

Raw Source