{"type": "func", "start": 14224008, "end": 14224104, "name": "EC_KEY_set_method", "pseudocode": "// \n// EC_KEY_set_method from 0xd90a88 to 0xd90ae8 (96 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x5d930\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\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 0xd90a88 to 0xd90ae8 (96 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x5d930\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xd90a88\nMOV             X29, SP                                                ; +0x4, 0xd90a8c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xd90a90\nMOV             X20, X1                                                ; +0xc, 0xd90a94\nLDR             X1, [X0]                                               ; +0x10, 0xd90a98\nMOV             X19, X0                                                ; +0x14, 0xd90a9c\nLDR             X1, [X1,#0x18]                                         ; +0x18, 0xd90aa0\nCBZ             X1, loc_D90AAC                                         ; +0x1c, 0xd90aa4\nBLR             X1                                                     ; +0x20, 0xd90aa8\nLDR             X0, [X19,#8]                                           ; +0x24, 0xd90aac\nBL              ENGINE_finish                                          ; +0x28, 0xd90ab0\nLDR             X1, [X20,#0x10]                                        ; +0x2c, 0xd90ab4\nSTR             XZR, [X19,#8]                                          ; +0x30, 0xd90ab8\nSTR             X20, [X19]                                             ; +0x34, 0xd90abc\nCBZ             X1, loc_D90AD8                                         ; +0x38, 0xd90ac0\nMOV             X0, X19                                                ; +0x3c, 0xd90ac4\nBLR             X1                                                     ; +0x40, 0xd90ac8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x44, 0xd90acc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x48, 0xd90ad0\nRET                                                                    ; +0x4c, 0xd90ad4\nMOV             W0, #1                                                 ; +0x50, 0xd90ad8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x54, 0xd90adc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x58, 0xd90ae0\nRET                                                                    ; +0x5c, 0xd90ae4", "xrefs": ["<???> @ 0x5d930"], "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"}