Newer
Older
AMI-Aptio-BIOS-Reversed / PurleySktPkg / SouthClusterLbg / SiInit / Pei / SiInitPreMem / decompiled / ffd8040b.c
@Ajax Dong Ajax Dong 2 days ago 767 bytes Restructure the repo
// 0xffd8040b
{"addr":"0xffd8040b","code":"int __thiscall sub_FFD8040B(_BYTE *this)\n{\n  int v3; // [esp+8h] [ebp-8h] BYREF\n\n  sub_FFD8C578(-983041, 0); /*0xffd80425*/\n  if ( (*(this + 3504) & 1) != 0 ) /*0xffd80434*/\n  {\n    sub_FFD8C578(-1, 16); /*0xffd8047a*/\nLABEL_6:\n    MEMORY[0xFE0005D0] = 0x80000000; /*0xffd80481*/\n    return sub_FFD8C578(-1, 1); /*0xffd80481*/\n  }\n  if ( (*(this + 3504) & 2) != 0 ) /*0xffd8043d*/\n  {\n    sub_FFD8C2A0(0xB8u, 4u, 4, &v3); /*0xffd8044a*/\n    if ( (v3 & 0x600) != 0 ) /*0xffd8045d*/\n      goto LABEL_6; /*0xffd8045d*/\n  }\n  sub_FFD8C578(-17, 1); /*0xffd80468*/\n  return sub_FFD8C578(-1, 1); /*0xffd8049b*/\n}","refs":[{"addr":"0xffd8c578","name":"sub_FFD8C578"},{"addr":"0xffd8c2a0","name":"sub_FFD8C2A0"}]}