mirror of
https://github.com/foxsen/archbase.git
synced 2026-02-04 10:54:05 +08:00
18 lines
194 B
C
18 lines
194 B
C
int st(int a, int b, int c)
|
|
{
|
|
switch (a) {
|
|
case 15:
|
|
c = b & 0xf;
|
|
case 10:
|
|
return c + 50;
|
|
case 12:
|
|
case 17:
|
|
return b + 50;
|
|
case 14:
|
|
return b;
|
|
default:
|
|
return a;
|
|
}
|
|
}
|
|
|