// // BN_nnmod from 0xe196e8 to 0xe19760 (120 bytes) // // 29 xrefs: // > ossl_ecdsa_sign_setup @ 0xd94884 // > ossl_ecdsa_sign_sig @ 0xd94ff4 // > ossl_ecdsa_verify_sig @ 0xd958c0 // > sub_D96D88 @ 0xd97b58 // > sub_D96D88 @ 0xd97bb4 // > ec_GFp_simple_set_compressed_coordinates @ 0xd98630 // > ec_GFp_simple_set_Jprojective_coordinates_GFp @ 0xd99770 // > ec_GFp_simple_set_Jprojective_coordinates_GFp @ 0xd997d4 // > ec_GFp_simple_set_Jprojective_coordinates_GFp @ 0xd99814 // > ec_GFp_simple_group_set_curve @ 0xd9a124 // > ec_GFp_simple_group_set_curve @ 0xd9a160 // > SRP_Verify_B_mod_N @ 0xddec5c // > sub_E162E0 @ 0xe163cc // > BN_mod_exp_mont @ 0xe17178 // > BN_mod_exp_simple @ 0xe17ac8 // > int_bn_mod_inverse @ 0xe18860 // > int_bn_mod_inverse @ 0xe18938 // > int_bn_mod_inverse @ 0xe18b70 // > int_bn_mod_inverse @ 0xe18eec // > BN_kronecker @ 0xe19668 // > BN_mod_add @ 0xe197ac // > BN_mod_sub @ 0xe1985c // > BN_mod_mul @ 0xe19918 // > BN_mod_lshift1 @ 0xe19a0c // > BN_mod_lshift @ 0xe19b90 // > BN_mod_sqrt @ 0xe1aed0 // > BN_mod_sqrt @ 0xe1b0e0 // > BN_mod_sqrt @ 0xe1b28c // > @ 0x7b408 // // 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 // __int64 __fastcall BN_nnmod(__int64 a1, __int64 a2, __int64 a3, int32x2_t *a4) { __int64 result; // x0 result = BN_div(0, a1, a2, a3, a4); if ( (_DWORD)result ) { result = 1; if ( *(_DWORD *)(a1 + 16) ) { if ( *(_DWORD *)(a3 + 16) ) return BN_sub(a1, a1, a3); else return (__int64)BN_add(a1, a1, a3); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source