{"type": "func", "start": 10480240, "end": 10480344, "name": "EC_KEY_METHOD_new", "pseudocode": "// \n// EC_KEY_METHOD_new from 0x9fea70 to 0x9fead8 (104 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x7b35c\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:37 +0000\n// \n\n_DWORD *__fastcall EC_KEY_METHOD_new(_DWORD *a1)\n{\n  _DWORD *result; // r0\n  int v3; // r1\n  int v4; // r2\n  int v5; // r3\n  int v6; // r1\n  int v7; // r2\n  int v8; // r3\n  int v9; // r1\n  int v10; // r2\n  int v11; // r3\n  int v12; // r1\n  int v13; // r2\n\n  result = (_DWORD *)CRYPTO_zalloc(60, \"crypto/ec/ec_kmeth.c\", 157);\n  if ( result )\n  {\n    if ( a1 )\n    {\n      v3 = a1[1];\n      v4 = a1[2];\n      v5 = a1[3];\n      *result = *a1;\n      result[1] = v3;\n      result[2] = v4;\n      result[3] = v5;\n      v6 = a1[5];\n      v7 = a1[6];\n      v8 = a1[7];\n      result[4] = a1[4];\n      result[5] = v6;\n      result[6] = v7;\n      result[7] = v8;\n      v9 = a1[9];\n      v10 = a1[10];\n      v11 = a1[11];\n      result[8] = a1[8];\n      result[9] = v9;\n      result[10] = v10;\n      result[11] = v11;\n      v12 = a1[13];\n      v13 = a1[14];\n      result[12] = a1[12];\n      result[13] = v12;\n      result[14] = v13;\n    }\n    result[1] |= 1u;\n  }\n  return result;\n}", "assembly": "; \n; EC_KEY_METHOD_new from 0x9fea70 to 0x9fead8 (104 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x7b35c\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:37 +0000\n; \nLDR             R1, =(aCryptoEcEcKmet - 0x9FEA80); \"crypto/ec/ec_kmeth.c\" ; +0x0, 0x9fea70\nPUSH            {R3-R5,LR}                                             ; +0x4, 0x9fea74\nADD             R1, PC, R1; \"crypto/ec/ec_kmeth.c\"                     ; +0x8, 0x9fea78\nMOV             R4, R0                                                 ; +0xc, 0x9fea7c\nMOV             R2, #0x9D                                              ; +0x10, 0x9fea80\nMOV             R0, #0x3C ; '<'                                        ; +0x14, 0x9fea84\nBL              CRYPTO_zalloc                                          ; +0x18, 0x9fea88\nSUBS            R5, R0, #0                                             ; +0x1c, 0x9fea8c\nBEQ             loc_9FEAD0                                             ; +0x20, 0x9fea90\nCMP             R4, #0                                                 ; +0x24, 0x9fea94\nBEQ             loc_9FEAC4                                             ; +0x28, 0x9fea98\nMOV             R12, R4                                                ; +0x2c, 0x9fea9c\nLDM             R12!, {R0-R3}                                          ; +0x30, 0x9feaa0\nMOV             LR, R5                                                 ; +0x34, 0x9feaa4\nSTM             LR!, {R0-R3}                                           ; +0x38, 0x9feaa8\nLDM             R12!, {R0-R3}                                          ; +0x3c, 0x9feaac\nSTM             LR!, {R0-R3}                                           ; +0x40, 0x9feab0\nLDM             R12!, {R0-R3}                                          ; +0x44, 0x9feab4\nSTM             LR!, {R0-R3}                                           ; +0x48, 0x9feab8\nLDM             R12, {R0-R2}                                           ; +0x4c, 0x9feabc\nSTM             LR, {R0-R2}                                            ; +0x50, 0x9feac0\nLDR             R3, [R5,#4]                                            ; +0x54, 0x9feac4\nORR             R3, R3, #1                                             ; +0x58, 0x9feac8\nSTR             R3, [R5,#4]                                            ; +0x5c, 0x9feacc\nMOV             R0, R5                                                 ; +0x60, 0x9fead0\nPOP             {R3-R5,PC}                                             ; +0x64, 0x9fead4", "xrefs": ["<???> @ 0x7b35c"], "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"}