{"type": "func", "start": 16894140, "end": 16894268, "name": "ENGINE_register_pkey_asn1_meths", "pseudocode": "// \n// ENGINE_register_pkey_asn1_meths from 0x101c8bc to 0x101c93c (128 bytes)\n// \n// 2 xrefs:\n// > ENGINE_register_all_pkey_asn1_meths @ 0x101c958\n// > <???> @ 0xeaec8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:16:08 +0000\n// \n\n__int64 __fastcall ENGINE_register_pkey_asn1_meths(__int64 a1)\n{\n  __int64 (*v1)(void); // x4\n  unsigned int v3; // w0\n  bool v4; // cc\n  __int64 v5; // x4\n  __int64 result; // x0\n  __int64 v7; // [xsp+28h] [xbp+28h]\n\n  v1 = *(__int64 (**)(void))(a1 + 80);\n  if ( !v1 )\n    return 1;\n  v3 = v1();\n  v4 = (int)v3 <= 0;\n  v5 = v3;\n  result = 1;\n  if ( !v4 )\n    return engine_table_register(&qword_1566410, sub_101C7E0, a1, v7, v5, 0);\n  return result;\n}", "assembly": "; \n; ENGINE_register_pkey_asn1_meths from 0x101c8bc to 0x101c93c (128 bytes)\n; \n; 2 xrefs:\n; > ENGINE_register_all_pkey_asn1_meths @ 0x101c958\n; > <???> @ 0xeaec8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:16:08 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x101c8bc\nMOV             X29, SP                                                ; +0x4, 0x101c8c0\nLDR             X4, [X0,#0x50]                                         ; +0x8, 0x101c8c4\nSTR             X19, [SP,#0x30+var_20]                                 ; +0xc, 0x101c8c8\nCBZ             X4, loc_101C92C                                        ; +0x10, 0x101c8cc\nMOV             X1, #0                                                 ; +0x14, 0x101c8d0\nADD             X2, X29, #0x30+var_8                                   ; +0x18, 0x101c8d4\nMOV             W3, W1                                                 ; +0x1c, 0x101c8d8\nMOV             X19, X0                                                ; +0x20, 0x101c8dc\nBLR             X4                                                     ; +0x24, 0x101c8e0\nCMP             W0, WZR                                                ; +0x28, 0x101c8e4\nMOV             W4, W0                                                 ; +0x2c, 0x101c8e8\nMOV             W0, #1                                                 ; +0x30, 0x101c8ec\nB.GT            loc_101C900                                            ; +0x34, 0x101c8f0\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x38, 0x101c8f4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x3c, 0x101c8f8\nRET                                                                    ; +0x40, 0x101c8fc\nLDR             X3, [X29,#0x30+var_8]                                  ; +0x44, 0x101c900\nADRP            X0, #qword_1566410@PAGE                                ; +0x48, 0x101c904\nADRP            X1, #sub_101C7E0@PAGE                                  ; +0x4c, 0x101c908\nMOV             X2, X19                                                ; +0x50, 0x101c90c\nADD             X1, X1, #sub_101C7E0@PAGEOFF                           ; +0x54, 0x101c910\nMOV             W5, #0                                                 ; +0x58, 0x101c914\nADD             X0, X0, #qword_1566410@PAGEOFF                         ; +0x5c, 0x101c918\nBL              engine_table_register                                  ; +0x60, 0x101c91c\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x64, 0x101c920\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x68, 0x101c924\nRET                                                                    ; +0x6c, 0x101c928\nMOV             W0, #1                                                 ; +0x70, 0x101c92c\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x74, 0x101c930\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x78, 0x101c934\nRET                                                                    ; +0x7c, 0x101c938", "xrefs": ["ENGINE_register_all_pkey_asn1_meths @ 0x101c958", "<???> @ 0xeaec8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}