{"type": "func", "start": 8319832, "end": 8321448, "name": "ECPKParameters_print", "pseudocode": "// \n// ECPKParameters_print from 0x7ef358 to 0x7ef9a8 (1616 bytes)\n// \n// 7 xrefs:\n// > sub_7E506C @ 0x7e5144\n// > sub_7E51A0 @ 0x7e5300\n// > sub_7E5364 @ 0x7e54f8\n// > EC_KEY_print @ 0x7e57a0\n// > ECParameters_print @ 0x7e5900\n// > ECPKParameters_print_fp @ 0x7efa48\n// > <???> @ 0x611ec\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 ECPKParameters_print(int a1, _DWORD *a2, int a3)\n{\n  int v6; // r5\n  int v7; // r0\n  int v8; // r4\n  int v9; // r8\n  int v10; // r7\n  int v11; // r11\n  int v12; // r2\n  int v13; // r6\n  int v15; // r0\n  int field_type; // r4\n  int curve_GF2m; // r0\n  int curve_name; // r0\n  const char *v19; // r0\n  char *v20; // r1\n  int v21; // r0\n  void *v22; // r0\n  unsigned int v23; // r6\n  int v24; // r2\n  bool v25; // zf\n  const char *v26; // r0\n  char *v27; // r6\n  int basis_type; // r6\n  const char *v29; // r0\n  int v30; // [sp+Ch] [bp-A0h]\n  int v31; // [sp+Ch] [bp-A0h]\n  _BOOL4 v32; // [sp+10h] [bp-9Ch]\n  void *v33; // [sp+14h] [bp-98h]\n  int v34; // [sp+18h] [bp-94h]\n  int point_conversion_form; // [sp+1Ch] [bp-90h]\n  int v36; // [sp+20h] [bp-8Ch]\n  int seed_len; // [sp+24h] [bp-88h]\n  _BYTE v38[132]; // [sp+28h] [bp-84h] BYREF\n\n  if ( !a2 )\n  {\n    v8 = 0;\n    v9 = 0;\n    v10 = 0;\n    v11 = 0;\n    v6 = 0;\n    v12 = 67;\n    goto LABEL_7;\n  }\n  v6 = BN_CTX_new();\n  if ( !v6 )\n  {\n    v8 = 0;\n    v9 = 0;\n    v10 = 0;\n    v11 = 0;\n    v12 = 65;\n    goto LABEL_7;\n  }\n  if ( !EC_GROUP_get_asn1_flag((int)a2) )\n  {\n    v15 = EC_GROUP_method_of((int)a2);\n    field_type = EC_METHOD_get_field_type(v15);\n    v30 = field_type;\n    v11 = BN_new();\n    if ( !v11 )\n    {\n      v8 = 0;\n      v9 = 0;\n      v10 = 0;\n      v12 = 65;\n      goto LABEL_7;\n    }\n    v10 = BN_new();\n    if ( !v10 )\n    {\n      v8 = 0;\n      v9 = 0;\n      v12 = 65;\n      goto LABEL_7;\n    }\n    v9 = BN_new();\n    if ( !v9 )\n    {\n      v8 = 0;\n      v12 = 65;\n      goto LABEL_7;\n    }\n    v32 = field_type == 407;\n    if ( field_type == 407 )\n    {\n      curve_GF2m = EC_GROUP_get_curve_GF2m((int)a2);\n      if ( !curve_GF2m )\n      {\nLABEL_15:\n        v8 = curve_GF2m;\n        v12 = 16;\n        goto LABEL_7;\n      }\n    }\n    else\n    {\n      curve_GF2m = EC_GROUP_get_curve_GFp((int)a2);\n      if ( !curve_GF2m )\n        goto LABEL_15;\n    }\n    v8 = EC_GROUP_get0_generator((int)a2);\n    if ( !v8 )\n      goto LABEL_56;\n    v33 = (void *)EC_GROUP_get0_order((int)a2);\n    v34 = EC_GROUP_get0_cofactor((int)a2);\n    if ( !v33 )\n    {\n      v8 = 0;\n      v12 = 16;\n      goto LABEL_7;\n    }\n    point_conversion_form = EC_GROUP_get_point_conversion_form((int)a2);\n    v8 = EC_POINT_point2bn(a2, v8, point_conversion_form, 0, v6);\n    if ( !v8 )\n    {\nLABEL_56:\n      v12 = 16;\n      goto LABEL_7;\n    }\n    v36 = EC_GROUP_get0_seed((int)a2);\n    if ( v36 )\n      seed_len = EC_GROUP_get_seed_len((int)a2);\n    else\n      seed_len = 0;\n    if ( !BIO_indent(a1, a3, 128) )\n      goto LABEL_19;\n    v19 = (const char *)OBJ_nid2sn(v30);\n    if ( BIO_printf(a1, \"Field Type: %s\\n\", v19) <= 0 )\n      goto LABEL_19;\n    if ( v32 )\n    {\n      basis_type = EC_GROUP_get_basis_type(a2);\n      if ( !basis_type )\n        goto LABEL_19;\n      if ( !BIO_indent(a1, a3, 128) )\n        goto LABEL_19;\n      v29 = (const char *)OBJ_nid2sn(basis_type);\n      if ( BIO_printf(a1, \"Basis Type: %s\\n\", v29) <= 0 || !ASN1_bn_print(a1, \"Polynomial:\", v11, 0, a3) )\n        goto LABEL_19;\n    }\n    else if ( !ASN1_bn_print(a1, \"Prime:\", v11, 0, a3) )\n    {\n      goto LABEL_19;\n    }\n    if ( !ASN1_bn_print(a1, \"A:   \", v10, 0, a3) || !ASN1_bn_print(a1, \"B:   \", v9, 0, a3) )\n      goto LABEL_19;\n    if ( point_conversion_form == 2 )\n    {\n      v21 = ASN1_bn_print(a1, \"Generator (compressed):\", v8, 0, a3);\n    }\n    else\n    {\n      v20 = point_conversion_form == 4 ? \"Generator (uncompressed):\" : \"Generator (hybrid):\";\n      v21 = ASN1_bn_print(a1, v20, v8, 0, a3);\n    }\n    if ( !v21 || !ASN1_bn_print(a1, \"Order: \", v33, 0, a3) || v34 && !ASN1_bn_print(a1, \"Cofactor: \", v34, 0, a3) )\n      goto LABEL_19;\n    if ( !v36 )\n      goto LABEL_75;\n    if ( a3 <= 0 )\n    {\n      a3 = 0;\n    }\n    else\n    {\n      if ( a3 >= 128 )\n        a3 = 128;\n      v22 = memset(v38, 32, a3);\n      if ( BIO_write(a1, (int)v22, a3) <= 0 )\n        goto LABEL_19;\n    }\n    if ( BIO_printf(a1, \"%s\", \"Seed:\") > 0 )\n    {\n      if ( seed_len )\n      {\n        v31 = v36 - 1;\n        v23 = 0;\n        while ( 1 )\n        {\n          v25 = v23 == 15 * (v23 / 0xF);\n          ++v23;\n          if ( v25 )\n          {\n            v38[0] = 10;\n            memset(&v38[1], 32, a3 + 4);\n            if ( BIO_write(a1, (int)v38, a3 + 5) <= 0 )\n              goto LABEL_19;\n          }\n          v24 = *(unsigned __int8 *)++v31;\n          if ( v23 == seed_len )\n          {\n            if ( BIO_printf(a1, \"%02x%s\", v24, &byte_9B1912) <= 0 )\n              goto LABEL_19;\n            break;\n          }\n          if ( BIO_printf(a1, \"%02x%s\", v24, &unk_9B1F30) <= 0 )\n            goto LABEL_19;\n        }\n      }\n      if ( BIO_write(a1, (int)\"\\n\", 1) > 0 )\n      {\nLABEL_75:\n        v13 = 1;\n        goto LABEL_8;\n      }\n    }\nLABEL_19:\n    v12 = 32;\n    goto LABEL_7;\n  }\n  v7 = BIO_indent(a1, a3, 128);\n  if ( v7 )\n  {\n    curve_name = EC_GROUP_get_curve_name((int)a2);\n    v8 = curve_name;\n    if ( curve_name )\n    {\n      v26 = (const char *)OBJ_nid2sn(curve_name);\n      if ( BIO_printf(a1, \"ASN1 OID: %s\", v26) > 0 && BIO_printf(a1, \"\\n\") > 0 )\n      {\n        v27 = EC_curve_nid2nist(v8);\n        if ( !v27 )\n          goto LABEL_62;\n        v7 = BIO_indent(a1, a3, 128);\n        if ( !v7 )\n          goto LABEL_5;\n        if ( BIO_printf(a1, \"NIST CURVE: %s\\n\", v27) > 0 )\n        {\nLABEL_62:\n          v8 = 0;\n          v9 = 0;\n          v10 = 0;\n          v11 = 0;\n          v13 = 1;\n          goto LABEL_8;\n        }\n      }\n      v8 = 0;\n    }\n    v9 = 0;\n    v10 = 0;\n    v11 = 0;\n    goto LABEL_19;\n  }\nLABEL_5:\n  v8 = v7;\n  v9 = v7;\n  v10 = v7;\n  v11 = v7;\n  v12 = 32;\nLABEL_7:\n  ERR_put_error(16, 149, v12, \"crypto/ec/eck_prn.c\", 228);\n  v13 = 0;\nLABEL_8:\n  BN_free(v11);\n  BN_free(v10);\n  BN_free(v9);\n  BN_free(v8);\n  BN_CTX_free(v6);\n  return v13;\n}", "assembly": "; \n; ECPKParameters_print from 0x7ef358 to 0x7ef9a8 (1616 bytes)\n; \n; 7 xrefs:\n; > sub_7E506C @ 0x7e5144\n; > sub_7E51A0 @ 0x7e5300\n; > sub_7E5364 @ 0x7e54f8\n; > EC_KEY_print @ 0x7e57a0\n; > ECParameters_print @ 0x7e5900\n; > ECPKParameters_print_fp @ 0x7efa48\n; > <???> @ 0x611ec\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            {R4-R11,LR}                                            ; +0x0, 0x7ef358\nSUBS            R6, R1, #0                                             ; +0x4, 0x7ef35c\nSUB             SP, SP, #0xAC                                          ; +0x8, 0x7ef360\nBEQ             loc_7EF424                                             ; +0xc, 0x7ef364\nMOV             R9, R0                                                 ; +0x10, 0x7ef368\nMOV             R10, R2                                                ; +0x14, 0x7ef36c\nBL              BN_CTX_new                                             ; +0x18, 0x7ef370\nSUBS            R5, R0, #0                                             ; +0x1c, 0x7ef374\nBEQ             loc_7EF3BC                                             ; +0x20, 0x7ef378\nMOV             R0, R6                                                 ; +0x24, 0x7ef37c\nBL              EC_GROUP_get_asn1_flag                                 ; +0x28, 0x7ef380\nCMP             R0, #0                                                 ; +0x2c, 0x7ef384\nBEQ             loc_7EF440                                             ; +0x30, 0x7ef388\nMOV             R0, R9                                                 ; +0x34, 0x7ef38c\nMOV             R1, R10                                                ; +0x38, 0x7ef390\nMOV             R2, #0x80                                              ; +0x3c, 0x7ef394\nBL              BIO_indent                                             ; +0x40, 0x7ef398\nCMP             R0, #0                                                 ; +0x44, 0x7ef39c\nBNE             loc_7EF4D4                                             ; +0x48, 0x7ef3a0\nMOV             R4, R0                                                 ; +0x4c, 0x7ef3a4\nMOV             R8, R0                                                 ; +0x50, 0x7ef3a8\nMOV             R7, R0                                                 ; +0x54, 0x7ef3ac\nMOV             R11, R0                                                ; +0x58, 0x7ef3b0\nMOV             R2, #0x20 ; ' '                                        ; +0x5c, 0x7ef3b4\nB               loc_7EF3D0                                             ; +0x60, 0x7ef3b8\nMOV             R4, R5                                                 ; +0x64, 0x7ef3bc\nMOV             R8, R5                                                 ; +0x68, 0x7ef3c0\nMOV             R7, R5                                                 ; +0x6c, 0x7ef3c4\nMOV             R11, R5                                                ; +0x70, 0x7ef3c8\nMOV             R2, #0x41 ; 'A'                                        ; +0x74, 0x7ef3cc\nMOV             R3, #0xE4                                              ; +0x78, 0x7ef3d0\nSTR             R3, [SP,#0xAC+var_AC]                                  ; +0x7c, 0x7ef3d4\nLDR             R3, =(aCryptoEcEckPrn - 0x7EF3EC); \"crypto/ec/eck_prn.c\" ; +0x80, 0x7ef3d8\nMOV             R0, #0x10                                              ; +0x84, 0x7ef3dc\nMOV             R1, #0x95                                              ; +0x88, 0x7ef3e0\nADD             R3, PC, R3; \"crypto/ec/eck_prn.c\"                      ; +0x8c, 0x7ef3e4\nBL              ERR_put_error                                          ; +0x90, 0x7ef3e8\nMOV             R6, #0                                                 ; +0x94, 0x7ef3ec\nMOV             R0, R11                                                ; +0x98, 0x7ef3f0\nBL              BN_free                                                ; +0x9c, 0x7ef3f4\nMOV             R0, R7                                                 ; +0xa0, 0x7ef3f8\nBL              BN_free                                                ; +0xa4, 0x7ef3fc\nMOV             R0, R8                                                 ; +0xa8, 0x7ef400\nBL              BN_free                                                ; +0xac, 0x7ef404\nMOV             R0, R4                                                 ; +0xb0, 0x7ef408\nBL              BN_free                                                ; +0xb4, 0x7ef40c\nMOV             R0, R5                                                 ; +0xb8, 0x7ef410\nBL              BN_CTX_free                                            ; +0xbc, 0x7ef414\nMOV             R0, R6                                                 ; +0xc0, 0x7ef418\nADD             SP, SP, #0xAC                                          ; +0xc4, 0x7ef41c\nPOP             {R4-R11,PC}                                            ; +0xc8, 0x7ef420\nMOV             R4, R6                                                 ; +0xcc, 0x7ef424\nMOV             R8, R6                                                 ; +0xd0, 0x7ef428\nMOV             R7, R6                                                 ; +0xd4, 0x7ef42c\nMOV             R11, R6                                                ; +0xd8, 0x7ef430\nMOV             R5, R6                                                 ; +0xdc, 0x7ef434\nMOV             R2, #0x43 ; 'C'                                        ; +0xe0, 0x7ef438\nB               loc_7EF3D0                                             ; +0xe4, 0x7ef43c\nMOV             R0, R6                                                 ; +0xe8, 0x7ef440\nBL              EC_GROUP_method_of                                     ; +0xec, 0x7ef444\nBL              EC_METHOD_get_field_type                               ; +0xf0, 0x7ef448\nMOV             R4, R0                                                 ; +0xf4, 0x7ef44c\nSTR             R0, [SP,#0xAC+var_A0]                                  ; +0xf8, 0x7ef450\nBL              BN_new                                                 ; +0xfc, 0x7ef454\nSUBS            R11, R0, #0                                            ; +0x100, 0x7ef458\nBEQ             loc_7EF4C0                                             ; +0x104, 0x7ef45c\nBL              BN_new                                                 ; +0x108, 0x7ef460\nSUBS            R7, R0, #0                                             ; +0x10c, 0x7ef464\nBEQ             loc_7EF7FC                                             ; +0x110, 0x7ef468\nBL              BN_new                                                 ; +0x114, 0x7ef46c\nSUBS            R8, R0, #0                                             ; +0x118, 0x7ef470\nBEQ             loc_7EF8A8                                             ; +0x11c, 0x7ef474\nLDR             R3, =0x197                                             ; +0x120, 0x7ef478\nSTR             R5, [SP,#0xAC+var_AC]                                  ; +0x124, 0x7ef47c\nRSB             R3, R3, R4                                             ; +0x128, 0x7ef480\nCLZ             R3, R3                                                 ; +0x12c, 0x7ef484\nMOV             R3, R3,LSR#5                                           ; +0x130, 0x7ef488\nCMP             R3, #0                                                 ; +0x134, 0x7ef48c\nSTR             R3, [SP,#0xAC+var_9C]                                  ; +0x138, 0x7ef490\nMOV             R0, R6                                                 ; +0x13c, 0x7ef494\nMOV             R1, R11                                                ; +0x140, 0x7ef498\nMOV             R2, R7                                                 ; +0x144, 0x7ef49c\nMOV             R3, R8                                                 ; +0x148, 0x7ef4a0\nBEQ             loc_7EF4F8                                             ; +0x14c, 0x7ef4a4\nBL              EC_GROUP_get_curve_GF2m                                ; +0x150, 0x7ef4a8\nCMP             R0, #0                                                 ; +0x154, 0x7ef4ac\nBNE             loc_7EF504                                             ; +0x158, 0x7ef4b0\nMOV             R4, R0                                                 ; +0x15c, 0x7ef4b4\nMOV             R2, #0x10                                              ; +0x160, 0x7ef4b8\nB               loc_7EF3D0                                             ; +0x164, 0x7ef4bc\nMOV             R4, R11                                                ; +0x168, 0x7ef4c0\nMOV             R8, R11                                                ; +0x16c, 0x7ef4c4\nMOV             R7, R11                                                ; +0x170, 0x7ef4c8\nMOV             R2, #0x41 ; 'A'                                        ; +0x174, 0x7ef4cc\nB               loc_7EF3D0                                             ; +0x178, 0x7ef4d0\nMOV             R0, R6                                                 ; +0x17c, 0x7ef4d4\nBL              EC_GROUP_get_curve_name                                ; +0x180, 0x7ef4d8\nSUBS            R4, R0, #0                                             ; +0x184, 0x7ef4dc\nBNE             loc_7EF814                                             ; +0x188, 0x7ef4e0\nMOV             R8, R4                                                 ; +0x18c, 0x7ef4e4\nMOV             R7, R4                                                 ; +0x190, 0x7ef4e8\nMOV             R11, R4                                                ; +0x194, 0x7ef4ec\nMOV             R2, #0x20 ; ' '                                        ; +0x198, 0x7ef4f0\nB               loc_7EF3D0                                             ; +0x19c, 0x7ef4f4\nBL              EC_GROUP_get_curve_GFp                                 ; +0x1a0, 0x7ef4f8\nCMP             R0, #0                                                 ; +0x1a4, 0x7ef4fc\nBEQ             loc_7EF4B4                                             ; +0x1a8, 0x7ef500\nMOV             R0, R6                                                 ; +0x1ac, 0x7ef504\nBL              EC_GROUP_get0_generator                                ; +0x1b0, 0x7ef508\nSUBS            R4, R0, #0                                             ; +0x1b4, 0x7ef50c\nBEQ             loc_7EF80C                                             ; +0x1b8, 0x7ef510\nMOV             R0, R6                                                 ; +0x1bc, 0x7ef514\nBL              EC_GROUP_get0_order                                    ; +0x1c0, 0x7ef518\nSTR             R0, [SP,#0xAC+var_98]                                  ; +0x1c4, 0x7ef51c\nMOV             R0, R6                                                 ; +0x1c8, 0x7ef520\nBL              EC_GROUP_get0_cofactor                                 ; +0x1cc, 0x7ef524\nLDR             R3, [SP,#0xAC+var_98]                                  ; +0x1d0, 0x7ef528\nCMP             R3, #0                                                 ; +0x1d4, 0x7ef52c\nSTR             R0, [SP,#0xAC+var_94]                                  ; +0x1d8, 0x7ef530\nBEQ             loc_7EF8BC                                             ; +0x1dc, 0x7ef534\nMOV             R0, R6                                                 ; +0x1e0, 0x7ef538\nBL              EC_GROUP_get_point_conversion_form                     ; +0x1e4, 0x7ef53c\nMOV             R1, R4                                                 ; +0x1e8, 0x7ef540\nSTR             R5, [SP,#0xAC+var_AC]                                  ; +0x1ec, 0x7ef544\nMOV             R3, #0                                                 ; +0x1f0, 0x7ef548\nMOV             R2, R0                                                 ; +0x1f4, 0x7ef54c\nSTR             R0, [SP,#0xAC+var_90]                                  ; +0x1f8, 0x7ef550\nMOV             R0, R6                                                 ; +0x1fc, 0x7ef554\nBL              EC_POINT_point2bn                                      ; +0x200, 0x7ef558\nSUBS            R4, R0, #0                                             ; +0x204, 0x7ef55c\nBEQ             loc_7EF80C                                             ; +0x208, 0x7ef560\nMOV             R0, R6                                                 ; +0x20c, 0x7ef564\nBL              EC_GROUP_get0_seed                                     ; +0x210, 0x7ef568\nSUBS            R3, R0, #0                                             ; +0x214, 0x7ef56c\nSTR             R3, [SP,#0xAC+var_8C]                                  ; +0x218, 0x7ef570\nSTREQ           R3, [SP,#0xAC+var_88]                                  ; +0x21c, 0x7ef574\nBEQ             loc_7EF588                                             ; +0x220, 0x7ef578\nMOV             R0, R6                                                 ; +0x224, 0x7ef57c\nBL              EC_GROUP_get_seed_len                                  ; +0x228, 0x7ef580\nSTR             R0, [SP,#0xAC+var_88]                                  ; +0x22c, 0x7ef584\nMOV             R0, R9                                                 ; +0x230, 0x7ef588\nMOV             R1, R10                                                ; +0x234, 0x7ef58c\nMOV             R2, #0x80                                              ; +0x238, 0x7ef590\nBL              BIO_indent                                             ; +0x23c, 0x7ef594\nCMP             R0, #0                                                 ; +0x240, 0x7ef598\nBEQ             loc_7EF4F0                                             ; +0x244, 0x7ef59c\nLDR             R0, [SP,#0xAC+var_A0]                                  ; +0x248, 0x7ef5a0\nBL              OBJ_nid2sn                                             ; +0x24c, 0x7ef5a4\nLDR             R1, =(aFieldTypeS - 0x7EF5B4); \"Field Type: %s\\n\"      ; +0x250, 0x7ef5a8\nADD             R1, PC, R1; \"Field Type: %s\\n\"                         ; +0x254, 0x7ef5ac\nMOV             R2, R0                                                 ; +0x258, 0x7ef5b0\nMOV             R0, R9                                                 ; +0x25c, 0x7ef5b4\nBL              BIO_printf                                             ; +0x260, 0x7ef5b8\nCMP             R0, #0                                                 ; +0x264, 0x7ef5bc\nBLE             loc_7EF4F0                                             ; +0x268, 0x7ef5c0\nLDR             R3, [SP,#0xAC+var_9C]                                  ; +0x26c, 0x7ef5c4\nCMP             R3, #0                                                 ; +0x270, 0x7ef5c8\nBNE             loc_7EF8C8                                             ; +0x274, 0x7ef5cc\nLDR             R1, =(aPrime_0 - 0x7EF5E4); \"Prime:\"                   ; +0x278, 0x7ef5d0\nSTR             R10, [SP,#0xAC+var_AC]                                 ; +0x27c, 0x7ef5d4\nMOV             R0, R9                                                 ; +0x280, 0x7ef5d8\nADD             R1, PC, R1; \"Prime:\"                                   ; +0x284, 0x7ef5dc\nMOV             R2, R11                                                ; +0x288, 0x7ef5e0\nBL              ASN1_bn_print                                          ; +0x28c, 0x7ef5e4\nCMP             R0, #0                                                 ; +0x290, 0x7ef5e8\nBEQ             loc_7EF4F0                                             ; +0x294, 0x7ef5ec\nLDR             R1, =(aA_1 - 0x7EF604); \"A:   \"                        ; +0x298, 0x7ef5f0\nSTR             R10, [SP,#0xAC+var_AC]                                 ; +0x29c, 0x7ef5f4\nMOV             R0, R9                                                 ; +0x2a0, 0x7ef5f8\nADD             R1, PC, R1; \"A:   \"                                    ; +0x2a4, 0x7ef5fc\nMOV             R2, R7                                                 ; +0x2a8, 0x7ef600\nMOV             R3, #0                                                 ; +0x2ac, 0x7ef604\nBL              ASN1_bn_print                                          ; +0x2b0, 0x7ef608\nCMP             R0, #0                                                 ; +0x2b4, 0x7ef60c\nBEQ             loc_7EF4F0                                             ; +0x2b8, 0x7ef610\nLDR             R1, =(aB_2 - 0x7EF628); \"B:   \"                        ; +0x2bc, 0x7ef614\nSTR             R10, [SP,#0xAC+var_AC]                                 ; +0x2c0, 0x7ef618\nMOV             R0, R9                                                 ; +0x2c4, 0x7ef61c\nADD             R1, PC, R1; \"B:   \"                                    ; +0x2c8, 0x7ef620\nMOV             R2, R8                                                 ; +0x2cc, 0x7ef624\nMOV             R3, #0                                                 ; +0x2d0, 0x7ef628\nBL              ASN1_bn_print                                          ; +0x2d4, 0x7ef62c\nCMP             R0, #0                                                 ; +0x2d8, 0x7ef630\nBEQ             loc_7EF4F0                                             ; +0x2dc, 0x7ef634\nLDR             R3, [SP,#0xAC+var_90]                                  ; +0x2e0, 0x7ef638\nCMP             R3, #2                                                 ; +0x2e4, 0x7ef63c\nBEQ             loc_7EF93C                                             ; +0x2e8, 0x7ef640\nLDR             R3, [SP,#0xAC+var_90]                                  ; +0x2ec, 0x7ef644\nSTR             R10, [SP,#0xAC+var_AC]                                 ; +0x2f0, 0x7ef648\nCMP             R3, #4                                                 ; +0x2f4, 0x7ef64c\nMOV             R0, R9                                                 ; +0x2f8, 0x7ef650\nBEQ             loc_7EF950                                             ; +0x2fc, 0x7ef654\nLDR             R1, =(aGeneratorHybri - 0x7EF664); \"Generator (hybrid):\" ; +0x300, 0x7ef658\nADD             R1, PC, R1; \"Generator (hybrid):\"                      ; +0x304, 0x7ef65c\nMOV             R2, R4                                                 ; +0x308, 0x7ef660\nMOV             R3, #0                                                 ; +0x30c, 0x7ef664\nBL              ASN1_bn_print                                          ; +0x310, 0x7ef668\nCMP             R0, #0                                                 ; +0x314, 0x7ef66c\nBEQ             loc_7EF4F0                                             ; +0x318, 0x7ef670\nLDR             R1, =(aOrder_1 - 0x7EF68C); \"Order: \"                  ; +0x31c, 0x7ef674\nSTR             R10, [SP,#0xAC+var_AC]                                 ; +0x320, 0x7ef678\nLDR             R2, [SP,#0xAC+var_98]                                  ; +0x324, 0x7ef67c\nMOV             R0, R9                                                 ; +0x328, 0x7ef680\nADD             R1, PC, R1; \"Order: \"                                  ; +0x32c, 0x7ef684\nMOV             R3, #0                                                 ; +0x330, 0x7ef688\nBL              ASN1_bn_print                                          ; +0x334, 0x7ef68c\nCMP             R0, #0                                                 ; +0x338, 0x7ef690\nBEQ             loc_7EF4F0                                             ; +0x33c, 0x7ef694\nLDR             R3, [SP,#0xAC+var_94]                                  ; +0x340, 0x7ef698\nCMP             R3, #0                                                 ; +0x344, 0x7ef69c\nBEQ             loc_7EF6C8                                             ; +0x348, 0x7ef6a0\nLDR             R1, =(aCofactor - 0x7EF6BC); \"Cofactor: \"              ; +0x34c, 0x7ef6a4\nMOV             R2, R3                                                 ; +0x350, 0x7ef6a8\nSTR             R10, [SP,#0xAC+var_AC]                                 ; +0x354, 0x7ef6ac\nMOV             R0, R9                                                 ; +0x358, 0x7ef6b0\nADD             R1, PC, R1; \"Cofactor: \"                               ; +0x35c, 0x7ef6b4\nMOV             R3, #0                                                 ; +0x360, 0x7ef6b8\nBL              ASN1_bn_print                                          ; +0x364, 0x7ef6bc\nCMP             R0, #0                                                 ; +0x368, 0x7ef6c0\nBEQ             loc_7EF4F0                                             ; +0x36c, 0x7ef6c4\nLDR             R3, [SP,#0xAC+var_8C]                                  ; +0x370, 0x7ef6c8\nCMP             R3, #0                                                 ; +0x374, 0x7ef6cc\nBEQ             loc_7EF998                                             ; +0x378, 0x7ef6d0\nCMP             R10, #0                                                ; +0x37c, 0x7ef6d4\nBLE             loc_7EF9A0                                             ; +0x380, 0x7ef6d8\nCMP             R10, #0x80                                             ; +0x384, 0x7ef6dc\nMOVGE           R10, #0x80                                             ; +0x388, 0x7ef6e0\nADD             R3, SP, #0xAC+var_84                                   ; +0x38c, 0x7ef6e4\nMOV             R2, R10; size_t                                        ; +0x390, 0x7ef6e8\nMOV             R0, R3; void *                                         ; +0x394, 0x7ef6ec\nMOV             R1, #0x20 ; ' '; int                                   ; +0x398, 0x7ef6f0\nBL              memset                                                 ; +0x39c, 0x7ef6f4\nMOV             R2, R10                                                ; +0x3a0, 0x7ef6f8\nMOV             R3, R0                                                 ; +0x3a4, 0x7ef6fc\nMOV             R1, R3                                                 ; +0x3a8, 0x7ef700\nMOV             R0, R9                                                 ; +0x3ac, 0x7ef704\nBL              BIO_write                                              ; +0x3b0, 0x7ef708\nCMP             R0, #0                                                 ; +0x3b4, 0x7ef70c\nBLE             loc_7EF4F0                                             ; +0x3b8, 0x7ef710\nLDR             R1, =(aS_37 - 0x7EF728); \"%s\"                          ; +0x3bc, 0x7ef714\nLDR             R2, =(aSeed_0 - 0x7EF72C); \"Seed:\"                     ; +0x3c0, 0x7ef718\nMOV             R0, R9                                                 ; +0x3c4, 0x7ef71c\nADD             R1, PC, R1; \"%s\"                                       ; +0x3c8, 0x7ef720\nADD             R2, PC, R2; \"Seed:\"                                    ; +0x3cc, 0x7ef724\nBL              BIO_printf                                             ; +0x3d0, 0x7ef728\nCMP             R0, #0                                                 ; +0x3d4, 0x7ef72c\nBLE             loc_7EF4F0                                             ; +0x3d8, 0x7ef730\nLDR             R3, [SP,#0xAC+var_88]                                  ; +0x3dc, 0x7ef734\nCMP             R3, #0                                                 ; +0x3e0, 0x7ef738\nBEQ             loc_7EF97C                                             ; +0x3e4, 0x7ef73c\nLDR             R2, =(a02xS - 0x7EF750); \"%02x%s\"                      ; +0x3e8, 0x7ef740\nADD             R3, SP, #0xAC+var_84                                   ; +0x3ec, 0x7ef744\nADD             R2, PC, R2; \"%02x%s\"                                   ; +0x3f0, 0x7ef748\nSTR             R2, [SP,#0xAC+var_94]                                  ; +0x3f4, 0x7ef74c\nLDR             R2, =(unk_9B1F30 - 0x7EF760)                           ; +0x3f8, 0x7ef750\nSTR             R3, [SP,#0xAC+var_9C]                                  ; +0x3fc, 0x7ef754\nADD             R2, PC, R2; unk_9B1F30                                 ; +0x400, 0x7ef758\nSTR             R2, [SP,#0xAC+var_90]                                  ; +0x404, 0x7ef75c\nLDR             R2, [SP,#0xAC+var_8C]                                  ; +0x408, 0x7ef760\nADD             R3, SP, #0xAC+var_83                                   ; +0x40c, 0x7ef764\nSUB             R2, R2, #1                                             ; +0x410, 0x7ef768\nSTR             R2, [SP,#0xAC+var_A0]                                  ; +0x414, 0x7ef76c\nSTR             R3, [SP,#0xAC+var_98]                                  ; +0x418, 0x7ef770\nMOV             R6, #0                                                 ; +0x41c, 0x7ef774\nB               loc_7EF7AC                                             ; +0x420, 0x7ef778\nLDR             R2, [SP,#0xAC+var_88]                                  ; +0x424, 0x7ef77c\nLDR             R12, [SP,#0xAC+var_A0]                                 ; +0x428, 0x7ef780\nCMP             R6, R2                                                 ; +0x42c, 0x7ef784\nLDRB            R2, [R12,#1]!                                          ; +0x430, 0x7ef788\nMOV             R0, R9                                                 ; +0x434, 0x7ef78c\nLDR             R1, [SP,#0xAC+var_94]                                  ; +0x438, 0x7ef790\nLDR             R3, [SP,#0xAC+var_90]                                  ; +0x43c, 0x7ef794\nSTR             R12, [SP,#0xAC+var_A0]                                 ; +0x440, 0x7ef798\nBEQ             loc_7EF95C                                             ; +0x444, 0x7ef79c\nBL              BIO_printf                                             ; +0x448, 0x7ef7a0\nCMP             R0, #0                                                 ; +0x44c, 0x7ef7a4\nBLE             loc_7EF4F0                                             ; +0x450, 0x7ef7a8\nLDR             R3, =0x88888889                                        ; +0x454, 0x7ef7ac\nUMULL           R2, R3, R6, R3                                         ; +0x458, 0x7ef7b0\nMOV             R3, R3,LSR#3                                           ; +0x45c, 0x7ef7b4\nRSB             R3, R3, R3,LSL#4                                       ; +0x460, 0x7ef7b8\nCMP             R6, R3                                                 ; +0x464, 0x7ef7bc\nADD             R6, R6, #1                                             ; +0x468, 0x7ef7c0\nBNE             loc_7EF77C                                             ; +0x46c, 0x7ef7c4\nMOV             R3, #0xA                                               ; +0x470, 0x7ef7c8\nMOV             R1, #0x20 ; ' '; int                                   ; +0x474, 0x7ef7cc\nADD             R2, R10, #4; size_t                                    ; +0x478, 0x7ef7d0\nLDR             R0, [SP,#0xAC+var_98]; void *                          ; +0x47c, 0x7ef7d4\nSTRB            R3, [SP,#0xAC+var_84]                                  ; +0x480, 0x7ef7d8\nBL              memset                                                 ; +0x484, 0x7ef7dc\nMOV             R0, R9                                                 ; +0x488, 0x7ef7e0\nLDR             R1, [SP,#0xAC+var_9C]                                  ; +0x48c, 0x7ef7e4\nADD             R2, R10, #5                                            ; +0x490, 0x7ef7e8\nBL              BIO_write                                              ; +0x494, 0x7ef7ec\nCMP             R0, #0                                                 ; +0x498, 0x7ef7f0\nBGT             loc_7EF77C                                             ; +0x49c, 0x7ef7f4\nB               loc_7EF4F0                                             ; +0x4a0, 0x7ef7f8\nMOV             R4, R7                                                 ; +0x4a4, 0x7ef7fc\nMOV             R8, R7                                                 ; +0x4a8, 0x7ef800\nMOV             R2, #0x41 ; 'A'                                        ; +0x4ac, 0x7ef804\nB               loc_7EF3D0                                             ; +0x4b0, 0x7ef808\nMOV             R2, #0x10                                              ; +0x4b4, 0x7ef80c\nB               loc_7EF3D0                                             ; +0x4b8, 0x7ef810\nBL              OBJ_nid2sn                                             ; +0x4bc, 0x7ef814\nLDR             R1, =(aAsn1OidS - 0x7EF824); \"ASN1 OID: %s\"            ; +0x4c0, 0x7ef818\nADD             R1, PC, R1; \"ASN1 OID: %s\"                             ; +0x4c4, 0x7ef81c\nMOV             R2, R0                                                 ; +0x4c8, 0x7ef820\nMOV             R0, R9                                                 ; +0x4cc, 0x7ef824\nBL              BIO_printf                                             ; +0x4d0, 0x7ef828\nCMP             R0, #0                                                 ; +0x4d4, 0x7ef82c\nBLE             loc_7EF8B4                                             ; +0x4d8, 0x7ef830\nLDR             R1, =(asc_9B1D44 - 0x7EF844); \"\\n\"                     ; +0x4dc, 0x7ef834\nMOV             R0, R9                                                 ; +0x4e0, 0x7ef838\nADD             R1, PC, R1; \"\\n\"                                       ; +0x4e4, 0x7ef83c\nBL              BIO_printf                                             ; +0x4e8, 0x7ef840\nCMP             R0, #0                                                 ; +0x4ec, 0x7ef844\nBLE             loc_7EF8B4                                             ; +0x4f0, 0x7ef848\nMOV             R0, R4                                                 ; +0x4f4, 0x7ef84c\nBL              EC_curve_nid2nist                                      ; +0x4f8, 0x7ef850\nSUBS            R6, R0, #0                                             ; +0x4fc, 0x7ef854\nBEQ             loc_7EF890                                             ; +0x500, 0x7ef858\nMOV             R1, R10                                                ; +0x504, 0x7ef85c\nMOV             R0, R9                                                 ; +0x508, 0x7ef860\nMOV             R2, #0x80                                              ; +0x50c, 0x7ef864\nBL              BIO_indent                                             ; +0x510, 0x7ef868\nCMP             R0, #0                                                 ; +0x514, 0x7ef86c\nBEQ             loc_7EF3A4                                             ; +0x518, 0x7ef870\nLDR             R1, =(aNistCurveS - 0x7EF888); \"NIST CURVE: %s\\n\"      ; +0x51c, 0x7ef874\nMOV             R0, R9                                                 ; +0x520, 0x7ef878\nMOV             R2, R6                                                 ; +0x524, 0x7ef87c\nADD             R1, PC, R1; \"NIST CURVE: %s\\n\"                         ; +0x528, 0x7ef880\nBL              BIO_printf                                             ; +0x52c, 0x7ef884\nCMP             R0, #0                                                 ; +0x530, 0x7ef888\nBLE             loc_7EF8B4                                             ; +0x534, 0x7ef88c\nMOV             R4, #0                                                 ; +0x538, 0x7ef890\nMOV             R8, R4                                                 ; +0x53c, 0x7ef894\nMOV             R7, R4                                                 ; +0x540, 0x7ef898\nMOV             R11, R4                                                ; +0x544, 0x7ef89c\nMOV             R6, #1                                                 ; +0x548, 0x7ef8a0\nB               loc_7EF3F0                                             ; +0x54c, 0x7ef8a4\nMOV             R4, R8                                                 ; +0x550, 0x7ef8a8\nMOV             R2, #0x41 ; 'A'                                        ; +0x554, 0x7ef8ac\nB               loc_7EF3D0                                             ; +0x558, 0x7ef8b0\nMOV             R4, #0                                                 ; +0x55c, 0x7ef8b4\nB               loc_7EF4E4                                             ; +0x560, 0x7ef8b8\nMOV             R4, R3                                                 ; +0x564, 0x7ef8bc\nMOV             R2, #0x10                                              ; +0x568, 0x7ef8c0\nB               loc_7EF3D0                                             ; +0x56c, 0x7ef8c4\nMOV             R0, R6                                                 ; +0x570, 0x7ef8c8\nBL              EC_GROUP_get_basis_type                                ; +0x574, 0x7ef8cc\nSUBS            R6, R0, #0                                             ; +0x578, 0x7ef8d0\nBEQ             loc_7EF4F0                                             ; +0x57c, 0x7ef8d4\nMOV             R0, R9                                                 ; +0x580, 0x7ef8d8\nMOV             R1, R10                                                ; +0x584, 0x7ef8dc\nMOV             R2, #0x80                                              ; +0x588, 0x7ef8e0\nBL              BIO_indent                                             ; +0x58c, 0x7ef8e4\nCMP             R0, #0                                                 ; +0x590, 0x7ef8e8\nBEQ             loc_7EF4F0                                             ; +0x594, 0x7ef8ec\nMOV             R0, R6                                                 ; +0x598, 0x7ef8f0\nBL              OBJ_nid2sn                                             ; +0x59c, 0x7ef8f4\nLDR             R1, =(aBasisTypeS - 0x7EF904); \"Basis Type: %s\\n\"      ; +0x5a0, 0x7ef8f8\nADD             R1, PC, R1; \"Basis Type: %s\\n\"                         ; +0x5a4, 0x7ef8fc\nMOV             R2, R0                                                 ; +0x5a8, 0x7ef900\nMOV             R0, R9                                                 ; +0x5ac, 0x7ef904\nBL              BIO_printf                                             ; +0x5b0, 0x7ef908\nCMP             R0, #0                                                 ; +0x5b4, 0x7ef90c\nBLE             loc_7EF4F0                                             ; +0x5b8, 0x7ef910\nLDR             R1, =(aPolynomial - 0x7EF928); \"Polynomial:\"           ; +0x5bc, 0x7ef914\nSTR             R10, [SP,#0xAC+var_AC]                                 ; +0x5c0, 0x7ef918\nMOV             R0, R9                                                 ; +0x5c4, 0x7ef91c\nADD             R1, PC, R1; \"Polynomial:\"                              ; +0x5c8, 0x7ef920\nMOV             R2, R11                                                ; +0x5cc, 0x7ef924\nMOV             R3, #0                                                 ; +0x5d0, 0x7ef928\nBL              ASN1_bn_print                                          ; +0x5d4, 0x7ef92c\nCMP             R0, #0                                                 ; +0x5d8, 0x7ef930\nBEQ             loc_7EF4F0                                             ; +0x5dc, 0x7ef934\nB               loc_7EF5F0                                             ; +0x5e0, 0x7ef938\nLDR             R1, =(aGeneratorCompr - 0x7EF950); \"Generator (compressed):\" ; +0x5e4, 0x7ef93c\nSTR             R10, [SP,#0xAC+var_AC]                                 ; +0x5e8, 0x7ef940\nMOV             R0, R9                                                 ; +0x5ec, 0x7ef944\nADD             R1, PC, R1; \"Generator (compressed):\"                  ; +0x5f0, 0x7ef948\nB               loc_7EF660                                             ; +0x5f4, 0x7ef94c\nLDR             R1, =(aGeneratorUncom - 0x7EF95C); \"Generator (uncompressed):\" ; +0x5f8, 0x7ef950\nADD             R1, PC, R1; \"Generator (uncompressed):\"                ; +0x5fc, 0x7ef954\nB               loc_7EF660                                             ; +0x600, 0x7ef958\nLDR             R1, =(a02xS - 0x7EF970); \"%02x%s\"                      ; +0x604, 0x7ef95c\nLDR             R3, =(byte_9B1912 - 0x7EF974)                          ; +0x608, 0x7ef960\nMOV             R0, R9                                                 ; +0x60c, 0x7ef964\nADD             R1, PC, R1; \"%02x%s\"                                   ; +0x610, 0x7ef968\nADD             R3, PC, R3; byte_9B1912                                ; +0x614, 0x7ef96c\nBL              BIO_printf                                             ; +0x618, 0x7ef970\nCMP             R0, #0                                                 ; +0x61c, 0x7ef974\nBLE             loc_7EF4F0                                             ; +0x620, 0x7ef978\nLDR             R1, =(asc_9B1D44 - 0x7EF98C); \"\\n\"                     ; +0x624, 0x7ef97c\nMOV             R0, R9                                                 ; +0x628, 0x7ef980\nADD             R1, PC, R1; \"\\n\"                                       ; +0x62c, 0x7ef984\nMOV             R2, #1                                                 ; +0x630, 0x7ef988\nBL              BIO_write                                              ; +0x634, 0x7ef98c\nCMP             R0, #0                                                 ; +0x638, 0x7ef990\nBLE             loc_7EF4F0                                             ; +0x63c, 0x7ef994\nMOV             R6, #1                                                 ; +0x640, 0x7ef998\nB               loc_7EF3F0                                             ; +0x644, 0x7ef99c\nMOV             R10, #0                                                ; +0x648, 0x7ef9a0\nB               loc_7EF714                                             ; +0x64c, 0x7ef9a4", "xrefs": ["sub_7E506C @ 0x7e5144", "sub_7E51A0 @ 0x7e5300", "sub_7E5364 @ 0x7e54f8", "EC_KEY_print @ 0x7e57a0", "ECParameters_print @ 0x7e5900", "ECPKParameters_print_fp @ 0x7efa48", "<???> @ 0x611ec"], "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"}