// // BN_BLINDING_convert_ex from 0xa80a30 to 0xa80b00 (208 bytes) // // 6 xrefs: // > sub_A43568 @ 0xa438b4 // > sub_A43568 @ 0xa438f4 // > sub_A43A80 @ 0xa43cd8 // > sub_A43A80 @ 0xa43d08 // > BN_BLINDING_convert @ 0xa80b10 // > @ 0x7ff0c // // 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:08:49 +0000 // int __fastcall BN_BLINDING_convert_ex(int a1, int a2, int *a3, int a4) { int v6; // r3 bool v8; // zf int result; // r0 _BOOL4 v11; // r5 if ( !*a3 || !a3[1] ) { ERR_put_error(3, 100, 107, (int)"crypto/bn/bn_blind.c", 137); return 0; } v6 = a3[5]; v8 = v6 == -1; if ( v6 == -1 ) v6 = 0; if ( v8 ) { a3[5] = v6; } else { result = BN_BLINDING_update(a3, a4); if ( !result ) return result; } if ( a2 ) v11 = BN_copy(a2, a3[1]) != 0; else v11 = 1; return BN_mod_mul(a1, a1, *a3, a3[3], a4) && v11; }