{"type": "func", "start": 14375384, "end": 14375444, "name": "CRYPTO_set_mem_functions", "pseudocode": "// \n// CRYPTO_set_mem_functions from 0xdb59d8 to 0xdb5a14 (60 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xa8630\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 CRYPTO_set_mem_functions(\n        __int64 (__fastcall *a1)(_QWORD, _QWORD, _QWORD),\n        __int64 (__fastcall *a2)(_QWORD, _QWORD, _QWORD, _QWORD),\n        __int64 (__fastcall *a3)(_QWORD, _QWORD, _QWORD))\n{\n  __int64 result; // x0\n\n  result = (unsigned int)dword_1239030;\n  if ( dword_1239030 )\n  {\n    if ( a1 )\n      off_1239040 = a1;\n    if ( a2 )\n      off_1239048 = a2;\n    result = 1;\n    if ( a3 )\n      off_1239038 = a3;\n  }\n  return result;\n}", "assembly": "; \n; CRYPTO_set_mem_functions from 0xdb59d8 to 0xdb5a14 (60 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xa8630\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\nMOV             X3, X0                                                 ; +0x0, 0xdb59d8\nADRP            X0, #dword_1239030@PAGE                                ; +0x4, 0xdb59dc\nLDR             W0, [X0,#dword_1239030@PAGEOFF]                        ; +0x8, 0xdb59e0\nCBZ             W0, locret_DB5A10                                      ; +0xc, 0xdb59e4\nCBZ             X3, loc_DB59F4                                         ; +0x10, 0xdb59e8\nADRP            X0, #off_1239040@PAGE                                  ; +0x14, 0xdb59ec\nSTR             X3, [X0,#off_1239040@PAGEOFF]; CRYPTO_malloc           ; +0x18, 0xdb59f0\nCBZ             X1, loc_DB5A00                                         ; +0x1c, 0xdb59f4\nADRP            X0, #off_1239048@PAGE                                  ; +0x20, 0xdb59f8\nSTR             X1, [X0,#off_1239048@PAGEOFF]; CRYPTO_realloc          ; +0x24, 0xdb59fc\nMOV             W0, #1                                                 ; +0x28, 0xdb5a00\nCBZ             X2, locret_DB5A10                                      ; +0x2c, 0xdb5a04\nADRP            X1, #off_1239038@PAGE                                  ; +0x30, 0xdb5a08\nSTR             X2, [X1,#off_1239038@PAGEOFF]; CRYPTO_free             ; +0x34, 0xdb5a0c\nRET                                                                    ; +0x38, 0xdb5a10", "xrefs": ["<???> @ 0xa8630"], "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"}