Mac D2COMP_AllocZeroedBlock: void* __cdecl (void)
It reads no register or stack args. It allocates 4 bytes through Fog (0x002f3336 with [ESP]=4 and file/line 0x866) and, on failure, reports via the out-of-memory handler (0x00034519, line 0x867). It then zeroes the block (bzero 0x00028d7f, size 4) and returns it (MOV EAX,ESI at 0x00041528). Callers: AllocCharSelectComponent and D2COMP_CreateCompositeUnit.
Changes 1, applied together
Set prototype
mac 0x000414bfsignatureundefined D2COMP_AllocZeroedBlock(void)→void* D2COMP_AllocZeroedBlock(void)conventionunknown→__cdecl