text: // C:\diabpsx\SOURCE\MINITEXT.CPP
  
  #include "types.h"
  
  // address: 0x8004D764
  // line start: 112
  // line end:   115
  void FreeQuestText__Fv() {
  }
  
  
  // address: 0x8004D76C
  // line start: 119
  // line end:   123
  void InitQuestText__Fv() {
  }
  
  
  // address: 0x8004D778
  // line start: 133
  // line end:   221
  void CalcTextSpeed__FPCc(char *Name) {
  	// register: 17
  	register char *ptr;
  	// address: 0xFFFFFFD0
  	// size: 0x10
  	auto char SpeechName[16];
  	// register: 16
  	register unsigned long SfxFrames;
  	// register: 3
  	register unsigned long TextHeight;
  	{
  		{
  			// register: 3
  			// size: 0x4
  			register enum LANG_TYPE Lang;
  			// address: 0xFFFFFFE0
  			// size: 0x2
  			auto char Prefix[2];
  			// address: 0xFFFFFFE8
  			// size: 0x8
  			auto struct RECT Window;
  		}
  	}
  }
  
  
  // address: 0x8004D934
  // line start: 240
  // line end:   283
  void FadeMusicTSK__FP4TASK(struct TASK *T) {
  	// register: 16
  	register long MusicVolume;
  }
  
  
  // address: 0x8004DA80
  // line start: 296
  // line end:   392
  void InitQTextMsg__Fi(int m) {
  	{
  		// register: 16
  		register int i;
  		{
  			{
  				// register: 3
  				// size: 0x10
  				register struct DEF_ARGS *args;
  			}
  		}
  	}
  }
  
  
  // address: 0x8004DCD4
  // line start: 397
  // line end:   425
  void DrawQTextBack__Fv() {
  	{
  		{
  			{
  				{
  					// address: 0xFFFFFF98
  					// size: 0x50
  					auto char BookName[80];
  					// address: 0xFFFFFFE8
  					// size: 0x8
  					auto struct RECT ClipRect;
  					// register: 17
  					register int oldot;
  				}
  			}
  		}
  	}
  }
  
  
  // address: 0x8004DE70
  // line start: 439
  // line end:   545
  void DrawQTextTSK__FP4TASK(struct TASK *T) {
  	// register: 16
  	// size: 0x10
  	register struct DEF_ARGS *args;
  	// register: 17
  	register int pnum;
  	// address: 0xFFFFFFE0
  	// size: 0xE
  	auto char Name[14];
  	// register: 18
  	register char stextflagsave;
  }
  
  
  // address: 0x8004E158
  // line start: 564
  // line end:   575
  int KANJI_strlen__FPc(char *str) {
  	// register: 5
  	register int l;
  }
  
  
  // address: 0x8004E198
  // line start: 587
  // line end:   813
  void DrawQText__Fv() {
  	// register: 17
  	register char *p;
  	// register: 30
  	register char *pnl;
  	// register: 21
  	register char *SpacePtr;
  	// register: 22
  	register int ty;
  	// register: 18
  	register int l;
  	// register: 23
  	register unsigned char doneflag;
  	// address: 0xFFFFFFC0
  	// size: 0x8
  	auto struct RECT ClipRect;
  	// register: 4
  	register unsigned long currTime;
  	// register: 19
  	register int LetterCount;
  	// register: 20
  	register int KanjiCount;
  	// register: 16
  	register char *t;
  	// register: 16
  	register int textot;
  	// register: 16
  	register int OldDOt;
  	// address: 0xFFFFFFC8
  	auto int OldOt;
  	// register: 3
  	register int TextYSize;
  	{
  		{
  			{
  				{
  					{
  						// register: 3
  						register int diff;
  						{
  							{
  								// register: 3
  								register int diff;
  								{
  									{
  										{
  											// register: 3
  											register int diff;
  										}
  									}
  								}
  							}
  						}
  					}
  				}
  			}
  		}
  	}
  }
  
  
  // address: 0x8004E744
  // line start: 817
  // line end:   817
  void _GLOBAL__D_QBack() {
  }
  
  
  // address: 0x8004E76C
  // line start: 817
  // line end:   817
  void _GLOBAL__I_QBack() {
  }
  
  
  