undefined4 rtmp_ee_flash_write(undefined4 param_1,uint param_2,undefined2 param_3)
{
undefined2 local_res8 [4];
if (init_flag != '\0') {
local_res8[0] = param_3;
memcpy((void *)(nv_ee_start + (param_2 & 0xffff)),local_res8,2) //possible issue identified - semgrep
if (g_EeBuffer_cache == (void *)0x0) {
RtmpFlashWrite(EeBuffer,0x34000,0x200);
}
else {
memcpy(g_EeBuffer_cache,EeBuffer,0x200) //possible issue identified - semgrep
}
}
return 0;
}