{"type": "func", "start": 14200968, "end": 14201092, "name": "DSO_merge", "pseudocode": "// \n// DSO_merge from 0xd8b088 to 0xd8b104 (124 bytes)\n// \n// 2 xrefs:\n// > sub_E5D098 @ 0xe5d370\n// > <???> @ 0x53a00\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 DSO_merge(__int64 a1, __int64 a2)\n{\n  __int64 v2; // x4\n  __int64 (*v3)(void); // x5\n  __int64 (*v5)(void); // x3\n\n  if ( !a1 || !a2 )\n  {\n    ERR_put_error(37, 132, 67, \"crypto/dso/dso_lib.c\", 267);\n    return 0;\n  }\n  v2 = 0;\n  if ( (*(_DWORD *)(a1 + 20) & 1) != 0 )\n    return v2;\n  v3 = *(__int64 (**)(void))(a1 + 40);\n  if ( v3 )\n    return v3();\n  v5 = *(__int64 (**)(void))(*(_QWORD *)a1 + 48LL);\n  if ( !v5 )\n    return v2;\n  return v5();\n}", "assembly": "; \n; DSO_merge from 0xd8b088 to 0xd8b104 (124 bytes)\n; \n; 2 xrefs:\n; > sub_E5D098 @ 0xe5d370\n; > <???> @ 0x53a00\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,#-0x10+var_s0]!                          ; +0x0, 0xd8b088\nMOV             X29, SP                                                ; +0x4, 0xd8b08c\nCBZ             X0, loc_D8B0E0                                         ; +0x8, 0xd8b090\nCBZ             X1, loc_D8B0E0                                         ; +0xc, 0xd8b094\nLDR             W5, [X0,#0x14]                                         ; +0x10, 0xd8b098\nMOV             X4, #0                                                 ; +0x14, 0xd8b09c\nTBNZ            W5, #0, loc_D8B0B4                                     ; +0x18, 0xd8b0a0\nLDR             X5, [X0,#0x28]                                         ; +0x1c, 0xd8b0a4\nCBZ             X5, loc_D8B0C0                                         ; +0x20, 0xd8b0a8\nBLR             X5                                                     ; +0x24, 0xd8b0ac\nMOV             X4, X0                                                 ; +0x28, 0xd8b0b0\nMOV             X0, X4                                                 ; +0x2c, 0xd8b0b4\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x30, 0xd8b0b8\nRET                                                                    ; +0x34, 0xd8b0bc\nLDR             X3, [X0]                                               ; +0x38, 0xd8b0c0\nLDR             X3, [X3,#0x30]                                         ; +0x3c, 0xd8b0c4\nCBZ             X3, loc_D8B0B4                                         ; +0x40, 0xd8b0c8\nBLR             X3                                                     ; +0x44, 0xd8b0cc\nMOV             X4, X0                                                 ; +0x48, 0xd8b0d0\nMOV             X0, X4                                                 ; +0x4c, 0xd8b0d4\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x50, 0xd8b0d8\nRET                                                                    ; +0x54, 0xd8b0dc\nADRP            X3, #aCryptoDsoDsoLi@PAGE; \"crypto/dso/dso_lib.c\"      ; +0x58, 0xd8b0e0\nMOV             W4, #0x10B                                             ; +0x5c, 0xd8b0e4\nMOV             W0, #0x25 ; '%'                                        ; +0x60, 0xd8b0e8\nMOV             W1, #0x84                                              ; +0x64, 0xd8b0ec\nMOV             W2, #0x43 ; 'C'                                        ; +0x68, 0xd8b0f0\nADD             X3, X3, #aCryptoDsoDsoLi@PAGEOFF; \"crypto/dso/dso_lib.c\" ; +0x6c, 0xd8b0f4\nBL              ERR_put_error                                          ; +0x70, 0xd8b0f8\nMOV             X4, #0                                                 ; +0x74, 0xd8b0fc\nB               loc_D8B0B4                                             ; +0x78, 0xd8b100", "xrefs": ["sub_E5D098 @ 0xe5d370", "<???> @ 0x53a00"], "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"}