{"type": "func", "start": 8351596, "end": 8351752, "name": "ENGINE_set_default_string", "pseudocode": "// \n// ENGINE_set_default_string from 0x7f6f6c to 0x7f7008 (156 bytes)\n// \n// 2 xrefs:\n// > sub_7F5E14 @ 0x7f5f74\n// > <???> @ 0x6218c\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\nbool __fastcall ENGINE_set_default_string(int a1, const char *a2)\n{\n  int v5; // [sp+Ch] [bp-4h] BYREF\n\n  v5 = 0;\n  if ( CONF_parse_list(a2, 44, 1, (int (__fastcall *)(const char *, int, int))sub_7F6BF8, (int)&v5) )\n    return ENGINE_set_default(a1, v5);\n  ERR_put_error(38, 189, 150, \"crypto/engine/eng_fat.c\", 91);\n  ERR_add_error_data(2, \"str=\", a2);\n  return 0;\n}", "assembly": "; \n; ENGINE_set_default_string from 0x7f6f6c to 0x7f7008 (156 bytes)\n; \n; 2 xrefs:\n; > sub_7F5E14 @ 0x7f5f74\n; > <???> @ 0x6218c\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\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x7f6f6c\nSUB             SP, SP, #0x10                                          ; +0x4, 0x7f6f70\nADD             R3, SP, #0x10+var_s0                                   ; +0x8, 0x7f6f74\nMOV             R2, #0                                                 ; +0xc, 0x7f6f78\nSTR             R2, [R3,#-4]!                                          ; +0x10, 0x7f6f7c\nSTR             R3, [SP,#0x10+var_10]; int                             ; +0x14, 0x7f6f80\nLDR             R3, =(sub_7F6BF8 - 0x7F6FA0)                           ; +0x18, 0x7f6f84\nMOV             R5, R1                                                 ; +0x1c, 0x7f6f88\nMOV             R6, R0                                                 ; +0x20, 0x7f6f8c\nMOV             R2, #1; int                                            ; +0x24, 0x7f6f90\nMOV             R0, R1; int                                            ; +0x28, 0x7f6f94\nADD             R3, PC, R3; sub_7F6BF8 ; int                           ; +0x2c, 0x7f6f98\nMOV             R1, #0x2C ; ','; int                                   ; +0x30, 0x7f6f9c\nBL              CONF_parse_list                                        ; +0x34, 0x7f6fa0\nSUBS            R4, R0, #0                                             ; +0x38, 0x7f6fa4\nBEQ             loc_7F6FC8                                             ; +0x3c, 0x7f6fa8\nMOV             R0, R6                                                 ; +0x40, 0x7f6fac\nLDR             R1, [SP,#0x10+var_4]                                   ; +0x44, 0x7f6fb0\nBL              ENGINE_set_default                                     ; +0x48, 0x7f6fb4\nMOV             R4, R0                                                 ; +0x4c, 0x7f6fb8\nMOV             R0, R4                                                 ; +0x50, 0x7f6fbc\nADD             SP, SP, #0x10                                          ; +0x54, 0x7f6fc0\nPOP             {R4-R6,PC}                                             ; +0x58, 0x7f6fc4\nMOV             R3, #0x5B ; '['                                        ; +0x5c, 0x7f6fc8\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x60, 0x7f6fcc\nLDR             R3, =(aCryptoEngineEn_1 - 0x7F6FE0); \"crypto/engine/eng_fat.c\" ; +0x64, 0x7f6fd0\nMOV             R0, #0x26 ; '&'                                        ; +0x68, 0x7f6fd4\nADD             R3, PC, R3; \"crypto/engine/eng_fat.c\"                  ; +0x6c, 0x7f6fd8\nMOV             R1, #0xBD                                              ; +0x70, 0x7f6fdc\nMOV             R2, #0x96                                              ; +0x74, 0x7f6fe0\nBL              ERR_put_error                                          ; +0x78, 0x7f6fe4\nLDR             R1, =(aStr - 0x7F6FFC); \"str=\"                         ; +0x7c, 0x7f6fe8\nMOV             R2, R5                                                 ; +0x80, 0x7f6fec\nMOV             R0, #2                                                 ; +0x84, 0x7f6ff0\nADD             R1, PC, R1; \"str=\"                                     ; +0x88, 0x7f6ff4\nBL              ERR_add_error_data                                     ; +0x8c, 0x7f6ff8\nMOV             R0, R4                                                 ; +0x90, 0x7f6ffc\nADD             SP, SP, #0x10                                          ; +0x94, 0x7f7000\nPOP             {R4-R6,PC}                                             ; +0x98, 0x7f7004", "xrefs": ["sub_7F5E14 @ 0x7f5f74", "<???> @ 0x6218c"], "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"}