{"type": "func", "start": 14292420, "end": 14292496, "name": "ERR_set_mark", "pseudocode": "// \n// ERR_set_mark from 0xda15c4 to 0xda1610 (76 bytes)\n// \n// 5 xrefs:\n// > PKCS12_parse @ 0xdca748\n// > X509_print_ex @ 0xde5af8\n// > sub_DF1EF0 @ 0xdf1f30\n// > engine_table_select @ 0xe5e4e0\n// > <???> @ 0xb6ee0\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 ERR_set_mark()\n{\n  __int64 state; // x0\n  int v1; // w1\n\n  state = ERR_get_state();\n  v1 = *(_DWORD *)(state + 576);\n  if ( *(_DWORD *)(state + 580) == v1 )\n    return 0;\n  *(_DWORD *)(state + 4LL * v1) |= 1u;\n  return 1;\n}", "assembly": "; \n; ERR_set_mark from 0xda15c4 to 0xda1610 (76 bytes)\n; \n; 5 xrefs:\n; > PKCS12_parse @ 0xdca748\n; > X509_print_ex @ 0xde5af8\n; > sub_DF1EF0 @ 0xdf1f30\n; > engine_table_select @ 0xe5e4e0\n; > <???> @ 0xb6ee0\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, 0xda15c4\nMOV             X29, SP                                                ; +0x4, 0xda15c8\nBL              ERR_get_state                                          ; +0x8, 0xda15cc\nLDR             W1, [X0,#0x240]                                        ; +0xc, 0xda15d0\nLDR             W2, [X0,#0x244]                                        ; +0x10, 0xda15d4\nCMP             W2, W1                                                 ; +0x14, 0xda15d8\nB.EQ            loc_DA1600                                             ; +0x18, 0xda15dc\nSBFIZ           X1, X1, #2, #0x20 ; ' '                                ; +0x1c, 0xda15e0\nMOV             W3, #1                                                 ; +0x20, 0xda15e4\nLDR             W2, [X0,X1]                                            ; +0x24, 0xda15e8\nORR             W2, W2, W3                                             ; +0x28, 0xda15ec\nSTR             W2, [X0,X1]                                            ; +0x2c, 0xda15f0\nMOV             W0, W3                                                 ; +0x30, 0xda15f4\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x34, 0xda15f8\nRET                                                                    ; +0x38, 0xda15fc\nMOV             W3, #0                                                 ; +0x3c, 0xda1600\nMOV             W0, W3                                                 ; +0x40, 0xda1604\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x44, 0xda1608\nRET                                                                    ; +0x48, 0xda160c", "xrefs": ["PKCS12_parse @ 0xdca748", "X509_print_ex @ 0xde5af8", "sub_DF1EF0 @ 0xdf1f30", "engine_table_select @ 0xe5e4e0", "<???> @ 0xb6ee0"], "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"}