CommonThisEventPatch

When being inside a common-event, redirect all references to this-event in commands to the topmost (first available) map-event to be found on the current interpreter's callstack. This behaviour was also added to RPG2003 by default with official update 1.12.

Originally made and first released by Cherry.

RPG2000
1.00UNKNOWN2000-05-072000-06-192000-07-112000-11-132000-11-152000-12-27
1.07
2001-05-05
1.10
2003-03-27
1.50
2003-06-25
1.51/1.52
2015-07-05
1.60
2015-09-15
1.61
2017-09-14
1.62
RPG2003
1.00UNKNOWN1UNKNOWN21.0.2.1
1.0.2.1
1.0.3.0
1.0.4.0
1.0.5.0
1.0.5.0
1.0.6.0
1.0.6.0
1.0.7.0
1.0.7.0
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
1.101.111.12mp210414

Segment 1/8

Offsets

RPG2000
2000-12-27
1.07
2001-05-05
1.10
2003-03-27
1.50
2003-06-25
1.51/1.52
2015-07-05
1.60
2015-09-15
1.61
2017-09-14
1.62
00431800h
00030C00h
00431794h
00030B94h
00431890h
00030C90h
004318D4h
00030CD4h
00431A28h
00030E28h
00431E38h
00031238h
00431E38h
00031238h
RPG2003
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
00443900h
00042D00h
00443900h
00042D00h

Sourcecode

__CTEPMainA:
			CMP EDX, 10005
			JE __ThisEventDetected
__StackFound:
			MOV EAX, EDX
			ADD EAX, FFFFD8EFh
			JMP __00485B53h
__ThisEventDetected:
			CMP DWORD PTR [ECX+1Ch], 0
			JG __StackFound
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerA:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __00485B96h
			TEST ECX, ECX
			JNZ __NextCallstackLayerA
			XOR EDX, EDX
			JMP __00485B96h
			NOP
			NOP
			NOP
PROC__CTEPMainB:
			CALL PROC__0045E524h
			MOV EDX, EAX
			CMP EDX, 10005
			JNE __SkipEverything
PROC__CTEPMainEx:
			MOV ECX, [ESP+04h]
			MOV EDX, [ECX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			MOV EAX, [ESP+08h]
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerB:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			TEST ECX, ECX
			JNZ __NextCallstackLayerB
			XOR EDX, EDX
__SkipEverything:
			MOV EAX, EDX
			RET 0008h
__CTEPMainA:
			CMP EDX, 10005
			JE __ThisEventDetected
__StackFound:
			MOV EAX, EDX
			ADD EAX, FFFFD8EFh
			JMP __00485A63h
__ThisEventDetected:
			CMP DWORD PTR [ECX+1Ch], 0
			JG __StackFound
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerA:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __00485AA6h
			TEST ECX, ECX
			JNZ __NextCallstackLayerA
			XOR EDX, EDX
			JMP __00485AA6h
			NOP
			NOP
			NOP
PROC__CTEPMainB:
			CALL PROC__0045E424h
			MOV EDX, EAX
			CMP EDX, 10005
			JNE __SkipEverything
PROC__CTEPMainEx:
			MOV ECX, [ESP+04h]
			MOV EDX, [ECX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			MOV EAX, [ESP+08h]
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerB:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			TEST ECX, ECX
			JNZ __NextCallstackLayerB
			XOR EDX, EDX
__SkipEverything:
			MOV EAX, EDX
			RET 0008h
__CTEPMainA:
			CMP EDX, 10005
			JE __ThisEventDetected
__StackFound:
			MOV EAX, EDX
			ADD EAX, FFFFD8EFh
			JMP __0048AAB3h
__ThisEventDetected:
			CMP DWORD PTR [ECX+1Ch], 0
			JG __StackFound
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerA:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __0048AAF6h
			TEST ECX, ECX
			JNZ __NextCallstackLayerA
			XOR EDX, EDX
			JMP __0048AAF6h
			NOP
			NOP
			NOP
PROC__CTEPMainB:
			CALL PROC__00463428h
			MOV EDX, EAX
			CMP EDX, 10005
			JNE __SkipEverything
PROC__CTEPMainEx:
			MOV ECX, [ESP+04h]
			MOV EDX, [ECX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			MOV EAX, [ESP+08h]
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerB:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			TEST ECX, ECX
			JNZ __NextCallstackLayerB
			XOR EDX, EDX
__SkipEverything:
			MOV EAX, EDX
			RET 0008h
__CTEPMainA:
			CMP EDX, 10005
			JE __ThisEventDetected
__StackFound:
			MOV EAX, EDX
			ADD EAX, FFFFD8EFh
			JMP __0048ABCFh
__ThisEventDetected:
			CMP DWORD PTR [ECX+1Ch], 0
			JG __StackFound
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerA:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __0048AC12h
			TEST ECX, ECX
			JNZ __NextCallstackLayerA
			XOR EDX, EDX
			JMP __0048AC12h
			NOP
			NOP
			NOP
PROC__CTEPMainB:
			CALL PROC__00463544h
			MOV EDX, EAX
			CMP EDX, 10005
			JNE __SkipEverything
PROC__CTEPMainEx:
			MOV ECX, [ESP+04h]
			MOV EDX, [ECX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			MOV EAX, [ESP+08h]
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerB:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			TEST ECX, ECX
			JNZ __NextCallstackLayerB
			XOR EDX, EDX
__SkipEverything:
			MOV EAX, EDX
			RET 0008h
__CTEPMainA:
			CMP EDX, 10005
			JE __ThisEventDetected
__StackFound:
			MOV EAX, EDX
			ADD EAX, FFFFD8EFh
			JMP __0048943Fh
__ThisEventDetected:
			CMP DWORD PTR [ECX+1Ch], 0
			JG __StackFound
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerA:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __00489482h
			TEST ECX, ECX
			JNZ __NextCallstackLayerA
			XOR EDX, EDX
			JMP __00489482h
			NOP
			NOP
			NOP
PROC__CTEPMainB:
			CALL PROC__00463654h
			MOV EDX, EAX
			CMP EDX, 10005
			JNE __SkipEverything
PROC__CTEPMainEx:
			MOV ECX, [ESP+04h]
			MOV EDX, [ECX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			MOV EAX, [ESP+08h]
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerB:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			TEST ECX, ECX
			JNZ __NextCallstackLayerB
			XOR EDX, EDX
__SkipEverything:
			MOV EAX, EDX
			RET 0008h
__CTEPMainA:
			CMP EDX, 10005
			JE __ThisEventDetected
__StackFound:
			MOV EAX, EDX
			ADD EAX, FFFFD8EFh
			JMP __00489E0Fh
__ThisEventDetected:
			CMP DWORD PTR [ECX+1Ch], 0
			JG __StackFound
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerA:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __00489E52h
			TEST ECX, ECX
			JNZ __NextCallstackLayerA
			XOR EDX, EDX
			JMP __00489E52h
			NOP
			NOP
			NOP
PROC__CTEPMainB:
			CALL PROC__00463C0Ch
			MOV EDX, EAX
			CMP EDX, 10005
			JNE __SkipEverything
PROC__CTEPMainEx:
			MOV ECX, [ESP+04h]
			MOV EDX, [ECX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			MOV EAX, [ESP+08h]
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerB:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			TEST ECX, ECX
			JNZ __NextCallstackLayerB
			XOR EDX, EDX
__SkipEverything:
			MOV EAX, EDX
			RET 0008h
__CTEPMainA:
			CMP EDX, 10005
			JE __ThisEventDetected
__StackFound:
			MOV EAX, EDX
			ADD EAX, FFFFD8EFh
			JMP __0048C4D7h
__ThisEventDetected:
			CMP DWORD PTR [ECX+1Ch], 0
			JG __StackFound
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerA:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __0048C51Ah
			TEST ECX, ECX
			JNZ __NextCallstackLayerA
			XOR EDX, EDX
			JMP __0048C51Ah
			NOP
			NOP
			NOP
PROC__CTEPMainB:
			CALL PROC__00463E08h
			MOV EDX, EAX
			CMP EDX, 10005
			JNE __SkipEverything
PROC__CTEPMainEx:
			MOV ECX, [ESP+04h]
			MOV EDX, [ECX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			MOV EAX, [ESP+08h]
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerB:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			TEST ECX, ECX
			JNZ __NextCallstackLayerB
			XOR EDX, EDX
__SkipEverything:
			MOV EAX, EDX
			RET 0008h
__CTEPMainA:
			CMP EDX, 10005
			JE __ThisEventDetected
__StackFound:
			MOV EAX, EDX
			ADD EAX, FFFFD8EFh
			JMP __004AC277h
__ThisEventDetected:
			CMP DWORD PTR [ECX+1Ch], 0
			JG __StackFound
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerA:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __004AC2BAh
			TEST ECX, ECX
			JNZ __NextCallstackLayerA
			XOR EDX, EDX
			JMP __004AC2BAh
			NOP
			NOP
			NOP
PROC__CTEPMainB:
			CALL PROC__0047967Ch
			MOV EDX, EAX
			CMP EDX, 10005
			JNE __SkipEverything
PROC__CTEPMainEx:
			MOV ECX, [ESP+04h]
			MOV EDX, [ECX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			MOV EAX, [ESP+08h]
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerB:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			TEST ECX, ECX
			JNZ __NextCallstackLayerB
			XOR EDX, EDX
__SkipEverything:
			MOV EAX, EDX
			RET 0008h
__CTEPMainA:
			CMP EDX, 10005
			JE __ThisEventDetected
__StackFound:
			MOV EAX, EDX
			ADD EAX, FFFFD8EFh
			JMP __004B4C0Fh
__ThisEventDetected:
			CMP DWORD PTR [ECX+1Ch], 0
			JG __StackFound
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerA:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __004B4C52h
			TEST ECX, ECX
			JNZ __NextCallstackLayerA
			XOR EDX, EDX
			JMP __004B4C52h
			NOP
			NOP
			NOP
PROC__CTEPMainB:
			CALL PROC__0047967Ch
			MOV EDX, EAX
			CMP EDX, 10005
			JNE __SkipEverything
PROC__CTEPMainEx:
			MOV ECX, [ESP+04h]
			MOV EDX, [ECX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			MOV EAX, [ESP+08h]
			MOV EAX, [EAX+04h]
			MOV EAX, [EAX+08h]
			MOV ECX, [EAX+08h]
			MOV EAX, [EAX+04h]
__NextCallstackLayerB:
			DEC ECX
			MOV EDX, [EAX+ECX*4]
			MOV EDX, [EDX+1Ch]
			CMP EDX, 0
			JG __SkipEverything
			TEST ECX, ECX
			JNZ __NextCallstackLayerB
			XOR EDX, EDX
__SkipEverything:
			MOV EAX, EDX
			RET 0008h

Bytes

81FA15270000 740C
8BC2 05EFD8FFFF E93F430500
83791C00 7FEE
8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 0F8F60430500
85C9 75ED
33D2 E955430500
90 90 90

E8DBCC0200
8BD0 81FA15270000 752F
90 8B4C2404 8B511C 83FA00 7F22
8B442408 8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 7F06
85C9 75EC
33D2 8BC2 C20800 90
81FA15270000 740C
8BC2 05EFD8FFFF E9BB420500
83791C00 7FEE
8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 0F8FDC420500
85C9 75ED
33D2 E9D1420500
90 90 90

E847CC0200
8BD0 81FA15270000 752F
90 8B4C2404 8B511C 83FA00 7F22
8B442408 8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 7F06
85C9 75EC
33D2 8BC2 C20800 90
81FA15270000 740C
8BC2 05EFD8FFFF E907920500
83791C00 7FEE
8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 0F8F28920500
85C9 75ED
33D2 E91D920500
90 90 90

E8471B0300
8BD0 81FA15270000 752F
90 8B4C2404 8B511C 83FA00 7F22
8B442408 8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 7F06
85C9 75EC
33D2 8BC2 C20800 90
81FA15270000 740C
8BC2 05EFD8FFFF E9E7920500
83791C00 7FEE
8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 0F8F08930500
85C9 75ED
33D2 E9FD920500
90 90 90

E8271C0300
8BD0 81FA15270000 752F
90 8B4C2404 8B511C 83FA00 7F22
8B442408 8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 7F06
85C9 75EC
33D2 8BC2 C20800 90
81FA15270000 740C
8BC2 05EFD8FFFF E9037A0500
83791C00 7FEE
8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 0F8F247A0500
85C9 75ED
33D2 E9197A0500
90 90 90

E8E31B0300
8BD0 81FA15270000 752F
90 8B4C2404 8B511C 83FA00 7F22
8B442408 8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 7F06
85C9 75EC
33D2 8BC2 C20800 90
81FA15270000 740C
8BC2 05EFD8FFFF E9C37F0500
83791C00 7FEE
8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 0F8FE47F0500
85C9 75ED
33D2 E9D97F0500
90 90 90

E88B1D0300
8BD0 81FA15270000 752F
90 8B4C2404 8B511C 83FA00 7F22
8B442408 8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 7F06
85C9 75EC
33D2 8BC2 C20800 90
81FA15270000 740C
8BC2 05EFD8FFFF E98BA60500
83791C00 7FEE
8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 0F8FACA60500
85C9 75ED
33D2 E9A1A60500
90 90 90

E8871F0300
8BD0 81FA15270000 752F
90 8B4C2404 8B511C 83FA00 7F22
8B442408 8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 7F06
85C9 75EC
33D2 8BC2 C20800 90
81FA15270000 740C
8BC2 05EFD8FFFF E963890600
83791C00 7FEE
8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 0F8F84890600
85C9 75ED
33D2 E979890600
90 90 90

E8335D0300
8BD0 81FA15270000 752F
90 8B4C2404 8B511C 83FA00 7F22
8B442408 8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 7F06
85C9 75EC
33D2 8BC2 C20800 90
81FA15270000 740C
8BC2 05EFD8FFFF E9FB120700
83791C00 7FEE
8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 0F8F1C130700
85C9 75ED
33D2 E911130700
90 90 90

E8335D0300
8BD0 81FA15270000 752F
90 8B4C2404 8B511C 83FA00 7F22
8B442408 8B4004 8B4008 8B4808 8B4004 49 8B1488 8B521C 83FA00 7F06
85C9 75EC
33D2 8BC2 C20800 90

Segment 2/8

Offsets

RPG2000
2000-12-27
1.07
2001-05-05
1.10
2003-03-27
1.50
2003-06-25
1.51/1.52
2015-07-05
1.60
2015-09-15
1.61
2017-09-14
1.62
00485B4Ch
00084F4Ch
00485A5Ch
00084E5Ch
0048AAACh
00089EACh
0048ABC8h
00089FC8h
00489438h
00088838h
00489E08h
00089208h
0048C4D0h
0008B8D0h
RPG2003
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
004AC270h
000AB670h
004B4C08h
000B4008h

Sourcecode

			JMP __CTEPMainA				; 00431800h
			JMP __CTEPMainA				; 00431794h
			JMP __CTEPMainA				; 00431890h
			JMP __CTEPMainA				; 004318D4h
			JMP __CTEPMainA				; 00431A28h
			JMP __CTEPMainA				; 00431E38h
			JMP __CTEPMainA				; 00431E38h
			JMP __CTEPMainA				; 00443900h
			JMP __CTEPMainA				; 00443900h

Bytes

E9AFBCFAFF
E933BDFAFF
E9DF6DFAFF
E9076DFAFF
E9EB85FAFF
E92B80FAFF
E96359FAFF
E98B76F9FF
E9F3ECF8FF

Segment 3/8

Offsets

RPG2000
2000-12-27
1.07
2001-05-05
1.10
2003-03-27
1.50
2003-06-25
1.51/1.52
2015-07-05
1.60
2015-09-15
1.61
2017-09-14
1.62
004881A9h
000875A9h
004880B9h
000874B9h
0048D229h
0008C629h
0048D345h
0008C745h
0048BBB9h
0008AFB9h
0048C5C5h
0008B9C5h
0048EC8Dh
0008E08Dh
RPG2003
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
004AEF3Ah
000AE33Ah
004B78D2h
000B6CD2h

Sourcecode

			PUSH EAX
			PUSH ESI
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 00431844h
			JMP __004881C5h
			PUSH EAX
			PUSH ESI
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 004317D8h
			JMP __004880D5h
			PUSH EAX
			PUSH ESI
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 004318D4h
			JMP __0048D245h
			PUSH EAX
			PUSH ESI
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 00431918h
			JMP __0048D361h
			PUSH EAX
			PUSH ESI
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 00431A6Ch
			JMP __0048BBD5h
			PUSH EAX
			PUSH ESI
			MOV EAX, EBX
			CALL PROC__CTEPMainB			: 00431E7Ch
			JMP __0048C5E1h
			PUSH EAX
			PUSH ESI
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 00431E7Ch
			JMP __0048ECA9h
			PUSH EAX
			PUSH ESI
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 00443944h
			JMP __004AEF56h
			PUSH EAX
			PUSH ESI
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 00443944h
			JMP __004B78EEh

Bytes

50 56 8BC3 E89296FAFF
EB11
50 56 8BC3 E81697FAFF
EB11
50 56 8BC3 E8A246FAFF
EB11
50 56 8BC3 E8CA45FAFF
EB11
50 56 8BC3 E8AA5EFAFF
EB11
50 56 8BC3 E8AE58FAFF
EB11
50 56 8BC3 E8E631FAFF
EB11
50 56 8BC3 E8014AF9FF
EB11
50 56 8BC3 E869C0F8FF
EB11

Segment 4/8

Offsets

RPG2000
2000-12-27
1.07
2001-05-05
1.10
2003-03-27
1.50
2003-06-25
1.51/1.52
2015-07-05
1.60
2015-09-15
1.61
2017-09-14
1.62
00488275h
00087675h
00488185h
00087585h
0048D2F5h
0008C6F5h
0048D411h
0008C811h
0048BC85h
0008B085h
0048C691h
0008BA91h
0048ED59h
0008E159h
RPG2003
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
004AF0A9h
000AE4A9h
004B7A41h
000B6E41h

Sourcecode

			PUSH EAX
			PUSH EAX
			PUSH EDI
			MOV EAX, ESI
			CALL PROC__CTEPMainB			; 00431844h
			JMP __00488291h
			PUSH EAX
			PUSH EAX
			PUSH EDI
			MOV EAX, ESI
			CALL PROC__CTEPMainB			; 004317D8h
			JMP __004881A1h
			PUSH EAX
			PUSH EAX
			PUSH EDI
			MOV EAX, ESI
			CALL PROC__CTEPMainB			; 004318D4h
			JMP __0048D311h
			PUSH EAX
			PUSH EAX
			PUSH EDI
			MOV EAX, ESI
			CALL PROC__CTEPMainB			; 00431918h
			JMP __0048D42Dh
			PUSH EAX
			PUSH EAX
			PUSH EDI
			MOV EAX, ESI
			CALL PROC__CTEPMainB			; 00431A6Ch
			JMP __0048BCA1h
			PUSH EAX
			PUSH EAX
			PUSH EDI
			MOV EAX, ESI
			CALL PROC__CTEPMainB			; 00431E7Ch
			JMP __0048C6ADh
			PUSH EAX
			PUSH EAX
			PUSH EDI
			MOV EAX, ESI
			CALL PROC__CTEPMainB			; 00431E7Ch
			JMP __0048ED75h
			PUSH EAX
			PUSH EAX
			PUSH EDI
			MOV EAX, ESI
			CALL PROC__CTEPMainB			; 00443944h
			JMP __004AF0C5h
			PUSH EAX
			PUSH EAX
			PUSH EDI
			MOV EAX, ESI
			CALL PROC__CTEPMainB			; 00443944h
			JMP __004B7A5Dh

Bytes

50 50 57 8BC6 E8C595FAFF
EB10
50 50 57 8BC6 E84996FAFF
EB10
50 50 57 8BC6 E8D545FAFF
EB10
50 50 57 8BC6 E8FD44FAFF
EB10
50 50 57 8BC6 E8DD5DF9FF
EB10
50 50 57 8BC6 E8E157FAFF
EB10
50 50 57 8BC6 E81931FAFF
EB10
50 50 57 8BC6 E89148F9FF
EB10
50 50 57 8BC6 E8F9BEF8FF
EB10

Segment 5/8

Offsets

RPG2000
2000-12-27
1.07
2001-05-05
1.10
2003-03-27
1.50
2003-06-25
1.51/1.52
2015-07-05
1.60
2015-09-15
1.61
2017-09-14
1.62
0048829Ah
0008769Ah
004881AAh
000875AAh
0048D31Ah
0008C71Ah
0048D436h
0008C836h
0048BCAAh
0008B0AAh
0048C6B6h
0008BAB6h
0048ED7Eh
0008E17Eh
RPG2003
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
004AF0CEh
000AE4CEh
004B7A66h
000B6E66h

Sourcecode

			PUSH EDI
			CALL PROC__CTEPMainB			; 00431844h
			JMP __004882B7h
			PUSH EDI
			CALL PROC__CTEPMainB			; 004317D8h
			JMP __004881C7h
			PUSH EDI
			CALL PROC__CTEPMainB			; 004318D4h
			JMP __0048D337h
			PUSH EDI
			CALL PROC__CTEPMainB			; 00431918h
			JMP __0048D453h
			PUSH EDI
			CALL PROC__CTEPMainB			; 00431A6Ch
			JMP __0048BCC7h
			PUSH EDI
			CALL PROC__CTEPMainB			; 00431E7Ch
			JMP __0048C6D3h
			PUSH EDI
			CALL PROC__CTEPMainB			; 00431E7Ch
			JMP __0048ED9Bh
			PUSH EDI
			CALL PROC__CTEPMainB			; 00443944h
			JMP __004AF0EBh
			PUSH EDI
			CALL PROC__CTEPMainB			; 00443944h
			JMP __004B7A83h

Bytes

57 E8A495FAFF
EB15
57 E82896FAFF
EB15
57 E8B445FAFF
EB15
57 E8DC44FAFF
EB15
57 E8BC5DFAFF
EB15
57 E8C057F9FF
EB15
57 E8F830FAFF
EB15
57 E87048F9FF
EB15
57 E8D8BEF8FF
EB15

Segment 6/8

Offsets

RPG2000
2000-12-27
1.07
2001-05-05
1.10
2003-03-27
1.50
2003-06-25
1.51/1.52
2015-07-05
1.60
2015-09-15
1.61
2017-09-14
1.62
00488B0Bh
00087F0Bh
00488A1Bh
00087E1Bh
0048DB8Bh
0008CF8Bh
0048DCA7h
0008D0A7h
0048C51Bh
0008B91Bh
0048CF27h
0008C327h
0048F5EFh
0008E9EFh
RPG2003
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
004AFA97h
000AEE97h
004B842Fh
000B782Fh

Sourcecode

			PUSH EAX
			PUSH EBP
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 00431844h
			MOV ESI, EAX
			JMP __00488B31h
			PUSH EAX
			PUSH EBP
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 004317D8h
			MOV ESI, EAX
			JMP __00488A41h
			PUSH EAX
			PUSH EBP
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 004318D4h
			MOV ESI, EAX
			JMP __0048DBB1h
			PUSH EAX
			PUSH EBP
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 00431918h
			MOV ESI, EAX
			JMP __0048DCCDh
			PUSH EAX
			PUSH EBP
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 00431A6Ch
			MOV ESI, EAX
			JMP __0048C541h
			PUSH EAX
			PUSH EBP
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 00431E7Ch
			MOV ESI, EAX
			JMP __0048CF4Dh
			PUSH EAX
			PUSH EBP
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 00431E7Ch
			MOV ESI, EAX
			JMP __0048F615h
			PUSH EAX
			PUSH EBP
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 00443944h
			MOV ESI, EAX
			JMP __004AFABDh
			PUSH EAX
			PUSH EBP
			MOV EAX, EBX
			CALL PROC__CTEPMainB			; 00443944h
			MOV ESI, EAX
			JMP __004B8455h

Bytes

50 55 8BC3 E8308DFAFF
8BF0 EB19
50 55 8BC3 E8B48DFAFF
8BF0 EB19
50 55 8BC3 E8403DFAFF
8BF0 EB19
50 55 8BC3 E8683CFAFF
8BF0 EB19
50 55 8BC3 E84855FAFF
8BF0 EB19
50 55 8BC3 E84C4FFAFF
8BF0 EB19
50 55 8BC3 E88428FAFF
8BF0 EB19
50 55 8BC3 E8A43EF9FF
8BF0 EB19
50 55 8BC3 E80CB5F8FF
8BF0 EB19

Segment 7/8

Offsets

RPG2000
2000-12-27
1.07
2001-05-05
1.10
2003-03-27
1.50
2003-06-25
1.51/1.52
2015-07-05
1.60
2015-09-15
1.61
2017-09-14
1.62
00489AF5h
00088EF5h
00489A05h
00088E05h
0048EBFDh
0008DFFDh
0048ED19h
0008E119h
0048D58Dh
0008C98Dh
0048DF99h
0008D399h
00490661h
0008FA61h
RPG2003
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
004B0C95h
000B0095h
004B962Dh
000B822Dh

Sourcecode

			PUSH EAX
			PUSH EDX
			CALL PROC__CTEPMainEx			; 00431854h
			CMP EDX, 0
			JLE __00489B21h
			JMP __00489B0Eh
			PUSH EAX
			PUSH EDX
			CALL PROC__CTEPMainEx			; 004317E8h
			CMP EDX, 0
			JLE __00489A31h
			JMP __00489A1Eh
			PUSH EAX
			PUSH EDX
			CALL PROC__CTEPMainEx			; 004318E4h
			CMP EDX, 0
			JLE __0048EC29h
			JMP __0048EC16h
			PUSH EAX
			PUSH EDX
			CALL PROC__CTEPMainEx			; 00431928h
			CMP EDX, 0
			JLE __0048ED45h
			JMP __0048ED32h
			PUSH EAX
			PUSH EDX
			CALL PROC__CTEPMainEx			; 00431A7Ch
			CMP EDX, 0
			JLE __0048D5B9h
			JMP __0048D5A6h
			PUSH EAX
			PUSH EDX
			CALL PROC__CTEPMainEx			; 00431E8Ch
			CMP EDX, 0
			JLE __0048DFC5h
			JMP __0048DFB2h
			PUSH EAX
			PUSH EDX
			CALL PROC__CTEPMainEx			; 00431E8Ch
			CMP EDX, 0
			JLE __0049068Dh
			JMP __0049067Ah
			PUSH EAX
			PUSH EDX
			CALL PROC__CTEPMainEx			; 00443954h
			CMP EDX, 0
			JLE __004B0CC1h
			JMP __004B0CAEh
			PUSH EAX
			PUSH EDX
			CALL PROC__CTEPMainEx			; 00443954h
			CMP EDX, 0
			JLE __004B9659h
			JMP __004B9646h

Bytes

50 52 E8587DFAFF
83FA00 7E20
EB0B
50 52 E8DC7DFAFF
83FA00 7E20
EB0B
50 52 E8E02CFAFF
83FA00 7E20
EB0B
50 52 E8082CFAFF
83FA00 7E20
EB0B
50 52 E8E844FAFF
83FA00 7E20
EB0B
50 52 E8EC3EF9FF
83FA00 7E20
EB0B
50 52 E82418FAFF
83FA00 7E20
EB0B
50 52 E8B82CF9FF
83FA00 7E20
EB0B
50 52 E820A3F8FF
83FA00 7E20
EB0B

Segment 8/8

Offsets

RPG2000
2000-12-27
1.07
2001-05-05
1.10
2003-03-27
1.50
2003-06-25
1.51/1.52
2015-07-05
1.60
2015-09-15
1.61
2017-09-14
1.62
00489BD7h
00088FD7h
00489AE7h
00088EE7h
0048ECDFh
0008E0DFh
0048EDFBh
0008E1FBh
0048D66Fh
0008CA6Fh
0048E07Bh
0008D47Bh
00490743h
0008FB43h
RPG2003
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
004B0D77h
000B0177h
004B970Fh
000B8B0Fh

Sourcecode

			PUSH [EBP-14h]
			PUSH [EBP-04h]
			CALL PROC__CTEPMainB			; 00431844h
			JMP __00489BF7h
			PUSH [EBP-14h]
			PUSH [EBP-04h]
			CALL PROC__CTEPMainB			; 004317D8h
			JMP __00489B07h
			PUSH [EBP-14h]
			PUSH [EBP-04h]
			CALL PROC__CTEPMainB			; 004318D4h
			JMP __0048ECFFh
			PUSH [EBP-14h]
			PUSH [EBP-04h]
			CALL PROC__CTEPMainB			; 00431918h
			JMP __0048EE1Bh
			PUSH [EBP-14h]
			PUSH [EBP-04h]
			CALL PROC__CTEPMainB			; 00431A6Ch
			JMP __0048D68Fh
			PUSH [EBP-14h]
			PUSH [EBP-04h]
			CALL PROC__CTEPMainB			; 00431E7Ch
			JMP __0048E09Bh
			PUSH [EBP-14h]
			PUSH [EBP-04h]
			CALL PROC__CTEPMainB			; 00431E7Ch
			JMP __00490763h
			PUSH [EBP-10h]
			PUSH [EBP-04h]
			CALL PROC__CTEPMainB			; 00443944h
			JMP __004B0D97h
			PUSH [EBP-10h]
			PUSH [EBP-04h]
			CALL PROC__CTEPMainB			; 00443944h
			JMP __004B972Fh

Bytes

FF75EC FF75FC E8627CFAFF
EB13
FF75EC FF75FC E8E67CFAFF
EB13
FF75EC FF75FC E8EA2BFAFF
EB13
FF75EC FF75FC E8122BFAFF
EB13
FF75EC FF75FC E8F243FAFF
EB13
FF75EC FF75FC E8F63DFAFF
EB13
FF75EC FF75FC E82E17FAFF
EB13
FF75F0 FF75FC E8C22BF9FF
EB13
FF75F0 FF75FC E82AA2F8FF
EB13