{"type": "func", "start": 11011348, "end": 11011476, "name": "BN_BLINDING_invert_ex", "pseudocode": "// \n// BN_BLINDING_invert_ex from 0xa80514 to 0xa80594 (128 bytes)\n// \n// 4 xrefs:\n// > sub_A43568 @ 0xa43744\n// > sub_A43A80 @ 0xa43bd8\n// > BN_BLINDING_invert @ 0xa805a4\n// > <???> @ 0x7fecc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:08:49 +0000\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 0xa80514 to 0xa80594 (128 bytes)\n; \n; 4 xrefs:\n; > sub_A43568 @ 0xa43744\n; > sub_A43A80 @ 0xa43bd8\n; > BN_BLINDING_invert @ 0xa805a4\n; > <???> @ 0x7fecc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:08:49 +0000\n; \nSUBS            R12, R1, #0                                            ; +0x0, 0xa80514\nPUSH            {R4,LR}                                                ; +0x4, 0xa80518\nMOV             R1, R0                                                 ; +0x8, 0xa8051c\nSUB             SP, SP, #8                                             ; +0xc, 0xa80520\nBEQ             loc_A80544                                             ; +0x10, 0xa80524\nLDR             R2, [R2,#0xC]                                          ; +0x14, 0xa80528\nSTR             R3, [SP,#8+var_8]                                      ; +0x18, 0xa8052c\nMOV             R3, R2                                                 ; +0x1c, 0xa80530\nMOV             R2, R12                                                ; +0x20, 0xa80534\nBL              BN_mod_mul                                             ; +0x24, 0xa80538\nADD             SP, SP, #8                                             ; +0x28, 0xa8053c\nPOP             {R4,PC}                                                ; +0x2c, 0xa80540\nLDR             R4, [R2,#4]                                            ; +0x30, 0xa80544\nCMP             R4, #0                                                 ; +0x34, 0xa80548\nBEQ             loc_A8056C                                             ; +0x38, 0xa8054c\nLDR             R2, [R2,#0xC]                                          ; +0x3c, 0xa80550\nSTR             R3, [SP,#8+var_8]                                      ; +0x40, 0xa80554\nMOV             R3, R2                                                 ; +0x44, 0xa80558\nMOV             R2, R4                                                 ; +0x48, 0xa8055c\nBL              BN_mod_mul                                             ; +0x4c, 0xa80560\nADD             SP, SP, #8                                             ; +0x50, 0xa80564\nPOP             {R4,PC}                                                ; +0x54, 0xa80568\nMOV             R3, #0xAE                                              ; +0x58, 0xa8056c\nSTR             R3, [SP,#8+var_8]                                      ; +0x5c, 0xa80570\nLDR             R3, =(aCryptoBnBnBlin - 0xA8058C); \"crypto/bn/bn_blind.c\" ; +0x60, 0xa80574\nMOV             R0, #3                                                 ; +0x64, 0xa80578\nMOV             R1, #0x65 ; 'e'                                        ; +0x68, 0xa8057c\nMOV             R2, #0x6B ; 'k'                                        ; +0x6c, 0xa80580\nADD             R3, PC, R3; \"crypto/bn/bn_blind.c\"                     ; +0x70, 0xa80584\nBL              ERR_put_error                                          ; +0x74, 0xa80588\nMOV             R0, R4                                                 ; +0x78, 0xa8058c\nB               loc_A8053C                                             ; +0x7c, 0xa80590", "xrefs": ["sub_A43568 @ 0xa43744", "sub_A43A80 @ 0xa43bd8", "BN_BLINDING_invert @ 0xa805a4", "<???> @ 0x7fecc"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}