text: // C:\diabpsx\PSXSRC\DIALOG.CPP
  
  #include "types.h"
  
  // address: 0x80082EEC
  // line start: 110
  // line end:   113
  unsigned char TrimCol__Fs(short col) {
  }
  
  
  // address: 0x80082F24
  // size: 0x34
  // line start: 204
  // line end:   385
  struct POLY_GT4 *DialogPrint__Fiiiiiiiiii(int Frm, int X, int Y, int SW, int SH, int UW, int UH, int UOfs, int VOfs, int Trans) {
  	// address: 0xFFFFFF78
  	// size: 0xC
  	auto struct FRAME_HDR *Fr;
  	// register: 17
  	// size: 0x34
  	register struct POLY_GT4 *GT4;
  	// register: 16
  	// size: 0x28
  	register struct POLY_FT4 *FT4;
  	// address: 0xFFFFFF80
  	// size: 0x4
  	auto struct TP_LOAD_HDR *Tp;
  	// address: 0xFFFFFF88
  	auto int x0;
  	// address: 0xFFFFFF90
  	auto int x1;
  	// address: 0xFFFFFF98
  	auto int x2;
  	// address: 0xFFFFFFA0
  	auto int x3;
  	// address: 0xFFFFFFA8
  	auto int y0;
  	// address: 0xFFFFFFB0
  	auto int y1;
  	// address: 0xFFFFFFB8
  	auto int y2;
  	// address: 0xFFFFFFC0
  	auto int y3;
  	// register: 18
  	register int u0;
  	// register: 19
  	register int u1;
  	// register: 23
  	register int u2;
  	// register: 30
  	register int u3;
  	// register: 21
  	register int v0;
  	// register: 20
  	register int v1;
  	// register: 22
  	register int v2;
  	// address: 0xFFFFFFC8
  	auto int v3;
  	// register: 6
  	register int U;
  	// register: 5
  	register int V;
  	// register: 4
  	register int W;
  	// register: 7
  	register int H;
  	{
  		{
  			{
  				{
  					// register: 3
  					// size: 0x8
  					register struct PAL *Pal;
  					{
  						{
  							{
  								// register: 3
  								// size: 0x8
  								register struct PAL *Pal;
  								// register: 16
  								register short G1;
  								// register: 18
  								register short G2;
  								// register: 19
  								register short G3;
  								// register: 20
  								register short G4;
  								{
  									{
  									}
  								}
  							}
  						}
  					}
  				}
  			}
  		}
  	}
  }
  
  
  // address: 0x8008389C
  // size: 0x24
  // line start: 391
  // line end:   402
  struct POLY_G4 *GetDropShadowG4__FUcUcUcUcUcUcUcUcUcUcUcUc(unsigned char r0, unsigned char g0, unsigned char b0, unsigned char r1, int g1, int b1, int r2, int g2, int b2, int r3, int g3, int b3) {
  	// register: 2
  	// size: 0x24
  	register struct POLY_G4 *G4;
  }
  
  
  // address: 0x800839D4
  // line start: 406
  // line end:   459
  void DropShadows__Fiiii(int x, int y, int w, int h) {
  	// register: 2
  	// size: 0x24
  	register struct POLY_G4 *G4;
  	// register: 19
  	register unsigned char dbr;
  	// register: 17
  	register unsigned char dbg;
  	// register: 16
  	register unsigned char dbb;
  }
  
  
  // address: 0x80083C78
  // line start: 474
  // line end:   492
  void InitDialog__Fv() {
  	{
  		// register: 16
  		register int i;
  		{
  			// register: 18
  			register int y;
  			// register: 16
  			register int i;
  			{
  				// register: 16
  				register unsigned char bits;
  				{
  					// register: 17
  					register int x;
  					{
  						// register: 18
  						register int i;
  						// register: 18
  						register int y;
  					}
  				}
  			}
  		}
  	}
  }
  
  
  // address: 0x80083DB0
  // line start: 496
  // line end:   552
  void GetSizes__6Dialog(struct Dialog *this) {
  	// register: 3
  	// size: 0xC
  	register struct FRAME_HDR *Fr;
  }
  
  
  // address: 0x80084008
  // line start: 565
  // line end:   989
  void Back__6Dialogiiii(struct Dialog *this, int DX, int DY, int DW, int DH) {
  	// register: 30
  	register int X;
  	// register: 23
  	register int Y;
  	// address: 0xFFFFFF70
  	auto int W;
  	// address: 0xFFFFFF78
  	auto int H;
  	// register: 18
  	register int Bx;
  	// register: 20
  	register int By;
  	// register: 19
  	register int Xr;
  	// register: 22
  	register int Yr;
  	// register: 17
  	register int Xl;
  	// register: 21
  	register int Yl;
  	// register: 4
  	// size: 0x28
  	register struct POLY_FT4 *Ft4;
  	// address: 0xFFFFFF68
  	// size: 0x8
  	auto struct RECT ClipRect;
  	// address: 0xFFFFFF90
  	auto char trans;
  	{
  		{
  			{
  				{
  					{
  						// register: 16
  						register int c;
  						{
  							// register: 2
  							// size: 0xC
  							register struct FRAME_HDR *Fr;
  							// register: 3
  							register int fw;
  							// register: 5
  							register int fh;
  						}
  					}
  				}
  			}
  		}
  	}
  }
  
  
  // address: 0x800851C8
  // line start: 993
  // line end:   1081
  void Line__6Dialogiii(struct Dialog *this, int DX, int DY, int DW) {
  	// register: 20
  	register int X;
  	// register: 23
  	register int Y;
  	// register: 19
  	register int W;
  	// register: 17
  	register int Bx;
  	// register: 16
  	register int Xr;
  	// register: 16
  	register int Xl;
  	// address: 0xFFFFFFC8
  	// size: 0x8
  	auto struct RECT ClipRect;
  	// register: 21
  	register char trans;
  }
  
  
  