{"type": "func", "start": 8132176, "end": 8132296, "name": "ASN1_UTCTIME_set_string", "pseudocode": "// \n// ASN1_UTCTIME_set_string from 0x7c1650 to 0x7c16c8 (120 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x5e53c\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 __fastcall ASN1_UTCTIME_set_string(int a1, char *a2)\n{\n  int v5[4]; // [sp+0h] [bp-10h] BYREF\n\n  v5[1] = 23;\n  v5[2] = (int)a2;\n  v5[0] = strlen(a2);\n  if ( !ASN1_UTCTIME_check(v5) )\n    return 0;\n  if ( !a1 )\n    return 1;\n  if ( !ASN1_STRING_set(a1, a2) )\n    return 0;\n  *(_DWORD *)(a1 + 4) = 23;\n  return 1;\n}", "assembly": "; \n; ASN1_UTCTIME_set_string from 0x7c1650 to 0x7c16c8 (120 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x5e53c\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, 0x7c1650\nMOV             R5, R0                                                 ; +0x4, 0x7c1654\nSUB             SP, SP, #0x10                                          ; +0x8, 0x7c1658\nMOV             R0, R1; char *                                         ; +0xc, 0x7c165c\nMOV             R6, #0x17                                              ; +0x10, 0x7c1660\nMOV             R4, R1                                                 ; +0x14, 0x7c1664\nSTR             R6, [SP,#0x10+var_C]                                   ; +0x18, 0x7c1668\nBL              strlen                                                 ; +0x1c, 0x7c166c\nSTR             R4, [SP,#0x10+var_8]                                   ; +0x20, 0x7c1670\nSTR             R0, [SP,#0x10+var_10]                                  ; +0x24, 0x7c1674\nMOV             R0, SP                                                 ; +0x28, 0x7c1678\nBL              ASN1_UTCTIME_check                                     ; +0x2c, 0x7c167c\nCMP             R0, #0                                                 ; +0x30, 0x7c1680\nBEQ             loc_7C16BC                                             ; +0x34, 0x7c1684\nCMP             R5, #0                                                 ; +0x38, 0x7c1688\nMOVEQ           R0, #1                                                 ; +0x3c, 0x7c168c\nBEQ             loc_7C16B4                                             ; +0x40, 0x7c1690\nMOV             R1, R4; void *                                         ; +0x44, 0x7c1694\nMOV             R0, R5; int                                            ; +0x48, 0x7c1698\nLDR             R2, [SP,#0x10+var_10]                                  ; +0x4c, 0x7c169c\nBL              ASN1_STRING_set                                        ; +0x50, 0x7c16a0\nCMP             R0, #0                                                 ; +0x54, 0x7c16a4\nSTRNE           R6, [R5,#4]                                            ; +0x58, 0x7c16a8\nMOVNE           R0, #1                                                 ; +0x5c, 0x7c16ac\nBEQ             loc_7C16BC                                             ; +0x60, 0x7c16b0\nADD             SP, SP, #0x10                                          ; +0x64, 0x7c16b4\nPOP             {R4-R6,PC}                                             ; +0x68, 0x7c16b8\nMOV             R0, #0                                                 ; +0x6c, 0x7c16bc\nADD             SP, SP, #0x10                                          ; +0x70, 0x7c16c0\nPOP             {R4-R6,PC}                                             ; +0x74, 0x7c16c4", "xrefs": ["<???> @ 0x5e53c"], "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"}