{"type": "func", "start": 10313652, "end": 10313716, "name": "ASN1_TIME_print", "pseudocode": "// \n// ASN1_TIME_print from 0x9d5fb4 to 0x9d5ff4 (64 bytes)\n// \n// 7 xrefs:\n// > sub_85239C @ 0x852688\n// > sub_85239C @ 0x8526c6\n// > sub_852C2C @ 0x852d68\n// > sub_852C2C @ 0x852da0\n// > X509_print_ex @ 0xa5262c\n// > X509_print_ex @ 0xa52664\n// > <???> @ 0x67cbc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:14 +0000\n// \n\nint __fastcall ASN1_TIME_print(int a1, int a2, int a3, int a4)\n{\n  int v4; // r3\n\n  v4 = *(_DWORD *)(a2 + 4);\n  if ( v4 == 23 )\n    return ASN1_UTCTIME_print(a1, a2, a3, a4);\n  if ( v4 == 24 )\n    return ASN1_GENERALIZEDTIME_print(a1, a2, a3, a4);\n  BIO_write(a1, \"Bad time value\", 14, v4);\n  return 0;\n}", "assembly": "; \n; ASN1_TIME_print from 0x9d5fb4 to 0x9d5ff4 (64 bytes)\n; \n; 7 xrefs:\n; > sub_85239C @ 0x852688\n; > sub_85239C @ 0x8526c6\n; > sub_852C2C @ 0x852d68\n; > sub_852C2C @ 0x852da0\n; > X509_print_ex @ 0xa5262c\n; > X509_print_ex @ 0xa52664\n; > <???> @ 0x67cbc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:14 +0000\n; \nPUSH            {R3,LR}                                                ; +0x0, 0x9d5fb4\nLDR             R3, [R1,#4]                                            ; +0x4, 0x9d5fb8\nCMP             R3, #0x17                                              ; +0x8, 0x9d5fbc\nBEQ             loc_9D5FEC                                             ; +0xc, 0x9d5fc0\nCMP             R3, #0x18                                              ; +0x10, 0x9d5fc4\nBEQ             loc_9D5FE4                                             ; +0x14, 0x9d5fc8\nLDR             R1, =(aBadTimeValue - 0x9D5FDC); \"Bad time value\"      ; +0x18, 0x9d5fcc\nMOV             R2, #0xE                                               ; +0x1c, 0x9d5fd0\nADD             R1, PC, R1; \"Bad time value\"                           ; +0x20, 0x9d5fd4\nBL              BIO_write                                              ; +0x24, 0x9d5fd8\nMOV             R0, #0                                                 ; +0x28, 0x9d5fdc\nPOP             {R3,PC}                                                ; +0x2c, 0x9d5fe0\nPOP             {R3,LR}                                                ; +0x30, 0x9d5fe4\nB               ASN1_GENERALIZEDTIME_print                             ; +0x34, 0x9d5fe8\nPOP             {R3,LR}                                                ; +0x38, 0x9d5fec\nB               ASN1_UTCTIME_print                                     ; +0x3c, 0x9d5ff0", "xrefs": ["sub_85239C @ 0x852688", "sub_85239C @ 0x8526c6", "sub_852C2C @ 0x852d68", "sub_852C2C @ 0x852da0", "X509_print_ex @ 0xa5262c", "X509_print_ex @ 0xa52664", "<???> @ 0x67cbc"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}