// // BN_mod_add_quick from 0x870294 to 0x8702dc (72 bytes) // // 19 xrefs: // > ossl_ecdsa_sign_sig @ 0x7ee330 // > ec_GFp_simple_set_compressed_coordinates @ 0x7f2388 // > ec_GFp_simple_set_compressed_coordinates @ 0x7f23d0 // > ec_GFp_simple_set_compressed_coordinates @ 0x7f24fc // > ec_GFp_simple_set_compressed_coordinates @ 0x7f2560 // > ec_GFp_simple_dbl @ 0x7f39b8 // > ec_GFp_simple_dbl @ 0x7f3a30 // > ec_GFp_simple_dbl @ 0x7f3c28 // > ec_GFp_simple_dbl @ 0x7f3c44 // > ec_GFp_simple_dbl @ 0x7f3c64 // > ec_GFp_simple_dbl @ 0x7f3cd8 // > ec_GFp_simple_add @ 0x7f463c // > ec_GFp_simple_add @ 0x7f4658 // > ec_GFp_simple_is_on_curve @ 0x7f49f0 // > ec_GFp_simple_is_on_curve @ 0x7f4a30 // > ec_GFp_simple_is_on_curve @ 0x7f4ac8 // > ec_GFp_simple_is_on_curve @ 0x7f4b48 // > ec_GFp_simple_is_on_curve @ 0x7f4bbc // > @ 0x61c8c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall BN_mod_add_quick(int *a1, int *a2, int *a3, int *a4) { int result; // r0 result = BN_uadd(a1, a2, a3, a4); if ( result ) { if ( BN_ucmp(a1, a4) < 0 ) return 1; else return BN_usub(a1, a1, a4); } return result; }