// // SRP_Calc_server_key from 0x105c898 to 0x105c9c0 (296 bytes) // // 2 xrefs: // > srp_generate_server_master_secret @ 0xfdabe0 // > @ 0xe33f8 // // 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 13:16:48 +0000 // __int64 __fastcall SRP_Calc_server_key(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5) { __int64 v10; // x24 __int64 v11; // x0 _BYTE *v12; // x25 __int64 v13; // x2 __int64 v14; // x20 __int64 v16; // x0 __int64 v17; // x0 if ( !a3 || !a1 || a2 == 0 || a4 == 0 || !a5 ) return 0; v10 = BN_CTX_new(a1, a2, a3); if ( v10 && (v11 = BN_new(), (v12 = (_BYTE *)v11) != nullptr) ) { v13 = a3; v14 = 0; if ( (unsigned int)BN_mod_exp(v11, a2, v13, a5, v10) ) { if ( (unsigned int)BN_mod_mul(v12, a1, v12, a5, v10) ) { v16 = BN_new(); v14 = v16; if ( v16 ) { if ( !(unsigned int)BN_mod_exp(v16, v12, a4, a5, v10) ) { v17 = v14; v14 = 0; BN_free(v17); } } } } } else { v14 = 0; v12 = nullptr; } BN_CTX_free(v10); BN_clear_free(v12); return v14; }
GD Web Decomp Icon

GD Web Decomp

Raw Source