{"type": "func", "start": 8369732, "end": 8369780, "name": "ERR_set_mark", "pseudocode": "// \n// ERR_set_mark from 0x7fb644 to 0x7fb674 (48 bytes)\n// \n// 5 xrefs:\n// > PKCS12_parse @ 0x824eb0\n// > X509_print_ex @ 0x83dc94\n// > sub_84A58C @ 0x84a5b8\n// > engine_table_select @ 0x8b4698\n// > <???> @ 0x629ec\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\nint ERR_set_mark()\n{\n  int state; // r0\n  int v1; // r2\n  int v2; // r3\n  int v3; // r1\n\n  state = ERR_get_state();\n  v1 = *(_DWORD *)(state + 384);\n  v2 = state;\n  if ( *(_DWORD *)(state + 388) == v1 )\n    return 0;\n  v3 = *(_DWORD *)(state + 4 * v1);\n  *(_DWORD *)(v2 + 4 * v1) = v3 | 1;\n  return 1;\n}", "assembly": "; \n; ERR_set_mark from 0x7fb644 to 0x7fb674 (48 bytes)\n; \n; 5 xrefs:\n; > PKCS12_parse @ 0x824eb0\n; > X509_print_ex @ 0x83dc94\n; > sub_84A58C @ 0x84a5b8\n; > engine_table_select @ 0x8b4698\n; > <???> @ 0x629ec\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            {R3,LR}                                                ; +0x0, 0x7fb644\nBL              ERR_get_state                                          ; +0x4, 0x7fb648\nLDR             R1, [R0,#0x184]                                        ; +0x8, 0x7fb64c\nLDR             R2, [R0,#0x180]                                        ; +0xc, 0x7fb650\nMOV             R3, R0                                                 ; +0x10, 0x7fb654\nCMP             R1, R2                                                 ; +0x14, 0x7fb658\nLDRNE           R1, [R0,R2,LSL#2]                                      ; +0x18, 0x7fb65c\nMOVNE           R0, #1                                                 ; +0x1c, 0x7fb660\nORRNE           R1, R1, R0                                             ; +0x20, 0x7fb664\nSTRNE           R1, [R3,R2,LSL#2]                                      ; +0x24, 0x7fb668\nMOVEQ           R0, #0                                                 ; +0x28, 0x7fb66c\nPOP             {R3,PC}                                                ; +0x2c, 0x7fb670", "xrefs": ["PKCS12_parse @ 0x824eb0", "X509_print_ex @ 0x83dc94", "sub_84A58C @ 0x84a5b8", "engine_table_select @ 0x8b4698", "<???> @ 0x629ec"], "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"}