{"type": "func", "start": 16801844, "end": 16801928, "name": "DH_set_method", "pseudocode": "// \n// DH_set_method from 0x1006034 to 0x1006088 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xb0f68\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:15:56 +0000\n// \n\n__int64 __fastcall DH_set_method(__int64 a1, __int64 a2)\n{\n  void (*v4)(void); // x1\n  void (__fastcall *v5)(__int64); // x1\n\n  v4 = *(void (**)(void))(*(_QWORD *)(a1 + 120) + 40LL);\n  if ( v4 )\n    v4();\n  ENGINE_finish(*(_QWORD *)(a1 + 128));\n  v5 = *(void (__fastcall **)(__int64))(a2 + 32);\n  *(_QWORD *)(a1 + 128) = 0;\n  *(_QWORD *)(a1 + 120) = a2;\n  if ( v5 )\n    v5(a1);\n  return 1;\n}", "assembly": "; \n; DH_set_method from 0x1006034 to 0x1006088 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xb0f68\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:15:56 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x1006034\nMOV             X29, SP                                                ; +0x4, 0x1006038\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x100603c\nMOV             X20, X1                                                ; +0xc, 0x1006040\nLDR             X1, [X0,#0x78]                                         ; +0x10, 0x1006044\nMOV             X19, X0                                                ; +0x14, 0x1006048\nLDR             X1, [X1,#0x28]                                         ; +0x18, 0x100604c\nCBZ             X1, loc_1006058                                        ; +0x1c, 0x1006050\nBLR             X1                                                     ; +0x20, 0x1006054\nLDR             X0, [X19,#0x80]                                        ; +0x24, 0x1006058\nBL              ENGINE_finish                                          ; +0x28, 0x100605c\nLDR             X1, [X20,#0x20]                                        ; +0x2c, 0x1006060\nSTR             XZR, [X19,#0x80]                                       ; +0x30, 0x1006064\nSTR             X20, [X19,#0x78]                                       ; +0x34, 0x1006068\nCBZ             X1, loc_1006078                                        ; +0x38, 0x100606c\nMOV             X0, X19                                                ; +0x3c, 0x1006070\nBLR             X1                                                     ; +0x40, 0x1006074\nMOV             W0, #1                                                 ; +0x44, 0x1006078\nLDP             X19, X20, [SP,#var_s10]                                ; +0x48, 0x100607c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x4c, 0x1006080\nRET                                                                    ; +0x50, 0x1006084", "xrefs": ["<???> @ 0xb0f68"], "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"}