{"type": "func", "start": 16838120, "end": 16838216, "name": "EC_KEY_set_method", "pseudocode": "// \n// EC_KEY_set_method from 0x100ede8 to 0x100ee48 (96 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x80068\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:01 +0000\n// \n\n__int64 __fastcall EC_KEY_set_method(_QWORD *a1, __int64 a2)\n{\n  void (*v4)(void); // x1\n  __int64 (__fastcall *v5)(_QWORD *); // x1\n\n  v4 = *(void (**)(void))(*a1 + 24LL);\n  if ( v4 )\n    v4();\n  ENGINE_finish(a1[1]);\n  v5 = *(__int64 (__fastcall **)(_QWORD *))(a2 + 16);\n  a1[1] = 0;\n  *a1 = a2;\n  if ( v5 )\n    return v5(a1);\n  else\n    return 1;\n}", "assembly": "; \n; EC_KEY_set_method from 0x100ede8 to 0x100ee48 (96 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x80068\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:01 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x100ede8\nMOV             X29, SP                                                ; +0x4, 0x100edec\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x100edf0\nMOV             X20, X1                                                ; +0xc, 0x100edf4\nLDR             X1, [X0]                                               ; +0x10, 0x100edf8\nMOV             X19, X0                                                ; +0x14, 0x100edfc\nLDR             X1, [X1,#0x18]                                         ; +0x18, 0x100ee00\nCBZ             X1, loc_100EE0C                                        ; +0x1c, 0x100ee04\nBLR             X1                                                     ; +0x20, 0x100ee08\nLDR             X0, [X19,#8]                                           ; +0x24, 0x100ee0c\nBL              ENGINE_finish                                          ; +0x28, 0x100ee10\nLDR             X1, [X20,#0x10]                                        ; +0x2c, 0x100ee14\nSTR             XZR, [X19,#8]                                          ; +0x30, 0x100ee18\nSTR             X20, [X19]                                             ; +0x34, 0x100ee1c\nCBZ             X1, loc_100EE38                                        ; +0x38, 0x100ee20\nMOV             X0, X19                                                ; +0x3c, 0x100ee24\nBLR             X1                                                     ; +0x40, 0x100ee28\nLDP             X19, X20, [SP,#var_s10]                                ; +0x44, 0x100ee2c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x48, 0x100ee30\nRET                                                                    ; +0x4c, 0x100ee34\nMOV             W0, #1                                                 ; +0x50, 0x100ee38\nLDP             X19, X20, [SP,#var_s10]                                ; +0x54, 0x100ee3c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x58, 0x100ee40\nRET                                                                    ; +0x5c, 0x100ee44", "xrefs": ["<???> @ 0x80068"], "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"}