ShopEconomy

Absurdely big patch for globally changing rate of buy- (100 + Variable #3338) and sell-price (50 + Variable #3339) of all items in default shop-screen.

Originally made and first released by bugmenot.

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
004708DCh
0006FCDCh
RPG2003
1.0.8.0
1.0.8.0
00492F74h
00092374h

Sourcecode

			CALL PROC__00471DC8h
			MOV [EBP-0Ch], EAX
			NOP
			MOV EAX, EDX
			CALL PROC__004944B7h
			MOV [EBP-0Ch], EAX
			NOP
			MOV EAX, EDX

Bytes

E8E7140000
8945F4 90 89D0
E83E150000
8945F4 90 89D0

Segment 2/8

Offsets

RPG2000
2000-12-27
1.07
00470C38h
00070038h
RPG2003
1.0.8.0
1.0.8.0
004932D0h
000926D0h

Sourcecode

			CMP BYTE PTR [EBX+70h], 0
			JE __00470C45h
			NEG EBX
			LEA EAX, [EBP-10h]
			JMP __00470C48h
__00470C45h:
			LEA EAX, [EBP-14h]
__00470C48h:
			PUSH EAX
			MOV EAX, [0049AA34h]
			MOV EAX, [EAX]
			MOV ECX, EBX
			CMP EBX, 0
			JGE __00470C59h
			NEG ECX
__00470C59h:
			MOV EDX, [ECX+64h]
			CALL PROC__004631D0h
			MOV EAX, [EAX+14h]
			MOV ECX, EBX
			CMP EBX, 0
			JGE __00470C74h
			CALL PROC__00471E01h
			NEG ECX
			JMP __00470C79h
__00470C74h:
			CALL PROC__00471DD7h
__00470C79h:
			IMUL [ECX+68h]
			MOV [EBP-0Ch], EAX
			MOV BYTE PTR [EBP-08h], 0
			LEA EDX, [EBP-0Ch]
			XOR ECX, ECX
			MOV EAX, DATA__00470D9Ch
			CALL PROC__00408AD0h
			CMP EBX, 0
			JGE __00470CA1h
			MOV EAX, [EBP-10h]
			PUSH EAX
			PUSH 0
			NEG EBX
			JMP __00470CA7h
__00470CA1h:
			MOV EAX, [EBP-14h]
			PUSH EAX
			PUSH 0
__00470CA7h:
			PUSH 1
			MOV EAX, [0049ABDCh]
			MOV EAX, [EAX]
			MOV EAX, [EAX+B4h]
			CALL PROC__00403D4Ch
			ADD EAX, EAX
			LEA EAX, [EAX+EAX*2]
			MOV EDX, 176
			SUB EDX, EAX
			SUB EDX, 36
			XOR ECX, ECX
			MOV CL, 72
			MOV EAX, EBX
			MOV ESI, [EAX]
			CALL [ESI+34h]
			MOV EAX, [0049ABDCh]
			MOV EAX, [EAX]
			MOV ESI, [EAX+B4h]
			PUSH ESI
			PUSH 1
			PUSH 1
			MOV EAX, ESI
			CALL PROC__00403D4Ch
			ADD EAX, EAX
			LEA EAX, [EAX+EAX*2]
			MOV EDX, 176
			SUB EDX, EAX
			XOR ECX, ECX
			MOV CL, 72
			JMP __00470D44h
			EMPTYNESS 65
__00470D44h:
			(...)
			CMP BYTE PTR [EBX+84h], 0
			JE __004932E0h
			NEG EBX
			LEA EAX, [EBP-10h]
			JMP __004932E3h
__004932E0h:
			LEA EAX, [EBP-14h]
__004932E3h:
			PUSH EAX
			MOV EAX, [004CDB14h]
			MOV EAX, [EAX]
			MOV ECX, EBX
			CMP EBX, 0
			JGE __004932F4h
			NEG ECX
__004932F4h:
			MOV EDX, [ECX+78h]
			CALL PROC__0047E8E8h
			MOV EAX, [EAX+14h]
			MOV ECX, EBX
			CMP EBX, 0
			JGE __0049330Fh
			CALL PROC__004944F0h
			NEG ECX
			JMP __00493314h
__0049330Fh:
			CALL PROC__004944C6h
__00493314h:
			IMUL [ECX+7Ch]
			MOV [EBP-0Ch], EAX
			MOV BYTE PTR [EBP-08h], 0
			LEA EDX, [EBP-0Ch]
			XOR ECX, ECX
			MOV EAX, DATA__00493438h
			CALL PROC__00409924h
			CMP EBX, 0
			JGE __0049333Ch
			MOV EAX, [EBP-10h]
			PUSH EAX
			PUSH 0
			NEG EBX
			JMP __00493342h
__0049333Ch:
			MOV EAX, [EBP-14h]
			PUSH EAX
			PUSH 0
__00493342h:
			PUSH 1
			MOV EAX, [004CDCB4h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+ACh]
			CALL PROC__004047A4h
			ADD EAX, EAX
			LEA EAX, [EAX+EAX*2]
			MOV EDX, 176
			SUB EDX, EAX
			SUB EDX, 48
			XOR ECX, ECX
			MOV CL, 72
			MOV EAX, EBX
			MOV ESI, [EAX]
			CALL [ESI+38h]
			MOV EAX, [004CDCB4h]
			MOV EAX, [EAX]
			MOV ESI, [EAX+ACh]
			PUSH ESI
			PUSH 1
			PUSH 1
			MOV EAX, ESI
			CALL PROC__004047A4h
			ADD EAX, EAX
			LEA EAX, [EAX+EAX*2]
			MOV EDX, 176
			SUB EDX, EAX
			XOR ECX, ECX
			MOV CL, 72
			JMP __004933DFh
			EMPTYNESS 65

Bytes

807B7000 7407
F7DB 8D45F0 EB03
8D45EC 50 A134AA4900 8B00 89D9 83FB00 7D02
F7D9 8B5164 E86F25FFFF
8B4014 89D9 83FB00 7D09
E891110000
F7D9 EB05
E85E110000
F76968 8945F4 C645F800 8D55F4 33C9 B89C0D4700 E83E7EF9FF
83FB00 7D0A
8B45F0 50 6A00 F7DB EB06
8B45EC 50 6A00 6A01 A1DCAB4900 8B00 8B80B4000000 E89130F9FF
03C0 8D0440 BAB0000000 2BD0 83EA24 31C9 B148 8BC3 8B30 FF5634
A1DCAB4900 8B00 8BB0B4000000 56 6A01 6A01 89F0 E85E30F9FF
03C0 8D0440 BAB0000000 2BD0 31C9 B148 EB44

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
80BB8400000000 7407
F7DB 8D45F0 EB03
8D45EC 50 A114DB4C00 8B00 89D9 83FB00 7D02
F7D9 8B5178 E8ECB5FEFF
8B4014 89D9 83FB00 7D09
E8E5110000
F7D9 EB05
E8B2110000
F7697C 8945F4 C645F800 8D55F4 33C9 B838344900 E8F765F7FF
83FB00 7D0A
8B45F0 50 6A00 F7DB EB06
8B45EC 50 6A00 6A01 A1B4DC4C00 8B00 8B80AC000000 E84E14F7FF
03C0 8D0440 BAB0000000 2BD0 83EA30 31C9 B148 8BC3 8B30 FF5638
A1B4DC4C00 8B00 8BB0AC000000 56 6A01 6A01 89F0 E81B14F7FF
03C0 8D0440 BAB0000000 2BD0 31C9 B148 EB44

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00

Segment 3/8

Offsets

RPG2000
2000-12-27
1.07
00471AB0h
00070EB0h
RPG2003
1.0.8.0
1.0.8.0
00494198h
00093598h

Sourcecode

PROC__00471AB0h:
			PUSH EBP
			MOV EBP, ESP
			PUSH 0
			PUSH EBX
			PUSH ESI
			PUSH EDI
			XOR EDI, EDI
			JMP __00471AC7h
PROC__00471ABCh:
			PUSH EBP
			MOV EBP, ESP
			PUSH 0
			PUSH EBX
			PUSH ESI
			PUSH EDI
			XOR EDI, EDI
			INC EDI
__00471AC7h:
			MOV EBX, EAX
			XOR EAX, EAX
			PUSH EBP
			PUSH DATA__00471BC5h
			PUSH fs:[EAX]
			MOV fs:[EAX], ESP
			CMP EDI, 1
			JE __00471AE2h
			MOV BYTE PTR [EBX+0Ch], 2
			JMP __00471AE6h
__00471AE2h:
			MOV BYTE PTR [EBX+0Ch], 5
__00471AE6h:
			MOV EAX, [EBX+14h]
			MOV EDX, [EAX]
			CALL [EDX+20h]
			MOV EAX, [0049ABDCh]
			MOV EAX, [EAX]
			MOV EDX, [EBX+38h]
			CALL PROC__0045D404h
			MOV ESI, EAX
			LEA EAX, [EBP-04h]
			PUSH EAX
			MOV ECX, [EBX+50h]
			XOR EDX, EDX
			INC EDX
			CMP EDI, 1
			JE __00471B13h
			MOV EAX, [ESI+1Ch]
			JMP __00471B16h
__00471B13h:
			MOV EAX, [ESI+28h]
__00471B16h:
			CALL PROC__00403F54h
			MOV EAX, [EBP-04h]
			PUSH EAX
			PUSH 0
			PUSH 1
			XOR ECX, ECX
			MOV CL, 8
			MOV EDX, [EBX+4Ch]
			MOV EAX, [EBX+14h]
			MOV ESI, [EAX]
			CALL [ESI+34h]
			MOV ESI, [EBX+24h]
			MOV [ESI+70h], EDI
			MOV EAX, [EBX+EDI*4+1Ch]
			CMP EDI, 1
			JE __00471B48h
			CALL PROC__004709A4h
			JMP __00471B4Dh
__00471B48h:
			CALL PROC__00470B20h
__00471B4Dh:
			NOP
			NOP
			MOV [ESI+64h], EAX
			MOV DWORD PTR [ESI+68h], 1
			CMP EDI, 1
			JNE __00471B8Eh
			MOV EAX, [EBX+20h]
			CALL PROC__00470B20h
			MOV EDX, EAX
			MOV EAX, [0049AA9Ch]
			MOV EAX, [EAX]
			CALL PROC__0047D2A0h
			MOV ESI, [EAX+24h]
			MOV [ESI+6Ch], EAX
			MOV EAX, ESI
			MOV EDX, [EAX]
			CALL [EDX+20h]
			MOV EAX, [EBX+20h]
			CALL PROC__00470B20h
			MOV [EBX+48h], EAX
			JMP __00471BAFh
__00471B8Eh:
			MOV EAX, [EBX+1Ch]
			CALL PROC__004709A4h
			MOV EDX, EAX
			MOV EAX, [0049AA34h]
			MOV EAX, [EAX]
			CALL PROC__004631D0h
			MOV EAX, [EAX+14h]
			NOP
			NOP
			NOP
			JMP __00471D6Ch
__00471BAFh:
			(...)
PROC__00494198h:
			PUSH EBP
			MOV EBP, ESP
			PUSH 0
			PUSH EBX
			PUSH ESI
			PUSH EDI
			XOR EDI, EDI
			JMP __004941AFh
PROC__004941A4h:
			PUSH EBP
			MOV EBP, ESP
			PUSH 0
			PUSH EBX
			PUSH ESI
			PUSH EDI
			XOR EDI, EDI
			INC EDI
__004941AFh:
			MOV EBX, EAX
			XOR EAX, EAX
			PUSH EBP
			PUSH DATA__004942B3h
			PUSH fs:[EAX]
			MOV fs:[EAX], ESP
			CMP EDI, 1
			JE __004941CAh
			MOV BYTE PTR [EBX+0Ch], 2
			JMP __004941CEh
__004941CAh:
			MOV BYTE PTR [EBX+0Ch], 5
__004941CEh:
			MOV EAX, [EBX+14h]
			MOV EDX, [EAX]
			CALL [EDX+24h]
			MOV EAX, [004CDCB4h]
			MOV EAX, [EAX]
			MOV EDX, [EBX+38h]
			CALL PROC__00487514h
			MOV ESI, EAX
			LEA EAX, [EBP-04h]
			PUSH EAX
			MOV ECX, [EBX+50h]
			XOR EDX, EDX
			INC EDX
			CMP EDI, 1
			JE __004941FBh
			MOV EAX, [ESI+1Ch]
			JMP __004941FEh
__004941FBh:
			MOV EAX, [ESI+28h]
__004941FEh:
			CALL PROC__004049FCh
			MOV EAX, [EBP-04h]
			PUSH EAX
			PUSH 0
			PUSH 1
			XOR ECX, ECX
			MOV CL, 8
			MOV EDX, [EBX+4Ch]
			MOV EAX, [EBX+14h]
			MOV ESI, [EAX]
			CALL [ESI+38h]
			MOV ESI, [EBX+24h]
			MOV [ESI+84h], EDI
			MOV EAX, [EBX+EDI*4+1Ch]
			CMP EDI, 1
			JE __00494233h
			CALL PROC__0049303Ch
			JMP __00494238h
__00494233h:
			CALL PROC__004931B8h
__00494238h:
			MOV [ESI+78h], EAX
			MOV DWORD PTR [ESI+7Ch], 1
			CMP EDI, 1
			JNE __0049427Ah
			MOV EAX, [EBX+20h]
			CALL PROC__004931B8h
			MOV EDX, EAX
			MOV EAX, [004CDB74h]
			MOV EAX, [EAX]
			CALL PROC__004A646Ch
			MOV ESI, [EBX+24h]
			MOV [ESI+80h], EAX
			MOV EAX, ESI
			MOV EDX, [EAX]
			CALL [EDX+24h]
			MOV EAX, [EBX+20h]
			CALL PROC__004931B8h
			MOV [EBX+48h], EAX
			JMP __0049429Dh
__0049427Ah:
			MOV EAX, [EBX+1Ch]
			CALL PROC__0049303Ch
			MOV EDX, EAX
			MOV EAX, [004CDB14h]
			MOV EAX, [EAX]
			CALL PROC__0047E8E8h
			MOV EAX, [EAX+14h]
			NOP
			NOP
			NOP
			NOP
			NOP
			JMP __00494458h
__0049429Dh:
			(...)

Bytes

55 8BEC 6A00 53 56 57 31FF EB0B
55 8BEC 6A00 53 56 57 31FF 47 8BD8 33C0 55 68C51B4700 64FF30 648920 83FF01 7406
C6430C02 EB04
C6430C05 8B4314 8B10 FF5220
A1DCAB4900 8B00 8B5338 E807B9FEFF
8BF0 8D45FC 50 8B4B50 31D2 42 83FF01 7405
8B461C EB03
8B4628 E83924F9FF
8B45FC 50 6A00 6A01 31C9 B108 8B534C 8B4314 8B30 FF5634
8B7324 897E70 8B44BB1C 83FF01 7407
E85EEEFFFF
EB05
E8D3EFFFFF
90 90 894664 C7466801000000 83FF01 7530
8B4320 E8BAEFFFFF
8BD0 A19CAA4900 8B00 E82CB70000
8B7324 89466C 8BC6 8B10 FF5220
8B4320 E897EFFFFF
894348 EB21
8B431C E80EEEFFFF
8BD0 A134AA4900 8B00 E82C16FFFF
8B4014 90 90 90 E9BD010000
55 8BEC 6A00 53 56 57 31FF EB0B
55 8BEC 6A00 53 56 57 31FF 47 8BD8 33C0 55 68B3424900 64FF30 648920 83FF01 7406
C6430C02 EB04
C6430C05 8B4314 8B10 FF5224
A1B4DC4C00 8B00 8B5338 E82F43FEFF
8BF0 8D45FC 50 8B4B50 31D2 42 83FF01 7405
8B461C EB03
8B4628 E8F907F7FF
8B45FC 50 6A00 6A01 31C9 B108 8B534C 8B4314 8B30 FF5638
8B7324 89BE84000000 8B44BB1C 83FF01 7407
E80BEEFFFF
EB05
E880EFFFFF
894678 C7467C01000000 83FF01 7533
8B4320 E869EFFFFF
8BD0 A174DB4C00 8B00 E80F220100
8B7324 898680000000 8BC6 8B10 FF5224
8B4320 E843EFFFFF
894348 EB23
8B431C E8BAEDFFFF
8BD0 A114DB4C00 8B00 E858A6FEFF
8B4014 90 90 90 90 90 E9BB010000

Segment 4/8

Offsets

RPG2000
2000-12-27
1.07
00471BD4h
00070FD4h
RPG2003
1.0.8.0
1.0.8.0
004942C0h
000936C0h

Sourcecode

PROC__00471BD4h:
			PUSH EBP
			MOV EBP, ESP
			PUSH 0
			PUSH EBX
			PUSH ESI
			PUSH EDI
			XOR EDI, EDI
			JMP __00471BEBh
PROC__00471BE0h:
			PUSH EBP
			MOV EBP, ESP
			PUSH 0
			PUSH EBX
			PUSH ESI
			PUSH EDI
			XOR EDI, EDI
			INC EDI
__00471BEBh:
			MOV EBX, EAX
			XOR EAX, EAX
			PUSH EBP
			PUSH DATA__00471CC1h
			PUSH fs:[EAX]
			MOV fs:[EAX], ESP
			MOV ECX, [EBX+24h]
			MOV ESI, [ECX+68h]
			MOV EDX, [ECX+64h]
			MOV EAX, [0049AA34h]
			MOV EAX, [EAX]
			CALL PROC__004631D0h
			MOV EAX, [EAX+14h]
			CMP EDI, 1
			JE __00471C1Fh
			CALL PROC__00471DD7h
			JMP __00471C24h
__00471C1Fh:
			CALL PROC__00471E01h
__00471C24h:
			MOV EDX, EAX
			IMUL EDX, ESI
			MOV EAX, [0049AA9Ch]
			MOV EAX, [EAX]
			PUSH EAX
			CMP EDI, 1
			JE __00471C3Dh
			CALL PROC__0047D518h
			JMP __00471C42h
__00471C3Dh:
			CALL PROC__0047D4FCh
__00471C42h:
			MOV EAX, [EBX+24h]
			MOV EDX, [EAX+64h]
			POP EAX
			MOV ECX, ESI
			CMP EDI, 1
			JE __00471C5Bh
			CALL PROC__0047D058h
			MOV BYTE PTR [EBX+0Ch], 3
			JMP __00471C64h
__00471C5Bh:
			CALL PROC__0047D154h
			MOV BYTE PTR [EBX+0Ch], 6
__00471C64h:
			MOV EAX, [EBX+14h]
			MOV EDX, [EAX]
			CALL [EDX+20h]
			MOV EAX, [0049ABDCh]
			MOV EAX, [EAX]
			MOV EDX, [EBX+38h]
			CALL PROC__0045D404h
			MOV ESI, EAX
			LEA EAX, [EBP-04h]
			PUSH EAX
			MOV ECX, [EBX+50h]
			CMP EDI, 1
			JE __00471C8Eh
			MOV EAX, [ESI+20h]
			JMP __00471C91h
__00471C8Eh:
			MOV EAX, [ESI+2Ch]
__00471C91h:
			XOR EDX, EDX
			INC EDX
			CALL PROC__00403F54h
			MOV EAX, [EBP-04h]
			PUSH EAX
			PUSH 0
			PUSH 1
			XOR ECX, ECX
			MOV CL, 8
			NOP
			JMP __00471E38h
__00471CABh:
			(...)
PROC__004942C0h:
			PUSH EBP
			MOV EBP, ESP
			PUSH 0
			PUSH EBX
			PUSH ESI
			PUSH EDI
			XOR EDI, EDI
			JMP __004942D7h
PROC__004942CCh:
			PUSH EBP
			MOV EBP, ESP
			PUSH 0
			PUSH EBX
			PUSH ESI
			PUSH EDI
			XOR EDI, EDI
			INC EDI
__004942D7h:
			MOV EBX, EAX
			XOR EAX, EAX
			PUSH EBP
			PUSH DATA__004943ADh
			PUSH fs:[EAX]
			MOV fs:[EAX], EDX
			MOV ECX, [EBX+24h]
			MOV ESI, [ECX+7Ch]
			MOV EDX, [ECX+78h]
			MOV EAX, [004CDB14h]
			MOV EAX, [EAX]
			CALL PROC__0047E8E8h
			MOV EAX, [EAX+14h]
			CMP EDI, 1
			JE __0049430Bh
			CALL PROC__004944C6h
			JMP __00494310h
__0049430Bh:
			CALL PROC__004944F0h
__00494310h:
			MOV EDX, EAX
			IMUL EDX, ESI
			MOV EAX, [004CDB74h]
			MOV EAX, [EAX]
			PUSH EAX
			CMP EDI, 1
			JE __00494329h
			CALL PROC__004A6764h
			JMP __0049432Eh
__00494329h:
			CALL PROC__004A6748h
__0049432Eh:
			MOV EAX, [EBX+24h]
			MOV EDX, [EAX+78h]
			POP EAX
			MOV ECX, ESI
			CMP EDI, 1
			JE __00494347h
			CALL PROC__004A620Ch
			MOV BYTE PTR [EBX+0Ch], 3
			JMP __00494350h
__00494347h:
			CALL PROC__004A6308h
			MOV BYTE PTR [EBX+0Ch], 6
__00494350h:
			MOV EAX, [EBX+14h]
			MOV EDX, [EAX]
			CALL [EDX+24h]
			MOV EAX, [004CDCB4h]
			MOV EAX, [EAX]
			MOV EDX, [EBX+38h]
			CALL PROC__00478514h
			MOV ESI, EAX
			LEA EAX, [EBP-04h]
			PUSH EAX
			MOV ECX, [EBX+50h]
			CMP EDI, 1
			JE __0049437Ah
			MOV EAX, [ESI+20h]
			JMP __0049437Dh
__0049437Ah:
			MOV EAX, [ESI+2Ch]
__0049437Dh:
			XOR EDX, EDX
			INC EDX
			CALL PROC__004049FCh
			MOV EAX, [EBP-04h]
			PUSH EAX
			PUSH 0
			PUSH 1
			XOR ECX, ECX
			MOV CL, 8
			NOP
			JMP __0049452Ch
__00494397h:
			(...)

Bytes

55 8BEC 6A00 53 56 57 31FF EB0B
55 8BEC 6A00 53 56 57 31FF 47 8BD8 33C0 55 68C11C4700 64FF30 648920 8B4B24 8B7168 8B5164 A134AA4900 8B00 E8C015FFFF
8B4014 83FF01 7407
E8BA010000
EB05
E8DD010000
89C2 0FAFD6 A19CAA4900 8B00 50 83FF01 7407
E8DDB80000
EB05
E8BAB80000
8B4324 8B5064 58 8BCE 83FF01 740B
E803B40000
C6430C03 EB09
E8F4B40000
C6430C06 8B4314 8B10 FF5220
A1DCAB4900 8B00 8B5338 E889B7FEFF
8BF0 8D45FC 50 8B4B50 83FF01 7405
8B4620 EB03
8B462C 31D2 42 E8BB22F9FF
8B45FC 50 6A00 6A01 31C9 B108 90 E98D010000
55 8BEC 6A00 53 56 57 31FF EB0B
55 8BEC 6A00 53 56 57 31FF 47 8BD8 33C0 55 68AD434900 64FF30 648910 8B4B24 8B717C 8B5178 A114DB4C00 8B00 E8ECA5FEFF
8B4014 83FF01 7407
E8BD010000
EB05
E8E0010000
89C2 0FAFD6 A174DB4C00 8B00 50 83FF01 7407
E83D240100
EB05
E81A240100
8B4324 8B5078 58 8BCE 83FF01 740B
E8CB1E0100
C6430C03 EB09
E8BC1F0100
C6430C06 8B4314 8B10 FF5224
A1B4DC4C00 8B00 8B5338 E8AD41FEFF
8BF0 8D45FC 50 8B4B50 83FF01 7405
8B4620 EB03
8B462C 31D2 42 E87706F7FF
8B45FC 50 6A00 6A01 31C9 B108 90 E995010000

Segment 5/8

Offsets

RPG2000
2000-12-27
1.07
00471D6Ch
0007116Ch
RPG2003
1.0.8.0
1.0.8.0
00494458h
00093858h

Sourcecode

__00471D6Ch:
			CALL PROC__00471DD7h
			PUSH EAX
			CMP EAX, 0
			JLE __00471D89h
			MOV EAX, [0049AA9Ch]
			MOV EAX, [EAX]
			MOV EAX, [EAX+1Ch]
			POP ECX
			CDQ
			IDIV ECX
			MOV ESI, EAX
			JMP __00471D8Fh
__00471D89h:
			POP EAX
			MOV ESI, 99
__00471D8Fh:
			MOV EAX, [EBX+1Ch]
			CALL PROC__004709A4h
			MOV EDX, EAX
			MOV EAX, [0049AA9Ch]
			MOV EAX, [EAX]
			CALL PROC__0047D2A0h
			MOV EDI, 99
			SUB EDI, EAX
			MOV EDX, EDI
			MOV EAX, ESI
			CALL PROC__0041EB0Ch
			MOV EDX, [EBX+24h]
			MOV [EDX+6Ch], EAX
			MOV EAX, [EBX+24h]
			MOV EDX, [EAX]
			CALL [EDX+20h]
			JMP __00471BAFh
PROC__00471DC8h:
			MOV EAX, [EAX+14h]
			CALL PROC__00471DD7h
			MOV EDX, [0049AA9Ch]
			RET
PROC__00471DD7h:
			PUSH ECX
			PUSH EAX
			MOV EAX, [0049ABA4h]
			MOV EAX, [EAX]
			MOV EDX, 3338
			CALL PROC__00469EE0h
			ADD EAX, 100
			POP EDX
			IMUL EAX, EDX
			XOR ECX, ECX
			MOV CL, 100
			CDQ
			IDIV ECX
			CMP EAX, 0
			JGE __00471DFFh
			XOR EAX, EAX
__00471DFFh:
			POP ECX
			RET
PROC__00471E01h:
			PUSH ECX
			PUSH EAX
			MOV EAX, [0049ABA4h]
			MOV EAX, [EAX]
			MOV EDX, 3339
			CALL PROC__00469EE0h
			ADD EAX, 50
			POP EDX
			IMUL EAX, EDX
			XOR ECX, ECX
			MOV CL, 100
			CDQ
			IDIV ECX
			CMP EAX, 0
			JGE __00471E29h
			XOR EAX, EAX
__00471E29h:
			POP ECX
			RET
PROC__00471E2Bh:
			CALL PROC__00471DD7h
			MOV EDX, [0049AA9Ch]
			RET
			PUSH EBP
__00471E38h:
			MOV EDX, [EBX+4Ch]
			MOV EAX, [EBX+14h]
			MOV ESI, [EAX]
			CALL [ESI+34h]
			MOV EAX, [EBX+30h]
			MOV EDX, [EAX]
			CALL [EDX+20h]
			CMP EDI, 1
			JNE __00471E5Ah
			MOV EAX, [EBX+3Ch]
			TEST EAX, EAX
			JZ __00471E5Ah
			MOV BYTE PTR [EAX], 0
__00471E5Ah:
			MOV EAX, [EBX+24h]
			MOV EDX, [EAX+64h]
			MOV EAX, EBX
			CALL PROC__004713E4h
			MOV EAX, [EBX+EDI*4+1Ch]
			MOV EDX, [EAX]
			CALL [EDX+20h]
			CMP EDI, 1
			JE __00471E7Fh
			MOV EAX, [EBX+3Ch]
			TEST EAX, EAX
			JZ __00471E7Fh
			MOV BYTE PTR [EAX], 0
__00471E7Fh:
			MOV EAX, [EBX+24h]
			XOR EDX, EDX
			MOV [EAX+64h], EAX
			MOV EDX, [EAX]
			CALL [EDX+20h]
			MOV DWORD PTR [EBX+44h], 30
			JMP __00471CABh
			EMPTYNESS 163
__00494458h:
			CALL PROC__004944C6h
			PUSH EAX
			CMP EAX, 0
			JLE __00494475h
			MOV EAX, [004CDB74h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+1Ch]
			POP ECX
			CDQ
			IDIV ECX
			MOV ESI, EAX
			JMP __0049447Bh
__00494475h:
			POP EAX
			MOV ESI, 99
__0049447Bh:
			MOV EAX, [EBX+1Ch]
			CALL PROC__0049303Ch
			MOV EDX, EAX
			MOV EAX, [004CDB74h]
			MOV EAX, [EAX]
			CALL PROC__004A646Ch
			MOV EDI, 99
			SUB EDI, EAX
			MOV EDX, EDI
			MOV EAX, ESI
			CALL PROC__0042A248h
			MOV EDX, [EBX+24h]
			MOV [EDX+80h], EAX
			MOV EAX, [EBX+24h]
			MOV EDX, [EAX]
			CALL [EDX+24h]
			JMP __0049429Dh
PROC__004944B7h:
			MOV EAX, [EAX+14h]
			CALL PROC__004944C6h
			MOV EDX, [004CDB74h]
			RET
PROC__004944C6h:
			PUSH ECX
			PUSH EAX
			MOV EAX, [004CDC7Ch]
			MOV EAX, [EAX]
			MOV EDX, 3338
			CALL PROC__0048B398h
			ADD EAX, 100
			POP EDX
			IMUL EAX, EDX
			XOR ECX, ECX
			MOV CL, 100
			CDQ
			IDIV ECX
			CMP EAX, 0
			JGE __004944EEh
			XOR EAX, EAX
__004944EEh:
			POP ECX
			RET
PROC__004944F0h:
			PUSH ECX
			PUSH EAX
			MOV EAX, [004CDC7Ch]
			MOV EAX, [EAX]
			MOV EDX, 3339
			CALL PROC__0048B398h
			ADD EAX, 50
			POP EDX
			IMUL EAX, EDX
			XOR ECX, ECX
			MOV CL, 100
			CDQ
			IDIV ECX
			CMP EAX, 0
			JGE __00494518h
			XOR EAX, EAX
__00494518h:
			POP ECX
			RET
PROC__0049451Ah:
			CALL PROC__004944C6h
			MOV EDX, [004CDB74h]
			RET
			EMPTYNESS 5
			PUSH EBP
__0049452Ch:
			MOV EDX, [EBX+4Ch]
			MOV EAX, [EBX+14h]
			MOV ESI, [EAX]
			CALL [ESI+38h]
			MOV EAX, [EBX+30h]
			MOV EDX, [EAX]
			CALL [EDX+24h]
			CMP EDI, 1
			JNE __0049454Eh
			MOV EAX, [EBX+3Ch]
			TEST EAX, EAX
			JZ __0049454Eh
			MOV BYTE PTR [EAX], 0
__0049454Eh:
			MOV EAX, [EBX+24h]
			MOV EDX, [EAX+78h]
			MOV EAX, EBX
			CALL PROC__00493A84h
			MOV EAX, [EBX+EDI*4+1Ch]
			MOV EDX, [EAX]
			CALL [EDX+24h]
			CMP EDI, 1
			JE __00494573h
			MOV EAX, [EBX+3Ch]
			TEST EAX, EAX
			JZ __00494573h
			MOV BYTE PTR [EAX], 0
__00494573h:
			MOV EAX, [EBX+24h]
			XOR EDX, EDX
			MOV [EAX+78h], EDX
			MOV EDX, [EAX]
			CALL [EDX+24h]
			MOV DWORD PTR [EBX+44h], 30
			JMP __00494397h
			EMPTYNESS 163

Bytes

E866000000
50 83F800 7E12
A19CAA4900 8B00 8B401C 59 99 F7F9 8BF0 EB06
58 BE63000000 8B431C E80DECFFFF
8BD0 A19CAA4900 8B00 E8FBB40000
BF63000000 2BF8 8BD7 8BC6 E857CDFAFF
8B5324 89426C 8B4324 8B10 FF5220
E9E7FDFFFF
8B4014 E807000000
8B159CAA4900 C3

51 50 A1A4AB4900 8B00 BA0A0D0000 E8F680FFFF
83C064 5A 0FAFC2 31C9 B164 99 F7F9 83F800 7D02
31C0 59 C3

51 50 A1A4AB4900 8B00 BA0B0D0000 E8CC80FFFF
83C032 5A 0FAFC2 31C9 B164 99 F7F9 83F800 7D02
31C0 59 C3

E8A7FFFFFF
8B159CAA4900 C3

55 8B534C 8B4314 8B30 FF5634
8B4330 8B10 FF5220
83FF01 750A
8B433C 85C0 7403
C60000 8B4324 8B5064 8BC3 E87DF5FFFF
8B44BB1C 8B10 FF5220
83FF01 740A
8B433C 85C0 7403
C60000 8B4324 33D2 895064 8B10 FF5220
C743441E000000 E913FEFFFF

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
E869000000
50 83F800 7E12
A174DB4C00 8B00 8B401C 59 99 F7F9 8BF0 EB06
58 BE63000000 8B431C E8B9EBFFFF
8BD0 A174DB4C00 8B00 E8DB1F0100
BF63000000 2BF8 8BD7 8BC6 E8A75DF9FF
8B5324 898280000000 8B4324 8B10 FF5224
E9E6FDFFFF
8B4014 E807000000
8B1574DB4C00 C3

51 50 A17CDC4C00 8B00 BA0A0D0000 E8BF6EFFFF
83C064 5A 0FAFC2 31C9 B164 99 F7F9 83F800 7D02
31C0 59 C3

51 50 A17CDC4C00 8B00 BA0B0D0000 E8956EFFFF
83C032 5A 0FAFC2 31C9 B164 99 F7F9 83F800 7D02
31C0 59 C3

E8A7FFFFFF
8B1574DB4C00 C3 00 00 00 00 00

55 8B534C 8B4314 8B30 FF5638
8B4330 8B10 FF5224
83FF01 750A
8B433C 85C0 7403
C60000 8B4324 8B5078 8BC3 E829F5FFFF
8B44BB1C 8B10 FF5224
83FF01 740A
8B433C 85C0 7403
C60000 8B4324 33D2 895078 8B10 FF5224
C743441E000000 E90BFEFFFF

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00

Segment 6/8

Offsets

RPG2000
2000-12-27
1.07
00472072h
00071472h
RPG2003
1.0.8.0
1.0.8.0
00494766h
00093B66h

Sourcecode

			CALL PROC__00471E2Bh
			NOP
			CALL PROC__0049451Ah
			NOP

Bytes

E8B4FDFFFF 90
E8AFFDFFFF 90

Segment 7/8

Offsets

RPG2000
2000-12-27
1.07
00472248h
00071648h
RPG2003
1.0.8.0
1.0.8.0
0049493Ch
00093D3Ch

Sourcecode

			CALL PROC__00471ABCh
			CALL PROC__004941A4h

Bytes

E86FF8FFFF
E863F8FFFF

Segment 8/8

Offsets

RPG2000
2000-12-27
1.07
004722D4h
000716D4h
RPG2003
1.0.8.0
1.0.8.0
004949C8h
00093DC8h

Sourcecode

			CALL PROC__00471BE0h
			CALL PROC__004942CCh

Bytes

E807F9FFFF
E8FFF8FFFF