// // BN_mod_add_quick from 0x1097ab0 to 0x1097b10 (96 bytes) // // 19 xrefs: // > ossl_ecdsa_sign_sig @ 0x10131a0 // > ec_GFp_simple_set_compressed_coordinates @ 0x1016a64 // > ec_GFp_simple_set_compressed_coordinates @ 0x1016aa0 // > ec_GFp_simple_set_compressed_coordinates @ 0x1016bac // > ec_GFp_simple_set_compressed_coordinates @ 0x1016c04 // > ec_GFp_simple_dbl @ 0x101802c // > ec_GFp_simple_dbl @ 0x1018094 // > ec_GFp_simple_dbl @ 0x101823c // > ec_GFp_simple_dbl @ 0x1018254 // > ec_GFp_simple_dbl @ 0x1018270 // > ec_GFp_simple_dbl @ 0x10182d4 // > ec_GFp_simple_add @ 0x1018c30 // > ec_GFp_simple_add @ 0x1018c48 // > ec_GFp_simple_is_on_curve @ 0x1018fa0 // > ec_GFp_simple_is_on_curve @ 0x1018fd4 // > ec_GFp_simple_is_on_curve @ 0x1019054 // > ec_GFp_simple_is_on_curve @ 0x10190bc // > ec_GFp_simple_is_on_curve @ 0x1019120 // > @ 0x650b0 // // 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:17:24 +0000 // unsigned __int64 *__fastcall BN_mod_add_quick(unsigned __int64 *a1, __int64 a2, __int64 a3, __int64 *a4) { unsigned __int64 *result; // x0 result = BN_uadd((__int64)a1, a2, a3); if ( (_DWORD)result ) { if ( (BN_ucmp((__int64 *)a1, a4) & 0x80000000) != 0 ) return (_QWORD *)(dword_0 + 1); else return BN_usub(a1, (__int64 *)a1, (__int64)a4); } return result; }