{"type": "func", "start": 14199596, "end": 14199756, "name": "DSO_bind_func", "pseudocode": "// \n// DSO_bind_func from 0xd8ab2c to 0xd8abcc (160 bytes)\n// \n// 5 xrefs:\n// > CONF_modules_load @ 0xd82004\n// > CONF_modules_load @ 0xd8201c\n// > sub_E5D098 @ 0xe5d480\n// > sub_E5D098 @ 0xe5d4a0\n// > <???> @ 0xb6fb8\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_bind_func(__int64 a1, __int64 a2))(void)\n{\n  __int64 (*v2)(void); // x19\n\n  if ( a1 && a2 )\n  {\n    v2 = *(__int64 (**)(void))(*(_QWORD *)a1 + 24LL);\n    if ( v2 )\n    {\n      v2 = (__int64 (*)(void))v2();\n      if ( !v2 )\n        ERR_put_error(37, 108, 106, \"crypto/dso/dso_lib.c\", 185);\n    }\n    else\n    {\n      ERR_put_error(37, 108, 108, \"crypto/dso/dso_lib.c\", 181);\n    }\n  }\n  else\n  {\n    v2 = nullptr;\n    ERR_put_error(37, 108, 67, \"crypto/dso/dso_lib.c\", 177);\n  }\n  return v2;\n}", "assembly": "; \n; DSO_bind_func from 0xd8ab2c to 0xd8abcc (160 bytes)\n; \n; 5 xrefs:\n; > CONF_modules_load @ 0xd82004\n; > CONF_modules_load @ 0xd8201c\n; > sub_E5D098 @ 0xe5d480\n; > sub_E5D098 @ 0xe5d4a0\n; > <???> @ 0xb6fb8\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,#var_20]!                                ; +0x0, 0xd8ab2c\nMOV             X29, SP                                                ; +0x4, 0xd8ab30\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xd8ab34\nCBZ             X0, loc_D8AB68                                         ; +0xc, 0xd8ab38\nCBZ             X1, loc_D8AB68                                         ; +0x10, 0xd8ab3c\nLDR             X2, [X0]                                               ; +0x14, 0xd8ab40\nLDR             X19, [X2,#0x18]                                        ; +0x18, 0xd8ab44\nCBZ             X19, loc_D8AB8C                                        ; +0x1c, 0xd8ab48\nBLR             X19                                                    ; +0x20, 0xd8ab4c\nMOV             X19, X0                                                ; +0x24, 0xd8ab50\nCBZ             X0, loc_D8ABAC                                         ; +0x28, 0xd8ab54\nMOV             X0, X19                                                ; +0x2c, 0xd8ab58\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x30, 0xd8ab5c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x34, 0xd8ab60\nRET                                                                    ; +0x38, 0xd8ab64\nADRP            X3, #aCryptoDsoDsoLi@PAGE; \"crypto/dso/dso_lib.c\"      ; +0x3c, 0xd8ab68\nMOV             W0, #0x25 ; '%'                                        ; +0x40, 0xd8ab6c\nMOV             W1, #0x6C ; 'l'                                        ; +0x44, 0xd8ab70\nMOV             W2, #0x43 ; 'C'                                        ; +0x48, 0xd8ab74\nADD             X3, X3, #aCryptoDsoDsoLi@PAGEOFF; \"crypto/dso/dso_lib.c\" ; +0x4c, 0xd8ab78\nMOV             W4, #0xB1                                              ; +0x50, 0xd8ab7c\nMOV             X19, #0                                                ; +0x54, 0xd8ab80\nBL              ERR_put_error                                          ; +0x58, 0xd8ab84\nB               loc_D8AB58                                             ; +0x5c, 0xd8ab88\nMOV             W1, #0x6C ; 'l'                                        ; +0x60, 0xd8ab8c\nADRP            X3, #aCryptoDsoDsoLi@PAGE; \"crypto/dso/dso_lib.c\"      ; +0x64, 0xd8ab90\nMOV             W0, #0x25 ; '%'                                        ; +0x68, 0xd8ab94\nMOV             W2, W1                                                 ; +0x6c, 0xd8ab98\nADD             X3, X3, #aCryptoDsoDsoLi@PAGEOFF; \"crypto/dso/dso_lib.c\" ; +0x70, 0xd8ab9c\nMOV             W4, #0xB5                                              ; +0x74, 0xd8aba0\nBL              ERR_put_error                                          ; +0x78, 0xd8aba4\nB               loc_D8AB58                                             ; +0x7c, 0xd8aba8\nADRP            X3, #aCryptoDsoDsoLi@PAGE; \"crypto/dso/dso_lib.c\"      ; +0x80, 0xd8abac\nMOV             W0, #0x25 ; '%'                                        ; +0x84, 0xd8abb0\nMOV             W1, #0x6C ; 'l'                                        ; +0x88, 0xd8abb4\nMOV             W2, #0x6A ; 'j'                                        ; +0x8c, 0xd8abb8\nADD             X3, X3, #aCryptoDsoDsoLi@PAGEOFF; \"crypto/dso/dso_lib.c\" ; +0x90, 0xd8abbc\nMOV             W4, #0xB9                                              ; +0x94, 0xd8abc0\nBL              ERR_put_error                                          ; +0x98, 0xd8abc4\nB               loc_D8AB58                                             ; +0x9c, 0xd8abc8", "xrefs": ["CONF_modules_load @ 0xd82004", "CONF_modules_load @ 0xd8201c", "sub_E5D098 @ 0xe5d480", "sub_E5D098 @ 0xe5d4a0", "<???> @ 0xb6fb8"], "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"}