// File: /workspace/github_cpp_makefile_star2_O1/negativeview[P]Software-Business-Sim/MasterState.cpp
// Function: MasterState::MasterState()
MasterState::MasterState() {
	this->_playerCompany = new Company("Testing Corp", 100000);
	this->_allCompanies = new list<Company *>();
	this->_allCompanies->push_back(this->_playerCompany);
	this->_allWorkers = new list<Person *>();
	this->_allConsumers = new list<Person *>();
	this->_time = 0;

	this->_commandList = new CommandList(this);

	this->_messages = new vector<char *>();
	this->_names = new NameContainer();

	this->_allMarkets = new vector<Market *>();

	Market *oldPeopleMarket = new Market("Old People");
	oldPeopleMarket->addRequirement("stability", 10);
	this->_allMarkets->push_back(oldPeopleMarket);

	this->_setupPlatforms();
	this->_setupLanguages();
	this->_setupConsumers();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movl $0x38, %edi
callq 0x3300
movq %rax, %r14
leaq 0x2acc(%rip), %rsi      # 0xb7f4
movq %rax, %rdi
movl $0x186a0, %edx          # imm = 0x186A0
callq 0x716c
movq %r14, (%rbx)
movl $0x18, %edi
callq 0x3300
movq %rax, %r14
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
xorl %r15d, %r15d
movq %r15, 0x10(%rax)
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq %rax, 0x8(%rbx)
movl $0x18, %edi
callq 0x3300
movq (%rbx), %rcx
movq %rcx, 0x10(%rax)
movq %rax, %rdi
movq %r14, %rsi
callq 0x3040
incq 0x10(%r14)
movl $0x18, %edi
callq 0x3300
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
movq %r15, 0x10(%rax)
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq %rax, 0x10(%rbx)
movl $0x18, %edi
callq 0x3300
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
movq %r15, 0x10(%rax)
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq %rax, 0x18(%rbx)
movl $0x0, 0x20(%rbx)
movl $0x8, %edi
callq 0x3300
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4e14
movq %r14, 0x50(%rbx)
movl $0x18, %edi
callq 0x3300
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq %rax, 0x48(%rbx)
movl $0x10, %edi
callq 0x3300
movq %rax, %r14
movq %rax, %rdi
callq 0x43f0
movq %r14, 0x28(%rbx)
movl $0x18, %edi
callq 0x3300
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq %rax, 0x40(%rbx)
movl $0x20, %edi
callq 0x3300
movq %rax, %r14
leaq 0x29be(%rip), %rsi      # 0xb801
movq %rax, %rdi
callq 0x4340
movq %r14, -0x20(%rbp)
leaq -0x30(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x29ae(%rip), %rsi      # 0xb80c
leaq 0x29b0(%rip), %rdx      # 0xb815
leaq -0x40(%rbp), %rdi
callq 0x57f8
leaq -0x40(%rbp), %rsi
movq %r14, %rdi
movl $0xa, %edx
callq 0x3e1a
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x8e94
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3320
movq 0x40(%rbx), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x8eb0
movq -0x20(%rbp), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rdi)
jmp 0x8eb9
leaq -0x20(%rbp), %rdx
callq 0xa14e
movq %rbx, %rdi
callq 0x8f2c
movq %rbx, %rdi
callq 0x92e4
movq %rbx, %rdi
callq 0x97bc
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x8f24
movq -0x30(%rbp), %rsi
incq %rsi
jmp 0x8f1f
movq %rax, %rbx
jmp 0x8f24
movq %rax, %rbx
movl $0x20, %esi
jmp 0x8f1c
movq %rax, %rbx
movl $0x10, %esi
jmp 0x8f1c
movq %rax, %rbx
movl $0x8, %esi
jmp 0x8f1c
movq %rax, %rbx
movl $0x38, %esi
movq %r14, %rdi
callq 0x3320
movq %rbx, %rdi
callq 0x3500