aboutsummaryrefslogtreecommitdiffstats
path: root/fw/pseudo/csu.csu_cmd01.after.c
blob: dbe068591103ce6a94da3423608826016e79d8fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
int __fastcall csu_cmd01(void *ctx, struct ta_params *params)
{
  int result; // r0
  char v4; // r1
  int ctxa; // [sp+4h] [bp-4h] BYREF

  ctxa = 0;
  result = csu_cmd01__h1(ctx: &ctxa, params);
  if ( result == 0 )
  {
    v4 = ctxa;
    *((_BYTE *)ctx + 17) = ctxa & 1;
    *((_BYTE *)ctx + 19) = (v4 & 4) != 0;
    *((_BYTE *)ctx + 18) = (v4 & 2) != 0;
    *((_BYTE *)ctx + 16) = (v4 & 7) != 0;
  }
  return result;
}