{"type": "func", "start": 8319024, "end": 8319116, "name": "ECDSA_do_sign_ex", "pseudocode": "// \n// ECDSA_do_sign_ex from 0x7ef030 to 0x7ef08c (92 bytes)\n// \n// 3 xrefs:\n// > ossl_ecdsa_sign @ 0x7eda04\n// > ECDSA_do_sign @ 0x7ef0a4\n// > <???> @ 0x61c4c\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 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 0x7ef030 to 0x7ef08c (92 bytes)\n; \n; 3 xrefs:\n; > ossl_ecdsa_sign @ 0x7eda04\n; > ECDSA_do_sign @ 0x7ef0a4\n; > <???> @ 0x61c4c\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\nPUSH            {LR}                                                   ; +0x0, 0x7ef030\nSUB             SP, SP, #0x14                                          ; +0x4, 0x7ef034\nLDR             LR, [SP,#0x14+arg_0]                                   ; +0x8, 0x7ef038\nLDR             R12, [LR]                                              ; +0xc, 0x7ef03c\nLDR             R12, [R12,#0x30]                                       ; +0x10, 0x7ef040\nCMP             R12, #0                                                ; +0x14, 0x7ef044\nBEQ             loc_7EF058                                             ; +0x18, 0x7ef048\nADD             SP, SP, #0x14                                          ; +0x1c, 0x7ef04c\nPOP             {LR}                                                   ; +0x20, 0x7ef050\nBX              R12                                                    ; +0x24, 0x7ef054\nMOV             R3, #0x19                                              ; +0x28, 0x7ef058\nSTR             R3, [SP,#0x14+var_14]                                  ; +0x2c, 0x7ef05c\nLDR             R3, =(aCryptoEcEcdsaS - 0x7EF078); \"crypto/ec/ecdsa_sign.c\" ; +0x30, 0x7ef060\nMOV             R0, #0x10                                              ; +0x34, 0x7ef064\nMOV             R1, #0xFB                                              ; +0x38, 0x7ef068\nMOV             R2, #0x98                                              ; +0x3c, 0x7ef06c\nADD             R3, PC, R3; \"crypto/ec/ecdsa_sign.c\"                   ; +0x40, 0x7ef070\nSTR             R12, [SP,#0x14+var_8]                                  ; +0x44, 0x7ef074\nBL              ERR_put_error                                          ; +0x48, 0x7ef078\nLDR             R12, [SP,#0x14+var_8]                                  ; +0x4c, 0x7ef07c\nMOV             R0, R12                                                ; +0x50, 0x7ef080\nADD             SP, SP, #0x14                                          ; +0x54, 0x7ef084\nPOP             {PC}                                                   ; +0x58, 0x7ef088", "xrefs": ["ossl_ecdsa_sign @ 0x7eda04", "ECDSA_do_sign @ 0x7ef0a4", "<???> @ 0x61c4c"], "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"}