messages
listlengths
2
2
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n long in_FS_OFFSET;\n char local_13 [3];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_13[2] = 0x43;\n local_13[0] = 'A';\n local_13[1] = 'B';\n puts(local_13);\n if (local_10 == *(long *)...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n long in_FS_OFFSET;\n char local_13 [3];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_13[2] = 0x43;\n local_13[0] = 'A';\n local_13[1] = 'B';\n puts(local_13);\n if (local_10 == *(long *)...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 MCD_getCodeSize(void)\n\n{\n return 0x1748;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "int MCD_getCodeSize(void)\n{\n\n\n\n return(0x1748);\n\n}" } ]
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 MCD_getCodeSize(void)\n\n{\n return 0x1748;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "int MCD_getCodeSize(void)\n{\n\n\n\n return(0x1748);\n\n}" } ]
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 MCD_getCodeSize(void)\n\n{\n return 0x1748;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "int MCD_getCodeSize(void)\n{\n\n\n\n return(0x1748);\n\n}" } ]
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 MCD_getCodeSize(void)\n\n{\n return 0x1748;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "int MCD_getCodeSize(void)\n{\n\n\n\n return(0x1748);\n\n}" } ]
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n long in_FS_OFFSET;\n int local_2c;\n int local_28;\n int local_24;\n void *local_20;\n void *local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n printf(&DAT_00100170);\n scanf(\"%d\",&loca...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n void *__ptr;\n uint *__ptr_00;\n int iVar1;\n uint uVar2;\n ulong uVar3;\n uint *puVar4;\n long in_FS_OFFSET;\n int local_38;\n int local_34;\n long local_30;\n \n local_30 = *(long *)(in_FS_OFFSET + 0x28);\n pr...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n void *__ptr;\n uint *__ptr_00;\n int iVar1;\n uint uVar2;\n ulong uVar3;\n uint *puVar4;\n long in_FS_OFFSET;\n int local_38;\n int local_34;\n long local_30;\n \n local_30 = *(long *)(in_FS_OFFSET + 0x28);\n pr...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n int iVar1;\n uint uVar2;\n void *__ptr;\n uint *__ptr_00;\n uint uVar3;\n uint *puVar4;\n long in_FS_OFFSET;\n int local_38;\n int local_34;\n long local_30;\n \n local_30 = *(long *)(in_FS_OFFSET + 0x28);\n pri...
[ { "role": "user", "content": "This is the pseudocode:\nvoid main(void)\n\n{\n undefined4 local_10;\n undefined4 local_c;\n \n for (local_10 = 0; local_10 < 10; local_10 = local_10 + 1) {\n for (local_c = 0; local_c < 10; local_c = local_c + 1) {\n }\n }\n return;\n}\nWhat is the C code?" }, ...
[ { "role": "user", "content": "This is the pseudocode:\nvoid main(void)\n\n{\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void main()\n{\n int z = 0;\n for (int i=0; i<10 ; i++)\n {\n z = z+1;\n for (int j = 0; j < 10 ; j++) ;\n z = z+1;\n }\n ...
[ { "role": "user", "content": "This is the pseudocode:\nvoid main(void)\n\n{\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void main()\n{\n int z = 0;\n for (int i=0; i<10 ; i++)\n {\n z = z+1;\n for (int j = 0; j < 10 ; j++) ;\n z = z+1;\n }\n ...
[ { "role": "user", "content": "This is the pseudocode:\nvoid main(void)\n\n{\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void main()\n{\n int z = 0;\n for (int i=0; i<10 ; i++)\n {\n z = z+1;\n for (int j = 0; j < 10 ; j++) ;\n z = z+1;\n }\n ...
[ { "role": "user", "content": "This is the pseudocode:\nvoid RTMemCacheDestroy(void)\n\n{\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void RTMemCacheDestroy(void){}" } ]
[ { "role": "user", "content": "This is the pseudocode:\nvoid RTMemCacheDestroy(void)\n\n{\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void RTMemCacheDestroy(void){}" } ]
[ { "role": "user", "content": "This is the pseudocode:\nvoid RTMemCacheDestroy(void)\n\n{\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void RTMemCacheDestroy(void){}" } ]
[ { "role": "user", "content": "This is the pseudocode:\nvoid RTMemCacheDestroy(void)\n\n{\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void RTMemCacheDestroy(void){}" } ]
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] early_serial_write(char *param_1,int param_2)\n\n{\n int local_14;\n char *local_10;\n \n local_14 = param_2;\n for (local_10 = param_1; *local_10 != '\\0'; local_10 = local_10 + 1) {\n if (local_14 == 0) break;\n if (*local_1...
[ { "role": "user", "content": "This is the pseudocode:\nbool main(void)\n\n{\n return DAT_00100068 + 3.0 == 0.0;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "int main(void)\n{\n int x = 3;\n\n float y = x + 1.0f;\n\n\n float a = 2.2f;\n int b = (int)a;\n\n\n long int lb = (long...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n return 0;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "int main(void)\n{\n int x = 3;\n\n float y = x + 1.0f;\n\n\n float a = 2.2f;\n int b = (int)a;\n\n\n long int lb = (long int)b;\n return y...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n return 0;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "int main(void)\n{\n int x = 3;\n\n float y = x + 1.0f;\n\n\n float a = 2.2f;\n int b = (int)a;\n\n\n long int lb = (long int)b;\n return y...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n return 0;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "int main(void)\n{\n int x = 3;\n\n float y = x + 1.0f;\n\n\n float a = 2.2f;\n int b = (int)a;\n\n\n long int lb = (long int)b;\n return y...
[ { "role": "user", "content": "This is the pseudocode:\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined [16]\nspline(double param_1,double param_2,double *param_3,double *param_4,int param_5,double *param_6)\n\n{\n int iVar1;\n double *__ptr;\n double dVa...
[ { "role": "user", "content": "This is the pseudocode:\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined [16]\nspline(double param_1,double param_2,double *param_3,double *param_4,int param_5,undefined8 *param_6\n )\n\n{\n double dVar1;\n int iVar2;\n ...
[ { "role": "user", "content": "This is the pseudocode:\nvoid spline(double param_1,double param_2,double *param_3,double *param_4,int param_5,\n undefined8 *param_6)\n\n{\n double dVar1;\n double dVar2;\n int iVar3;\n double *pdVar4;\n double *pdVar5;\n uint uVar6;\n double *pdVar7;\n doubl...
[ { "role": "user", "content": "This is the pseudocode:\nvoid spline(double param_1,double param_2,double *param_3,double *param_4,int param_5,\n undefined8 *param_6)\n\n{\n double dVar1;\n double dVar2;\n int iVar3;\n double *pdVar4;\n double *pdVar5;\n uint uVar6;\n double *pdVar7;\n doubl...
[ { "role": "user", "content": "This is the pseudocode:\nvoid ScalePlane(void)\n\n{\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void ScalePlane() {}" } ]
[ { "role": "user", "content": "This is the pseudocode:\nvoid ScalePlane(void)\n\n{\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void ScalePlane() {}" } ]
[ { "role": "user", "content": "This is the pseudocode:\nvoid ScalePlane(void)\n\n{\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void ScalePlane() {}" } ]
[ { "role": "user", "content": "This is the pseudocode:\nvoid ScalePlane(void)\n\n{\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void ScalePlane() {}" } ]
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] rtrim(char *param_1)\n\n{\n int iVar1;\n size_t sVar2;\n int local_14;\n \n sVar2 = strlen(param_1);\n local_14 = (int)sVar2;\n do {\n iVar1 = local_14;\n local_14 = iVar1 + -1;\n if (local_14 < 0) break;\n } while ((par...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] rtrim(char *param_1)\n\n{\n int iVar1;\n size_t sVar2;\n char *pcVar3;\n \n sVar2 = strlen(param_1);\n iVar1 = (int)sVar2 + -1;\n if (-1 < iVar1) {\n pcVar3 = param_1 + iVar1;\n do {\n if ((*pcVar3 != ' ') && (*pcVar3 !...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] rtrim(char *param_1)\n\n{\n char *pcVar1;\n size_t sVar2;\n uint uVar3;\n char *pcVar4;\n \n sVar2 = strlen(param_1);\n uVar3 = (int)sVar2 - 1;\n if ((int)uVar3 < 0) {\n pcVar4 = param_1 + (int)sVar2;\n }\n else {\n pcVar...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] rtrim(char *param_1)\n\n{\n char *pcVar1;\n size_t sVar2;\n uint uVar3;\n char *pcVar4;\n \n sVar2 = strlen(param_1);\n uVar3 = (int)sVar2 - 1;\n if ((int)uVar3 < 0) {\n pcVar4 = param_1 + (int)sVar2;\n }\n else {\n pcVar...
[ { "role": "user", "content": "This is the pseudocode:\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined8 EnableInterrupts(void)\n\n{\n _DAT_ffffffb0 = 1;\n return 0;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void EnableInter...
[ { "role": "user", "content": "This is the pseudocode:\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined8 EnableInterrupts(void)\n\n{\n _DAT_ffffffb0 = 1;\n return 0;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void EnableInter...
[ { "role": "user", "content": "This is the pseudocode:\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined8 EnableInterrupts(void)\n\n{\n _DAT_ffffffb0 = 1;\n return 0;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void EnableInter...
[ { "role": "user", "content": "This is the pseudocode:\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined8 EnableInterrupts(void)\n\n{\n _DAT_ffffffb0 = 1;\n return 0;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void EnableInter...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] without_dir(char *param_1)\n\n{\n char *pcVar1;\n undefined auVar2 [16];\n int local_24;\n char *local_20;\n \n pcVar1 = strrchr(param_1,0x2f);\n local_24 = 1;\n local_20 = pcVar1 + 1;\n while (*local_20 != '\\0') {\n local_2...
[ { "role": "user", "content": "This is the pseudocode:\nvoid without_dir(char *param_1)\n\n{\n char *pcVar1;\n char *pcVar2;\n char *pcVar3;\n int iVar4;\n \n pcVar1 = strrchr(param_1,0x2f);\n if (pcVar1[1] == '\\0') {\n iVar4 = 1;\n }\n else {\n pcVar3 = pcVar1 + 2;\n do {\n pcVar2 = ...
[ { "role": "user", "content": "This is the pseudocode:\nvoid without_dir(char *param_1)\n\n{\n char *pcVar1;\n size_t sVar2;\n char *__dest;\n \n pcVar1 = strrchr(param_1,0x2f);\n if (pcVar1[1] == '\\0') {\n sVar2 = 1;\n }\n else {\n sVar2 = strlen(pcVar1 + 2);\n sVar2 = (size_t)((int)sVar2 ...
[ { "role": "user", "content": "This is the pseudocode:\nvoid without_dir(char *param_1)\n\n{\n char *pcVar1;\n size_t sVar2;\n char *__dest;\n \n pcVar1 = strrchr(param_1,0x2f);\n if (pcVar1[1] == '\\0') {\n sVar2 = 1;\n }\n else {\n sVar2 = strlen(pcVar1 + 2);\n sVar2 = (size_t)((int)sVar2 ...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] AT91F_LoadBoot(void)\n\n{\n int iVar1;\n ulong uVar2;\n undefined auVar3 [16];\n \n iVar1 = read_dataflash(0xc0008000,0x21408,0x21f00000);\n if (iVar1 == 1) {\n uVar2 = 0xffffffff;\n }\n else {\n puts(\"F DF RD\");\n uVa...
[ { "role": "user", "content": "This is the pseudocode:\nint largestRectangleArea(long param_1,int param_2)\n\n{\n int iVar1;\n undefined4 *__ptr;\n int *__ptr_00;\n void *__ptr_01;\n int local_3c;\n int local_38;\n int local_34;\n int local_30;\n int local_2c;\n \n __ptr = (undefined4 *)malloc((lo...
[ { "role": "user", "content": "This is the pseudocode:\nint largestRectangleArea(long param_1,int param_2)\n\n{\n int iVar1;\n int iVar2;\n undefined4 *__ptr;\n int *__ptr_00;\n int *__ptr_01;\n int *piVar3;\n long lVar4;\n int iVar5;\n int iVar6;\n size_t __size;\n \n __size = (long)(param_2 + 1...
[ { "role": "user", "content": "This is the pseudocode:\nint largestRectangleArea(long param_1,uint param_2)\n\n{\n undefined4 *__ptr;\n int *__ptr_00;\n int *__ptr_01;\n long lVar1;\n int *piVar2;\n int iVar3;\n long lVar4;\n long lVar5;\n int iVar6;\n int iVar7;\n int iVar8;\n size_t __size;\n ...
[ { "role": "user", "content": "This is the pseudocode:\nuint largestRectangleArea(long param_1,ulong param_2)\n\n{\n int iVar1;\n uint uVar2;\n uint *puVar3;\n uint *puVar4;\n uint *puVar5;\n long lVar6;\n int iVar7;\n uint uVar8;\n undefined4 *__ptr;\n int *__ptr_00;\n uint *__ptr_01;\n long lVa...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(undefined4 param_1)\n\n{\n undefined8 uVar1;\n \n switch(param_1) {\n case 0:\n uVar1 = 4;\n break;\n case 1:\n uVar1 = 5;\n break;\n case 2:\n uVar1 = 4;\n break;\n case 3:\n uVar1 = 3;\n break;\n case 4:...
[ { "role": "user", "content": "This is the pseudocode:\nundefined4 main(undefined4 param_1)\n\n{\n switch(param_1) {\n case 0:\n case 2:\n return 4;\n case 1:\n return 5;\n case 3:\n return param_1;\n case 4:\n return 2;\n case 5:\n return 7;\n default:\n return 0;\n }\n}\nWhat is ...
[ { "role": "user", "content": "This is the pseudocode:\nundefined4 main(uint param_1)\n\n{\n undefined4 uVar1;\n \n uVar1 = 0;\n if (param_1 < 6) {\n uVar1 = *(undefined4 *)(CSWTCH_1 + (ulong)param_1 * 4);\n }\n return uVar1;\n}\nWhat is the C code?" }, { "role": "assistant", "content": ...
[ { "role": "user", "content": "This is the pseudocode:\nundefined4 main(uint param_1)\n\n{\n undefined4 uVar1;\n \n uVar1 = 0;\n if (param_1 < 6) {\n uVar1 = *(undefined4 *)(CSWTCH_1 + (ulong)param_1 * 4);\n }\n return uVar1;\n}\nWhat is the C code?" }, { "role": "assistant", "content": ...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] date_midnight(undefined8 param_1,undefined8 param_2)\n\n{\n date_time(param_1,param_2,0);\n return ZEXT816(0);\n}\nWhat is the C code?" }, { "role": "assistant", "content": "static void date_midnight(struct tm *tm, struct t...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] o(int param_1)\n\n{\n undefined4 local_c;\n \n for (local_c = param_1; local_c != 0; local_c = local_c >> 8) {\n g(local_c);\n if (local_c < 0) {\n local_c = local_c + 0xff;\n }\n }\n return ZEXT816(0);\n}\nWhat is the...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 o(int param_1)\n\n{\n int iVar1;\n \n if (param_1 != 0) {\n do {\n g(param_1);\n iVar1 = param_1 + 0xff;\n if (-1 < param_1) {\n iVar1 = param_1;\n }\n param_1 = iVar1 >> 8;\n } while (param_1 != 0);\n...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 o(int param_1)\n\n{\n if (param_1 == 0) {\n return 0;\n }\n do {\n g(param_1);\n if (param_1 < 0) {\n param_1 = param_1 + 0xff;\n }\n param_1 = param_1 >> 8;\n } while (param_1 != 0);\n return 0;\n}\nWhat is the C cod...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 o(int param_1)\n\n{\n if (param_1 == 0) {\n return 0;\n }\n do {\n g(param_1);\n if (param_1 < 0) {\n param_1 = param_1 + 0xff;\n }\n param_1 = param_1 >> 8;\n } while (param_1 != 0);\n return 0;\n}\nWhat is the C cod...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n long in_FS_OFFSET;\n uint local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n scanf(\"%d\",&local_14);\n if ((local_14 & 3) == 0) {\nLAB_00100062:\n if ((int)local_14 % 400 != 0) {\n i...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n long in_FS_OFFSET;\n uint local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n scanf(\"%d\",&local_14);\n if ((((local_14 & 3) == 0) || ((int)local_14 % 100 != 0)) && ((int)local_14 % 400 != 0)...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n long in_FS_OFFSET;\n uint local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n scanf(\"%d\",&local_14);\n if ((((local_14 & 3) == 0) || ((int)local_14 % 100 != 0)) &&\n (0xa3d70a < (local_1...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n long in_FS_OFFSET;\n uint local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n scanf(\"%d\",&local_14);\n if ((((local_14 & 3) == 0) || ((int)local_14 % 100 != 0)) &&\n (0xa3d70a < (local_1...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8\nfind_minimum(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,long param_7,\n float *param_8)\n\n{\n float fVar1;\n float fVar2;\n float fVar3;\n float fVar4;\n float fVar5;\n float fVar6;\n float fVa...
[ { "role": "user", "content": "This is the pseudocode:\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined8\nfind_minimum(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,long param_7,\n float *param_8)\n\n{\n float fVar1;\n f...
[ { "role": "user", "content": "This is the pseudocode:\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined4\nfind_minimum(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,long *param_7,\n float *param_8)\n\n{\n float fVar1;\n ...
[ { "role": "user", "content": "This is the pseudocode:\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined4\nfind_minimum(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6,long *param_7,\n float *param_8)\n\n{\n float fVar1;\n ...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 numcmp(double param_1,double param_2)\n\n{\n int iVar1;\n int iVar2;\n undefined8 uVar3;\n \n if (param_2 <= param_1) {\n if (param_1 <= param_2) {\n if (param_1 == param_2) {\n uVar3 = 0;\n }\n else {\n i...
[ { "role": "user", "content": "This is the pseudocode:\nuint numcmp(double param_1,double param_2)\n\n{\n int iVar1;\n int iVar2;\n uint uVar3;\n undefined8 in_RCX;\n \n uVar3 = 0xffffffff;\n if (((param_2 <= param_1) && (uVar3 = 1, param_1 <= param_2)) && (uVar3 = 0, param_1 != param_2))\n {\n iV...
[ { "role": "user", "content": "This is the pseudocode:\nuint numcmp(double param_1,double param_2)\n\n{\n int iVar1;\n int iVar2;\n uint uVar3;\n undefined8 extraout_RDX;\n \n if (param_1 < param_2) {\n uVar3 = 0xffffffff;\n }\n else {\n uVar3 = 1;\n if ((param_1 <= param_2) && (uVar3 = 0, p...
[ { "role": "user", "content": "This is the pseudocode:\nuint numcmp(double param_1,double param_2)\n\n{\n int iVar1;\n int iVar2;\n uint uVar3;\n undefined8 extraout_RDX;\n \n if (param_1 < param_2) {\n uVar3 = 0xffffffff;\n }\n else {\n uVar3 = 1;\n if ((param_1 <= param_2) && (uVar3 = 0, p...
[ { "role": "user", "content": "This is the pseudocode:\nundefined4 RNDResponseSink_AVTransport_Play(undefined8 param_1,uint param_2)\n\n{\n printf(\"RND Invoke Response: AVTransport/Play[ErrorCode:%d]()\\r\\n\",(ulong)param_2);\n return 0;\n}\nWhat is the C code?" }, { "role": "assistant", "con...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 RNDResponseSink_AVTransport_Play(void)\n\n{\n printf(\"RND Invoke Response: AVTransport/Play[ErrorCode:%d]()\\r\\n\");\n return 0;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void RNDResponseSink_AVTransport_P...
[ { "role": "user", "content": "This is the pseudocode:\nvoid RNDResponseSink_AVTransport_Play(void)\n\n{\n printf(\"RND Invoke Response: AVTransport/Play[ErrorCode:%d]()\\r\\n\");\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void RNDResponseSink_AVTransport_Play(stru...
[ { "role": "user", "content": "This is the pseudocode:\nvoid RNDResponseSink_AVTransport_Play(void)\n\n{\n printf(\"RND Invoke Response: AVTransport/Play[ErrorCode:%d]()\\r\\n\");\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void RNDResponseSink_AVTransport_Play(stru...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] is_pseudo_tty(int param_1)\n\n{\n int iVar1;\n char *pcVar2;\n ulong uVar3;\n undefined auVar4 [16];\n \n pcVar2 = ttyname(param_1);\n pcVar2 = (char *)(long)(int)pcVar2;\n iVar1 = strncmp(pcVar2,\"/dev/pts/\",9);\n if (iVar1 ==...
[ { "role": "user", "content": "This is the pseudocode:\nbool is_pseudo_tty(int param_1)\n\n{\n bool bVar1;\n int iVar2;\n char *pcVar3;\n \n pcVar3 = ttyname(param_1);\n pcVar3 = (char *)(long)(int)pcVar3;\n iVar2 = strncmp(pcVar3,\"/dev/pts/\",9);\n bVar1 = true;\n if (iVar2 != 0) {\n iVar2 = st...
[ { "role": "user", "content": "This is the pseudocode:\nbool is_pseudo_tty(int param_1)\n\n{\n bool bVar1;\n int iVar2;\n char *pcVar3;\n \n pcVar3 = ttyname(param_1);\n pcVar3 = (char *)(long)(int)pcVar3;\n iVar2 = strncmp(pcVar3,\"/dev/pts/\",9);\n bVar1 = true;\n if (iVar2 != 0) {\n iVar2 = st...
[ { "role": "user", "content": "This is the pseudocode:\nbool is_pseudo_tty(int param_1)\n\n{\n bool bVar1;\n int iVar2;\n char *pcVar3;\n \n pcVar3 = ttyname(param_1);\n pcVar3 = (char *)(long)(int)pcVar3;\n iVar2 = strncmp(pcVar3,\"/dev/pts/\",9);\n bVar1 = true;\n if (iVar2 != 0) {\n iVar2 = st...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] emit_fdivd(int param_1,int param_2,uint param_3)\n\n{\n undefined4 uVar1;\n \n assert(param_1 == 0x1f);\n if ((param_2 == 0x1e) || (param_2 == 0x1f)) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n assert(uVar1);\n assert(p...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] BGBMID_ScaleSampleHQ(long param_1,int param_2,long param_3,int param_4)\n\n{\n undefined4 local_c;\n \n if (param_2 == param_4) {\n for (local_c = 0; local_c < param_4; local_c = local_c + 1) {\n *(undefined2 *)(param_1 + (lon...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] BGBMID_ScaleSampleHQ(long param_1,int param_2,long param_3,int param_4)\n\n{\n long lVar1;\n \n if (param_2 == param_4) {\n if (0 < param_4) {\n lVar1 = 0;\n do {\n *(undefined2 *)(param_1 + lVar1) = *(undefined2 *...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] BGBMID_ScaleSampleHQ(long param_1,int param_2,long param_3,int param_4)\n\n{\n long lVar1;\n \n if (param_2 == param_4) {\n lVar1 = 0;\n if (0 < param_2) {\n do {\n *(undefined2 *)(param_1 + lVar1) = *(undefined2 *)(...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] BGBMID_ScaleSampleHQ(long param_1,uint param_2,long param_3,ulong param_4)\n\n{\n int iVar1;\n undefined8 uVar2;\n uint uVar3;\n int iVar4;\n long lVar5;\n uint uVar6;\n ulong uVar7;\n uint uVar8;\n \n uVar6 = (uint)param_4;\n ...
[ { "role": "user", "content": "This is the pseudocode:\nchar * replaceCRLF2Space(char *param_1)\n\n{\n char *local_10;\n \n for (local_10 = param_1; *local_10 != '\\0'; local_10 = local_10 + 1) {\n if ((*local_10 == '\\r') || (*local_10 == '\\n')) {\n *local_10 = ' ';\n }\n }\n return param_1...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] replaceCRLF2Space(char *param_1)\n\n{\n char cVar1;\n char *pcVar2;\n undefined auVar3 [16];\n \n cVar1 = *param_1;\n pcVar2 = param_1;\n while (cVar1 != '\\0') {\n if ((cVar1 == '\\r') || (cVar1 == '\\n')) {\n *pcVar2 = '...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] replaceCRLF2Space(char *param_1)\n\n{\n char *pcVar1;\n char *pcVar2;\n char cVar3;\n undefined auVar4 [16];\n \n cVar3 = *param_1;\n pcVar2 = param_1;\n while (cVar3 != '\\0') {\n while ((cVar3 != '\\r' && (cVar3 != '\\n'))) ...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] replaceCRLF2Space(char *param_1)\n\n{\n char *pcVar1;\n char cVar2;\n undefined auVar3 [16];\n undefined auVar4 [16];\n \n cVar2 = *param_1;\n pcVar1 = param_1;\n do {\n if (cVar2 == '\\0') {\n auVar3._8_8_ = 0;\n au...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n float fVar1;\n float local_1c;\n float local_18;\n float local_14;\n int local_10;\n \n local_1c = DAT_001000b0;\n local_18 = DAT_001000b4;\n local_14 = 0.0;\n for (local_10 = 1; fVar1 = local_1c, local_10 < 0xb; l...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n float fVar1;\n int iVar2;\n float fVar3;\n float fVar4;\n float fVar5;\n \n iVar2 = 10;\n fVar3 = 0.0;\n fVar1 = _LC1;\n fVar5 = _LC2;\n do {\n fVar4 = fVar1;\n fVar3 = fVar3 + fVar5 / fVar4;\n iVar2 = iV...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n float fVar1;\n int iVar2;\n float fVar3;\n float fVar4;\n float fVar5;\n \n fVar3 = 0.0;\n iVar2 = 10;\n fVar1 = _LC1;\n fVar5 = _LC2;\n do {\n fVar4 = fVar1;\n fVar3 = fVar3 + fVar5 / fVar4;\n iVar2 = iV...
[ { "role": "user", "content": "This is the pseudocode:\nundefined8 main(void)\n\n{\n printf(\"sum=%f\\n\",_LC0);\n return 0;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "int main(){\n float m=1,n=2,temp,s=0;int i;\n for(i=1;i<=10;i++){\n s+=m/n;\n temp=m;m=...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] _expect_false(int param_1,undefined8 param_2,undefined4 param_3)\n\n{\n if (param_1 == 0) {\n expectation_passed();\n }\n else {\n expect_false_failed(param_1,param_2,param_3);\n }\n return ZEXT816(0);\n}\nWhat is the C code?"...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] _expect_false(int param_1)\n\n{\n if (param_1 == 0) {\n expectation_passed();\n }\n else {\n expect_false_failed();\n }\n return ZEXT816(0);\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void _expe...
[ { "role": "user", "content": "This is the pseudocode:\nvoid _expect_false(int param_1)\n\n{\n if (param_1 == 0) {\n expectation_passed();\n return;\n }\n expect_false_failed();\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void _expect_false(int act, const ch...
[ { "role": "user", "content": "This is the pseudocode:\nvoid _expect_false(int param_1)\n\n{\n if (param_1 == 0) {\n expectation_passed();\n return;\n }\n expect_false_failed();\n return;\n}\nWhat is the C code?" }, { "role": "assistant", "content": "void _expect_false(int act, const ch...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] ecmp(char *param_1,char *param_2,int param_3)\n\n{\n char cVar1;\n char cVar2;\n ulong uVar3;\n undefined auVar4 [16];\n \n do {\n if (param_3 == 0) {\n uVar3 = 1;\n goto LAB_00100039;\n }\n cVar1 = *param_1;\n ...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] ecmp(long param_1,long param_2,uint param_3)\n\n{\n char *pcVar1;\n ulong uVar2;\n \n uVar2 = 0;\n do {\n if (uVar2 == param_3) {\n return ZEXT816(1);\n }\n pcVar1 = (char *)(param_1 + uVar2);\n uVar2 = uVar2 + 1;\n...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] ecmp(long param_1,long param_2,uint param_3)\n\n{\n char *pcVar1;\n ulong uVar2;\n \n uVar2 = 0;\n do {\n if (uVar2 == param_3) {\n return ZEXT816(1);\n }\n pcVar1 = (char *)(param_1 + uVar2);\n uVar2 = uVar2 + 1;\n...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] ecmp(long param_1,long param_2,uint param_3)\n\n{\n char *pcVar1;\n ulong uVar2;\n \n uVar2 = 0;\n do {\n if (uVar2 == param_3) {\n return ZEXT816(1);\n }\n pcVar1 = (char *)(param_1 + uVar2);\n uVar2 = uVar2 + 1;\n...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] abyx(double param_1,long param_2,int param_3)\n\n{\n undefined4 local_c;\n \n for (local_c = 0; local_c < param_3; local_c = local_c + 1) {\n *(double *)(param_2 + (long)local_c * 8) = *(double *)(param_2 + (long)local_c * 8) * par...
[ { "role": "user", "content": "This is the pseudocode:\nundefined [16] abyx(double param_1,double *param_2,int param_3)\n\n{\n double *pdVar1;\n \n if (0 < param_3) {\n pdVar1 = param_2 + param_3;\n do {\n *param_2 = param_1 * *param_2;\n param_2 = param_2 + 1;\n } while (param_2 != pd...