# WheaPlatformBoot

## Function Table

| Address | Name | Description |
|---------|------|-------------|
| _ModuleEntryPoint_ | **ModuleEntryPoint(ImageHandle, SystemTable)** | Main entry point. Caches state via `sub_510`, runs initialization pipeline, and returns `mWheaPlatformBootStatus`. |
| _0x510_ | **sub_510(ImageHandle, SystemTable)** | UEFI initialization hook; caches EFI driver context needed by later setup steps. |
| _0x904_ | **sub_904()** | Main WHEA platform boot initialization routine. |
| _0xAB0_ | **sub_AB0(&mWheaPlatformBootContext)** | Event/registration teardown callback for platform boot cleanup. |
| _0x320_ | **sub_320(&mWheaPlatformBootContext, -1)** | Secondary teardown/cleanup callback invoked during error path initialization recovery. |
| _0xC40_ | **sub_C40(file, line, expr)** | AutoGen assertion stub used during module entry failure handling. |
| _0x280_ | **sub_280(&mWheaPlatformBootContext)** | Initialization validation gate invoked before platform configuration. |
| _0xCF4_ | **sub_CF4()** | Error cleanup handler when final status is an EFI error. |

## Module Variables

- `mWheaPlatformBootStatus` (recovered from `qword_30C8`)
- `mWheaPlatformBootContext` (recovered from `unk_2FD0`)

---
*Generated by HR650X BIOS Decompilation Project*
