{"type": "func", "start": 10501168, "end": 10501260, "name": "ECDSA_do_sign_ex", "pseudocode": "// \n// ECDSA_do_sign_ex from 0xa03c30 to 0xa03c8c (92 bytes)\n// \n// 3 xrefs:\n// > ossl_ecdsa_sign @ 0xa02604\n// > ECDSA_do_sign @ 0xa03ca4\n// > <???> @ 0x7b6cc\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:07:39 +0000\n// \n\nint __fastcall ECDSA_do_sign_ex(int a1, int a2, int a3, int a4, int a5)\n{\n  int (*v5)(void); // r12\n\n  v5 = *(int (**)(void))(*(_DWORD *)a5 + 48);\n  if ( v5 )\n    return v5();\n  ERR_put_error(16, 251, 152, \"crypto/ec/ecdsa_sign.c\", 25);\n  return 0;\n}", "assembly": "; \n; ECDSA_do_sign_ex from 0xa03c30 to 0xa03c8c (92 bytes)\n; \n; 3 xrefs:\n; > ossl_ecdsa_sign @ 0xa02604\n; > ECDSA_do_sign @ 0xa03ca4\n; > <???> @ 0x7b6cc\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:07:39 +0000\n; \nPUSH            {LR}                                                   ; +0x0, 0xa03c30\nSUB             SP, SP, #0x14                                          ; +0x4, 0xa03c34\nLDR             LR, [SP,#0x14+arg_0]                                   ; +0x8, 0xa03c38\nLDR             R12, [LR]                                              ; +0xc, 0xa03c3c\nLDR             R12, [R12,#0x30]                                       ; +0x10, 0xa03c40\nCMP             R12, #0                                                ; +0x14, 0xa03c44\nBEQ             loc_A03C58                                             ; +0x18, 0xa03c48\nADD             SP, SP, #0x14                                          ; +0x1c, 0xa03c4c\nPOP             {LR}                                                   ; +0x20, 0xa03c50\nBX              R12                                                    ; +0x24, 0xa03c54\nMOV             R3, #0x19                                              ; +0x28, 0xa03c58\nSTR             R3, [SP,#0x14+var_14]                                  ; +0x2c, 0xa03c5c\nLDR             R3, =(aCryptoEcEcdsaS - 0xA03C78); \"crypto/ec/ecdsa_sign.c\" ; +0x30, 0xa03c60\nMOV             R0, #0x10                                              ; +0x34, 0xa03c64\nMOV             R1, #0xFB                                              ; +0x38, 0xa03c68\nMOV             R2, #0x98                                              ; +0x3c, 0xa03c6c\nADD             R3, PC, R3; \"crypto/ec/ecdsa_sign.c\"                   ; +0x40, 0xa03c70\nSTR             R12, [SP,#0x14+var_8]                                  ; +0x44, 0xa03c74\nBL              ERR_put_error                                          ; +0x48, 0xa03c78\nLDR             R12, [SP,#0x14+var_8]                                  ; +0x4c, 0xa03c7c\nMOV             R0, R12                                                ; +0x50, 0xa03c80\nADD             SP, SP, #0x14                                          ; +0x54, 0xa03c84\nPOP             {PC}                                                   ; +0x58, 0xa03c88", "xrefs": ["ossl_ecdsa_sign @ 0xa02604", "ECDSA_do_sign @ 0xa03ca4", "<???> @ 0x7b6cc"], "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"}