{"type": "func", "start": 16989496, "end": 16989556, "name": "CRYPTO_set_mem_functions", "pseudocode": "// \n// CRYPTO_set_mem_functions from 0x1033d38 to 0x1033d74 (60 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xdce10\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:16:23 +0000\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_1552310;\n  if ( dword_1552310 )\n  {\n    if ( a1 )\n      off_1552320 = a1;\n    if ( a2 )\n      off_1552328 = a2;\n    result = 1;\n    if ( a3 )\n      off_1552318 = a3;\n  }\n  return result;\n}", "assembly": "; \n; CRYPTO_set_mem_functions from 0x1033d38 to 0x1033d74 (60 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xdce10\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:16:23 +0000\n; \nMOV             X3, X0                                                 ; +0x0, 0x1033d38\nADRP            X0, #dword_1552310@PAGE                                ; +0x4, 0x1033d3c\nLDR             W0, [X0,#dword_1552310@PAGEOFF]                        ; +0x8, 0x1033d40\nCBZ             W0, locret_1033D70                                     ; +0xc, 0x1033d44\nCBZ             X3, loc_1033D54                                        ; +0x10, 0x1033d48\nADRP            X0, #off_1552320@PAGE                                  ; +0x14, 0x1033d4c\nSTR             X3, [X0,#off_1552320@PAGEOFF]; CRYPTO_malloc           ; +0x18, 0x1033d50\nCBZ             X1, loc_1033D60                                        ; +0x1c, 0x1033d54\nADRP            X0, #off_1552328@PAGE                                  ; +0x20, 0x1033d58\nSTR             X1, [X0,#off_1552328@PAGEOFF]; CRYPTO_realloc          ; +0x24, 0x1033d5c\nMOV             W0, #1                                                 ; +0x28, 0x1033d60\nCBZ             X2, locret_1033D70                                     ; +0x2c, 0x1033d64\nADRP            X1, #off_1552318@PAGE                                  ; +0x30, 0x1033d68\nSTR             X2, [X1,#off_1552318@PAGEOFF]; CRYPTO_free             ; +0x34, 0x1033d6c\nRET                                                                    ; +0x38, 0x1033d70", "xrefs": ["<???> @ 0xdce10"], "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"}