{"type": "func", "start": 16894328, "end": 16894468, "name": "ENGINE_set_default_pkey_asn1_meths", "pseudocode": "// \n// ENGINE_set_default_pkey_asn1_meths from 0x101c978 to 0x101ca04 (140 bytes)\n// \n// 2 xrefs:\n// > ENGINE_set_default @ 0x101b288\n// > <???> @ 0xcdd20\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_set_default_pkey_asn1_meths(__int64 a1)\n{\n  __int64 (*v1)(void); // x4\n  int v3; // w0\n  __int64 v5; // [xsp+28h] [xbp+28h]\n\n  v1 = *(__int64 (**)(void))(a1 + 80);\n  if ( !v1 )\n    return 1;\n  v3 = v1();\n  if ( v3 > 0 )\n    return (unsigned int)engine_table_register(&qword_1566410, sub_101C7E0, a1, v5, (unsigned int)v3);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_set_default_pkey_asn1_meths from 0x101c978 to 0x101ca04 (140 bytes)\n; \n; 2 xrefs:\n; > ENGINE_set_default @ 0x101b288\n; > <???> @ 0xcdd20\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, 0x101c978\nMOV             X29, SP                                                ; +0x4, 0x101c97c\nLDR             X4, [X0,#0x50]                                         ; +0x8, 0x101c980\nSTR             X19, [SP,#0x30+var_20]                                 ; +0xc, 0x101c984\nCBZ             X4, loc_101C9F0                                        ; +0x10, 0x101c988\nMOV             X1, #0                                                 ; +0x14, 0x101c98c\nADD             X2, X29, #0x30+var_8                                   ; +0x18, 0x101c990\nMOV             W3, W1                                                 ; +0x1c, 0x101c994\nMOV             X19, X0                                                ; +0x20, 0x101c998\nBLR             X4                                                     ; +0x24, 0x101c99c\nCMP             W0, WZR                                                ; +0x28, 0x101c9a0\nMOV             W4, W0                                                 ; +0x2c, 0x101c9a4\nMOV             W5, #1                                                 ; +0x30, 0x101c9a8\nB.GT            loc_101C9C0                                            ; +0x34, 0x101c9ac\nMOV             W0, W5                                                 ; +0x38, 0x101c9b0\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x3c, 0x101c9b4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x40, 0x101c9b8\nRET                                                                    ; +0x44, 0x101c9bc\nLDR             X3, [X29,#0x30+var_8]                                  ; +0x48, 0x101c9c0\nADRP            X0, #qword_1566410@PAGE                                ; +0x4c, 0x101c9c4\nADRP            X1, #sub_101C7E0@PAGE                                  ; +0x50, 0x101c9c8\nMOV             X2, X19                                                ; +0x54, 0x101c9cc\nADD             X1, X1, #sub_101C7E0@PAGEOFF                           ; +0x58, 0x101c9d0\nADD             X0, X0, #qword_1566410@PAGEOFF                         ; +0x5c, 0x101c9d4\nBL              engine_table_register                                  ; +0x60, 0x101c9d8\nMOV             W5, W0                                                 ; +0x64, 0x101c9dc\nMOV             W0, W5                                                 ; +0x68, 0x101c9e0\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x6c, 0x101c9e4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x70, 0x101c9e8\nRET                                                                    ; +0x74, 0x101c9ec\nMOV             W5, #1                                                 ; +0x78, 0x101c9f0\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x7c, 0x101c9f4\nMOV             W0, W5                                                 ; +0x80, 0x101c9f8\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x84, 0x101c9fc\nRET                                                                    ; +0x88, 0x101ca00", "xrefs": ["ENGINE_set_default @ 0x101b288", "<???> @ 0xcdd20"], "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"}