{"type": "func", "start": 8297276, "end": 8297360, "name": "EC_KEY_set_method", "pseudocode": "// \n// EC_KEY_set_method from 0x7e9b3c to 0x7e9b90 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x6189c\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 EC_KEY_set_method(_DWORD *a1, int a2)\n{\n  void (*v2)(void); // r3\n  int (__fastcall *v5)(_DWORD *); // r3\n\n  v2 = *(void (**)(void))(*a1 + 12);\n  if ( v2 )\n    v2();\n  ENGINE_finish(a1[1]);\n  v5 = *(int (__fastcall **)(_DWORD *))(a2 + 8);\n  *a1 = a2;\n  a1[1] = 0;\n  if ( v5 )\n    return v5(a1);\n  else\n    return 1;\n}", "assembly": "; \n; EC_KEY_set_method from 0x7e9b3c to 0x7e9b90 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x6189c\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\nLDR             R3, [R0]                                               ; +0x0, 0x7e9b3c\nPUSH            {R4-R6,LR}                                             ; +0x4, 0x7e9b40\nLDR             R3, [R3,#0xC]                                          ; +0x8, 0x7e9b44\nMOV             R4, R0                                                 ; +0xc, 0x7e9b48\nCMP             R3, #0                                                 ; +0x10, 0x7e9b4c\nMOV             R5, R1                                                 ; +0x14, 0x7e9b50\nBEQ             loc_7E9B5C                                             ; +0x18, 0x7e9b54\nBLX             R3                                                     ; +0x1c, 0x7e9b58\nLDR             R0, [R4,#4]                                            ; +0x20, 0x7e9b5c\nBL              ENGINE_finish                                          ; +0x24, 0x7e9b60\nLDR             R3, [R5,#8]                                            ; +0x28, 0x7e9b64\nMOV             R2, #0                                                 ; +0x2c, 0x7e9b68\nCMP             R3, R2                                                 ; +0x30, 0x7e9b6c\nSTR             R5, [R4]                                               ; +0x34, 0x7e9b70\nSTR             R2, [R4,#4]                                            ; +0x38, 0x7e9b74\nBEQ             loc_7E9B88                                             ; +0x3c, 0x7e9b78\nMOV             R0, R4                                                 ; +0x40, 0x7e9b7c\nPOP             {R4-R6,LR}                                             ; +0x44, 0x7e9b80\nBX              R3                                                     ; +0x48, 0x7e9b84\nMOV             R0, #1                                                 ; +0x4c, 0x7e9b88\nPOP             {R4-R6,PC}                                             ; +0x50, 0x7e9b8c", "xrefs": ["<???> @ 0x6189c"], "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"}