Function at 0x534960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5dcb8a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov ebp, ecx
xor ebx, ebx
push edi
lea ecx, [esp + 0x50]
mov dword [esp + 0x30], ebx
call fcn.00537cb0
mov esi, dword [esp + 0x70]
lea eax, [esp + 0x50]
push eax
mov ecx, esi
mov dword [esp + 0x6c], ebx
call fcn.0053a7a0
mov ecx, dword [ebp + 0xc]
push ecx
push str.name
mov ecx, esi
call fcn.0053a810
push str.Position
mov ecx, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call fcn.0053a640
test al, al
je 0x5349ef
lea edx, [esp + 0x14]
push edx
push 0x614630
mov ecx, esi
call fcn.0053a920
test al, al
je 0x5349ef
lea eax, [esp + 0x10]
push eax
push 0x5f3d80
mov ecx, esi
call fcn.0053a920
push 0x120
call fcn.0056d2e0
mov edi, eax
add esp, 4
mov dword [esp + 0x70], edi
test edi, edi
mov byte [esp + 0x68], 1
je 0x534a46
mov ecx, dword [ebp + 0xc]
call sym.Simpsons_Final.exe_public:_unsigned_int___thiscall_pddiColour::operator_unsigned_int_void_
push eax
lea ecx, [esp + 0x3c]
call fcn.0056f7b0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, 1
push ebx
push ecx
push edx
lea eax, [esp + 0x44]
push eax
mov ecx, edi
mov byte [esp + 0x78], 2
mov dword [esp + 0x40], ebx
call fcn.0053fc90
mov edi, eax
jmp 0x534a48
xor edi, edi
test bl, 1
mov dword [esp + 0x68], 0
je 0x534a5e
lea ecx, [esp + 0x38]
call fcn.004cac00
xor eax, eax
push str.Dimension
mov ecx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call fcn.0053a640
test al, al
je 0x534a9e
lea ecx, [esp + 0x18]
push ecx
push str.height
mov ecx, esi
call fcn.0053a920
test al, al
je 0x534a9e
lea edx, [esp + 0x1c]
push edx
push str.width
mov ecx, esi
call fcn.0053a920
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + edi + 0x10]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [ecx + edi + 0x10]
push eax
call dword [edx]
push str.Justification
mov ecx, esi
call fcn.0053a640
test al, al
je 0x534b42
mov ecx, dword [ebp + 0xc]
push ecx
push str.vertical
mov ecx, esi
call fcn.0053a810
test eax, eax
je 0x534b05
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [eax + edi + 0x10]
call sym.Simpsons_Final.exe_public:_unsigned_int___thiscall_pddiColour::operator_unsigned_int_void_
push eax
call fcn.0053c6e0
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx + 0xc]
add esp, 4
push eax
lea ecx, [edx + edi + 0x10]
call dword [ebx + 8]
mov eax, dword [ebp + 0xc]
push eax
push str.horizontal
mov ecx, esi
call fcn.0053a810
test eax, eax
je 0x534b42
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [edx + edi + 0x10]
call sym.Simpsons_Final.exe_public:_unsigned_int___thiscall_pddiColour::operator_unsigned_int_void_
push eax
call fcn.0053c6e0
add esp, 4
push eax
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0xc]
lea ecx, [ecx + edi + 0x10]
call dword [ebx + 4]
push str.Colour
mov ecx, esi
call fcn.0053a640
test al, al
je 0x534c0f
mov eax, 0xff
lea edx, [esp + 0x28]
push edx
push 0x5f3d4c
mov ecx, esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.0053a920
test al, al
je 0x534c0f
lea eax, [esp + 0x24]
push eax
push str.green
mov ecx, esi
call fcn.0053a920
test al, al
je 0x534c0f
lea ecx, [esp + 0x20]
push ecx
push str.blue
mov ecx, esi
call fcn.0053a920
test al, al
je 0x534c0f
lea edx, [esp + 0x70]
push edx
push str.alpha
mov ecx, esi
call fcn.0053a920
test al, al
je 0x534c0f
push 4
call fcn.00445250
add esp, 4
test eax, eax
je 0x534bf0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
mov ecx, eax
call sym.Simpsons_Final.exe_public:_void___thiscall_pddiColour::constructor_int__int__int__int_
mov ebx, eax
jmp 0x534bf2
xor ebx, ebx
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [ebx]
mov edx, dword [ecx + edi + 0x10]
lea ecx, [ecx + edi + 0x10]
push eax
call dword [edx + 0x44]
push ebx
call fcn.004452b0
add esp, 4
push str.TextStyle
mov ecx, esi
call fcn.0053a640
test al, al
je 0x534c43
mov ecx, dword [ebp + 0xc]
push ecx
push str.name
mov ecx, esi
call fcn.0053a810
test eax, eax
je 0x534c43
mov ecx, dword [ebp + 0xc]
call sym.Simpsons_Final.exe_public:_unsigned_int___thiscall_pddiColour::operator_unsigned_int_void_
push eax
mov ecx, edi
call fcn.00540400
push str.Shadow
mov ecx, esi
call fcn.0053a640
test al, al
je 0x534d8b
mov edx, dword [ebp + 0xc]
push edx
push str.enabled
mov ecx, esi
call fcn.0053a810
test eax, eax
je 0x534c90
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x14]
mov ebx, dword [ecx + edi + 0x10]
mov ecx, dword [ebp + 0xc]
push str.true
call fcn.00537dc0
mov edx, dword [edi + 0x10]
push eax
mov eax, dword [edx + 0x14]
lea ecx, [eax + edi + 0x10]
call dword [ebx + 0x40]
lea ecx, [esp + 0x20]
xor ebx, ebx
push ecx
push 0x5f3d4c
mov ecx, esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
call fcn.0053a920
test al, al
je 0x534d44
lea edx, [esp + 0x24]
push edx
push str.green
mov ecx, esi
call fcn.0053a920
test al, al
je 0x534d44
lea eax, [esp + 0x28]
push eax
push str.blue
mov ecx, esi
call fcn.0053a920
test al, al
je 0x534d44
lea ecx, [esp + 0x70]
push ecx
push str.alpha
mov ecx, esi
call fcn.0053a920
test al, al
je 0x534d44
push 4
call fcn.00445250
add esp, 4
cmp eax, ebx
je 0x534d25
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
mov ecx, eax
call sym.Simpsons_Final.exe_public:_void___thiscall_pddiColour::constructor_int__int__int__int_
mov ebx, eax
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 0x14]
mov edx, dword [eax + edi + 0x10]
lea ecx, [eax + edi + 0x10]
mov eax, dword [ebx]
push eax
call dword [edx + 0x54]
push ebx
call fcn.004452b0
add esp, 4
xor ebx, ebx
lea ecx, [esp + 0x30]
push ecx
push 0x614630
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.0053a920
lea edx, [esp + 0x2c]
push edx
push 0x5f3d80
mov ecx, esi
call fcn.0053a920
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx + edi + 0x10]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [ecx + edi + 0x10]
push eax
call dword [edx + 0x48]
jmp 0x534d8d
xor ebx, ebx
push str.CurrentIndex
mov ecx, esi
mov dword [esp + 0x38], ebx
call fcn.0053a640
test al, al
je 0x534db2
lea ecx, [esp + 0x34]
push ecx
push str.value
mov ecx, esi
call fcn.0053a920
push str.Text
lea ecx, [esp + 0x54]
call sym.Simpsons_Final.exe_public:_unsigned_int___thiscall_pddiColour::operator_unsigned_int_void_
push eax
call fcn.005389b0
add esp, 8
test eax, eax
mov ecx, esi
jne 0x534e76
push str.String
call fcn.0053a640
test al, al
je 0x534f49
mov edx, dword [ebp + 0xc]
push edx
push str.hardCodedString
mov ecx, esi
call fcn.0053a810
test eax, eax
je 0x534e0e
mov ecx, dword [ebp + 0xc]
call sym.Simpsons_Final.exe_public:_unsigned_int___thiscall_pddiColour::operator_unsigned_int_void_
push eax
mov ecx, edi
call fcn.00540540
jmp 0x534f49
mov eax, dword [ebp + 0xc]
push eax
push str.stringId
mov ecx, esi
call fcn.0053a810
test eax, eax
je 0x534f49
lea ecx, [esp + 0x40]
call fcn.00537cb0
lea ecx, [esp + 0x40]
push ecx
push str.textBible
mov ecx, esi
mov byte [esp + 0x70], 4
call fcn.0053a810
test eax, eax
je 0x534e63
mov ecx, dword [ebp + 0xc]
call sym.Simpsons_Final.exe_public:_unsigned_int___thiscall_pddiColour::operator_unsigned_int_void_
push eax
lea ecx, [esp + 0x44]
call sym.Simpsons_Final.exe_public:_unsigned_int___thiscall_pddiColour::operator_unsigned_int_void_
push eax
mov ecx, edi
call fcn.0053ff20
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0
call fcn.00537cd0
jmp 0x534f49
push str.Strings
call fcn.0053a640
test al, al
je 0x534f49
push str.Strings
mov ecx, esi
call fcn.0053aa90
mov esi, eax
push 0
mov ecx, esi
call fcn.0053a720
test al, al
je 0x534f3d
mov edx, dword [ebp + 0xc]
push edx
push str.hardCodedString
mov ecx, esi
inc ebx
call fcn.0053a810
test eax, eax
je 0x534ece
mov ecx, dword [ebp + 0xc]
call sym.Simpsons_Final.exe_public:_unsigned_int___thiscall_pddiColour::operator_unsigned_int_void_
push eax
mov ecx, edi
call fcn.00540540
jmp 0x534f2d
mov eax, dword [ebp + 0xc]
push eax
push str.stringId
mov ecx, esi
call fcn.0053a810
test eax, eax
je 0x534f2d
lea ecx, [esp + 0x40]
call fcn.00537cb0
lea ecx, [esp + 0x40]
push ecx
push str.textBible
mov ecx, esi
mov byte [esp + 0x70], 5
call fcn.0053a810
test eax, eax
je 0x534f1f
mov ecx, dword [ebp + 0xc]
call sym.Simpsons_Final.exe_public:_unsigned_int___thiscall_pddiColour::operator_unsigned_int_void_
push eax
lea ecx, [esp + 0x44]
call sym.Simpsons_Final.exe_public:_unsigned_int___thiscall_pddiColour::operator_unsigned_int_void_
push eax
mov ecx, edi
call fcn.0053ff20
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0
call fcn.00537cd0
push ebx
mov ecx, esi
call fcn.0053a720
test al, al
jne 0x534ea7
test esi, esi
je 0x534f49
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x14]
mov eax, dword [esp + 0x34]
mov edx, dword [ecx + edi + 0x10]
lea ecx, [ecx + edi + 0x10]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0xc]
lea ecx, [edx + eax + 0x10]
mov eax, dword [ecx]
push edi
call dword [eax]
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
call fcn.00537cd0
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 8