{"type": "func", "start": 8131088, "end": 8131224, "name": "ASN1_TIME_set_string", "pseudocode": "// \n// ASN1_TIME_set_string from 0x7c1210 to 0x7c1298 (136 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x5e4bc\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_TIME_set_string(int a1, char *a2)\n{\n  int result; // r0\n  size_t v4; // [sp+0h] [bp-10h] BYREF\n  int v5; // [sp+4h] [bp-Ch]\n  char *v6; // [sp+8h] [bp-8h]\n  int v7; // [sp+Ch] [bp-4h]\n\n  v6 = a2;\n  v7 = 0;\n  v4 = strlen(a2);\n  v5 = 23;\n  if ( ASN1_TIME_check((int)&v4) )\n    return !a1 || ASN1_STRING_copy(a1, &v4) != 0;\n  v5 = 24;\n  if ( (result = ASN1_TIME_check((int)&v4)) != 0 )\n    return !a1 || ASN1_STRING_copy(a1, &v4) != 0;\n  return result;\n}", "assembly": "; \n; ASN1_TIME_set_string from 0x7c1210 to 0x7c1298 (136 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x5e4bc\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, 0x7c1210\nMOV             R6, R0                                                 ; +0x4, 0x7c1214\nSUB             SP, SP, #0x10                                          ; +0x8, 0x7c1218\nMOV             R0, R1; char *                                         ; +0xc, 0x7c121c\nMOV             R4, R1                                                 ; +0x10, 0x7c1220\nBL              strlen                                                 ; +0x14, 0x7c1224\nMOV             R3, #0x17                                              ; +0x18, 0x7c1228\nMOV             R2, #0                                                 ; +0x1c, 0x7c122c\nSTR             R4, [SP,#0x10+var_8]                                   ; +0x20, 0x7c1230\nSTR             R2, [SP,#0x10+var_4]                                   ; +0x24, 0x7c1234\nMOV             R5, SP                                                 ; +0x28, 0x7c1238\nSTMEA           SP, {R0,R3}                                            ; +0x2c, 0x7c123c\nMOV             R0, SP                                                 ; +0x30, 0x7c1240\nBL              ASN1_TIME_check                                        ; +0x34, 0x7c1244\nCMP             R0, #0                                                 ; +0x38, 0x7c1248\nBEQ             loc_7C1278                                             ; +0x3c, 0x7c124c\nCMP             R6, #0                                                 ; +0x40, 0x7c1250\nMOVEQ           R0, #1                                                 ; +0x44, 0x7c1254\nBEQ             loc_7C1270                                             ; +0x48, 0x7c1258\nMOV             R0, R6                                                 ; +0x4c, 0x7c125c\nMOV             R1, R5                                                 ; +0x50, 0x7c1260\nBL              ASN1_STRING_copy                                       ; +0x54, 0x7c1264\nMOVS            R0, R0                                                 ; +0x58, 0x7c1268\nMOVNE           R0, #1                                                 ; +0x5c, 0x7c126c\nADD             SP, SP, #0x10                                          ; +0x60, 0x7c1270\nPOP             {R4-R6,PC}                                             ; +0x64, 0x7c1274\nMOV             R3, #0x18                                              ; +0x68, 0x7c1278\nMOV             R0, SP                                                 ; +0x6c, 0x7c127c\nSTR             R3, [SP,#0x10+var_C]                                   ; +0x70, 0x7c1280\nBL              ASN1_TIME_check                                        ; +0x74, 0x7c1284\nCMP             R0, #0                                                 ; +0x78, 0x7c1288\nBNE             loc_7C1250                                             ; +0x7c, 0x7c128c\nADD             SP, SP, #0x10                                          ; +0x80, 0x7c1290\nPOP             {R4-R6,PC}                                             ; +0x84, 0x7c1294", "xrefs": ["<???> @ 0x5e4bc"], "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"}