{"type": "func", "start": 10440852, "end": 10440932, "name": "DH_set_method", "pseudocode": "// \n// DH_set_method from 0x9f5094 to 0x9f50e4 (80 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x7a57c\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:31 +0000\n// \n\nint __fastcall DH_set_method(int a1, int a2)\n{\n  void (*v3)(void); // r3\n  void (__fastcall *v5)(int); // r3\n\n  v3 = *(void (**)(void))(*(_DWORD *)(a1 + 64) + 20);\n  if ( v3 )\n    v3();\n  ENGINE_finish(*(_DWORD *)(a1 + 68));\n  v5 = *(void (__fastcall **)(int))(a2 + 16);\n  *(_DWORD *)(a1 + 64) = a2;\n  *(_DWORD *)(a1 + 68) = 0;\n  if ( v5 )\n    v5(a1);\n  return 1;\n}", "assembly": "; \n; DH_set_method from 0x9f5094 to 0x9f50e4 (80 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x7a57c\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:31 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x9f5094\nLDR             R3, [R0,#0x40]                                         ; +0x4, 0x9f5098\nMOV             R4, R0                                                 ; +0x8, 0x9f509c\nLDR             R3, [R3,#0x14]                                         ; +0xc, 0x9f50a0\nMOV             R5, R1                                                 ; +0x10, 0x9f50a4\nCMP             R3, #0                                                 ; +0x14, 0x9f50a8\nBEQ             loc_9F50B4                                             ; +0x18, 0x9f50ac\nBLX             R3                                                     ; +0x1c, 0x9f50b0\nLDR             R0, [R4,#0x44]                                         ; +0x20, 0x9f50b4\nBL              ENGINE_finish                                          ; +0x24, 0x9f50b8\nLDR             R3, [R5,#0x10]                                         ; +0x28, 0x9f50bc\nMOV             R2, #0                                                 ; +0x2c, 0x9f50c0\nCMP             R3, R2                                                 ; +0x30, 0x9f50c4\nSTR             R5, [R4,#0x40]                                         ; +0x34, 0x9f50c8\nSTR             R2, [R4,#0x44]                                         ; +0x38, 0x9f50cc\nBEQ             loc_9F50DC                                             ; +0x3c, 0x9f50d0\nMOV             R0, R4                                                 ; +0x40, 0x9f50d4\nBLX             R3                                                     ; +0x44, 0x9f50d8\nMOV             R0, #1                                                 ; +0x48, 0x9f50dc\nPOP             {R3-R5,PC}                                             ; +0x4c, 0x9f50e0", "xrefs": ["<???> @ 0x7a57c"], "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"}