{"type": "func", "start": 10479420, "end": 10479504, "name": "EC_KEY_set_method", "pseudocode": "// \n// EC_KEY_set_method from 0x9fe73c to 0x9fe790 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x7b31c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:36 +0000\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 0x9fe73c to 0x9fe790 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x7b31c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:36 +0000\n; \nLDR             R3, [R0]                                               ; +0x0, 0x9fe73c\nPUSH            {R4-R6,LR}                                             ; +0x4, 0x9fe740\nLDR             R3, [R3,#0xC]                                          ; +0x8, 0x9fe744\nMOV             R4, R0                                                 ; +0xc, 0x9fe748\nCMP             R3, #0                                                 ; +0x10, 0x9fe74c\nMOV             R5, R1                                                 ; +0x14, 0x9fe750\nBEQ             loc_9FE75C                                             ; +0x18, 0x9fe754\nBLX             R3                                                     ; +0x1c, 0x9fe758\nLDR             R0, [R4,#4]                                            ; +0x20, 0x9fe75c\nBL              ENGINE_finish                                          ; +0x24, 0x9fe760\nLDR             R3, [R5,#8]                                            ; +0x28, 0x9fe764\nMOV             R2, #0                                                 ; +0x2c, 0x9fe768\nCMP             R3, R2                                                 ; +0x30, 0x9fe76c\nSTR             R5, [R4]                                               ; +0x34, 0x9fe770\nSTR             R2, [R4,#4]                                            ; +0x38, 0x9fe774\nBEQ             loc_9FE788                                             ; +0x3c, 0x9fe778\nMOV             R0, R4                                                 ; +0x40, 0x9fe77c\nPOP             {R4-R6,LR}                                             ; +0x44, 0x9fe780\nBX              R3                                                     ; +0x48, 0x9fe784\nMOV             R0, #1                                                 ; +0x4c, 0x9fe788\nPOP             {R4-R6,PC}                                             ; +0x50, 0x9fe78c", "xrefs": ["<???> @ 0x7b31c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}