{"type": "func", "start": 8829204, "end": 8829332, "name": "BN_BLINDING_invert_ex", "pseudocode": "// \n// BN_BLINDING_invert_ex from 0x86b914 to 0x86b994 (128 bytes)\n// \n// 4 xrefs:\n// > sub_82E968 @ 0x82eb44\n// > sub_82EE80 @ 0x82efd8\n// > BN_BLINDING_invert @ 0x86b9a4\n// > <???> @ 0x6644c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall BN_BLINDING_invert_ex(int a1, int a2, int a3, int a4)\n{\n  int v5; // r4\n\n  if ( a2 )\n    return BN_mod_mul(a1, a1, a2, *(_DWORD *)(a3 + 12), a4);\n  v5 = *(_DWORD *)(a3 + 4);\n  if ( v5 )\n    return BN_mod_mul(a1, a1, v5, *(_DWORD *)(a3 + 12), a4);\n  ERR_put_error(3, 101, 107, (int)\"crypto/bn/bn_blind.c\", 174);\n  return 0;\n}", "assembly": "; \n; BN_BLINDING_invert_ex from 0x86b914 to 0x86b994 (128 bytes)\n; \n; 4 xrefs:\n; > sub_82E968 @ 0x82eb44\n; > sub_82EE80 @ 0x82efd8\n; > BN_BLINDING_invert @ 0x86b9a4\n; > <???> @ 0x6644c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUBS            R12, R1, #0                                            ; +0x0, 0x86b914\nPUSH            {R4,LR}                                                ; +0x4, 0x86b918\nMOV             R1, R0                                                 ; +0x8, 0x86b91c\nSUB             SP, SP, #8                                             ; +0xc, 0x86b920\nBEQ             loc_86B944                                             ; +0x10, 0x86b924\nLDR             R2, [R2,#0xC]                                          ; +0x14, 0x86b928\nSTR             R3, [SP,#8+var_8]                                      ; +0x18, 0x86b92c\nMOV             R3, R2                                                 ; +0x1c, 0x86b930\nMOV             R2, R12                                                ; +0x20, 0x86b934\nBL              BN_mod_mul                                             ; +0x24, 0x86b938\nADD             SP, SP, #8                                             ; +0x28, 0x86b93c\nPOP             {R4,PC}                                                ; +0x2c, 0x86b940\nLDR             R4, [R2,#4]                                            ; +0x30, 0x86b944\nCMP             R4, #0                                                 ; +0x34, 0x86b948\nBEQ             loc_86B96C                                             ; +0x38, 0x86b94c\nLDR             R2, [R2,#0xC]                                          ; +0x3c, 0x86b950\nSTR             R3, [SP,#8+var_8]                                      ; +0x40, 0x86b954\nMOV             R3, R2                                                 ; +0x44, 0x86b958\nMOV             R2, R4                                                 ; +0x48, 0x86b95c\nBL              BN_mod_mul                                             ; +0x4c, 0x86b960\nADD             SP, SP, #8                                             ; +0x50, 0x86b964\nPOP             {R4,PC}                                                ; +0x54, 0x86b968\nMOV             R3, #0xAE                                              ; +0x58, 0x86b96c\nSTR             R3, [SP,#8+var_8]                                      ; +0x5c, 0x86b970\nLDR             R3, =(aCryptoBnBnBlin - 0x86B98C); \"crypto/bn/bn_blind.c\" ; +0x60, 0x86b974\nMOV             R0, #3                                                 ; +0x64, 0x86b978\nMOV             R1, #0x65 ; 'e'                                        ; +0x68, 0x86b97c\nMOV             R2, #0x6B ; 'k'                                        ; +0x6c, 0x86b980\nADD             R3, PC, R3; \"crypto/bn/bn_blind.c\"                     ; +0x70, 0x86b984\nBL              ERR_put_error                                          ; +0x74, 0x86b988\nMOV             R0, R4                                                 ; +0x78, 0x86b98c\nB               loc_86B93C                                             ; +0x7c, 0x86b990", "xrefs": ["sub_82E968 @ 0x82eb44", "sub_82EE80 @ 0x82efd8", "BN_BLINDING_invert @ 0x86b9a4", "<???> @ 0x6644c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}