PUSH EAX
MOV ESI, [EAX+04h]
DEC ESI
TEST ESI, ESI
JL __00474754h
INC ESI
XOR EBX, EBX
__0047473Ah:
POP EAX
PUSH EAX
MOV EDX, EBX
CALL PROC__0047CE60h
CMP DWORD PTR [EAX+14h], 0
JLE __00474750h
NOP
NOP
CALL PROC__00474789h
__00474750h:
INC EBX
DEC ESI
JNZ __0047473Ah
__00474754h:
POP EAX
PUSH EAX
MOV EDX, [EBP-0Ch]
CALL PROC__0047D4FCh
MOV EAX, [EBP-08h]
MOV ESI, [EAX+08h]
DEC ESI
TEST ESI, ESI
JL __00474786h
INC ESI
XOR EBX, EBX
__0047476Ch:
MOV EDX, EBX
MOV EAX, [EBP-08h]
CALL PROC__0040F72Ch
MOV EDX, EAX
POP EAX
PUSH EAX
XOR ECX, ECX
INC ECX
CALL PROC__0047D058h
INC EBX
DEC ESI
JNZ __0047476Ch
__00474786h:
POP EAX
JMP __004747A6h
PROC__00474789h:
PUSH EAX
MOV EAX, [0049ABA4h] ; TLcfgSystem
MOV EAX, [EAX]
MOV EDX, 3333 ; Variables Base
ADD EDX, EBX ; Add PartySlotIndex
CALL PROC__00469EE0h ; TLcfgSystem.GetVariable
XOR ECX, ECX
MOV CL, 100
JMP __00474550h
__004747A6h:
(...)
PUSH EAX
MOV ESI, [EAX+04h]
DEC ESI
TEST ESI, ESI
JL __00499C94h
INC ESI
XOR EBX, EBX
__00499C7Ah:
POP EAX
PUSH EAX
MOV EDX, EBX
CALL PROC__004A6014h
CMP DWORD PTR [EAX+14h], 0
JLE __00499C90h
NOP
NOP
CALL PROC__00499CC9h
__00499C90h:
INC EBX
DEC ESI
JNZ __00499C7Ah
__00499C94h:
POP EAX
PUSH EAX
MOV EDX, [EBP-0Ch]
CALL PROC__004A6748h
MOV EAX, [EBP-08h]
MOV ESI, [EAX+08h]
DEC ESI
TEST ESI, ESI
JL __00499CC6h
INC ESI
XOR EBX, EBX
__00499CACh:
MOV EDX, EBX
MOV EAX, [EBP-08h]
CALL PROC__00417738h
MOV EDX, EAX
POP EAX
PUSH EAX
XOR ECX, ECX
INC ECX
CALL PROC__004A620Ch
INC EBX
DEC ESI
JNZ __00499CACh
__00499CC6h:
POP EAX
JMP __00499CE6h
PROC__00499CC9h:
PUSH EAX
MOV EAX, [004CDC7Ch] ; TLcfgSystem
MOV EAX, [EAX]
MOV EDX, 3333 ; Variables Base
ADD EDX, EBX ; Add PartySlotIndex
CALL PROC__0048B398h ; TLcfgSystem.GetVariable
XOR ECX, ECX
MOV CL, 100
JMP __00499A90h
__00499CE6h:
(...)