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

Disassembly:
sub esp, 0x2dc
mov eax, dword [0x500030]
xor eax, esp
mov dword [esp + 0x2d4], eax
mov eax, dword [esp + 0x2e4]
push ebx
push ebp
mov ebp, dword [esp + 0x2e8]
mov ebx, ecx
mov dword [esp + 0x28], eax
push esi
mov eax, ebx
push edi
mov dword [esp + 0x6c], ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x470cd5
mov esi, dword [sym.imp.MSVCR90.dll_sprintf]
sub eax, ecx
push ebx
lea ecx, [esp + 0xbc]
push 0x4fbfdc
push ecx
mov dword [esp + 0x90], eax
call esi
add esp, 0xc
push ebx
lea edx, [esp + 0x94]
push 0x4fbfe0
push edx
call esi
lea eax, [esp + 0x9c]
add esp, 0xc
push eax
mov esi, ebp
call fcn.0046a450
lea ecx, [esp + 0xbc]
add esp, 4
push ecx
mov edi, eax
call fcn.0046a450
add esp, 4
add edi, eax
mov dword [esp + 0x78], edi
jne 0x470d55
push ebx
push str.Need_at_least_one___s__type_bg_n
mov edx, 3
call fcn.0046c3c0
add esp, 8
jmp 0x471934
push edi
call fcn.00471f30
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
je 0x471934
lea edx, [esp + 0xe0]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x470d77
lea edi, [esp + 0xe0]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x470d90
mov edx, dword [0x4f08d0]
mov dword [edi], edx
lea edi, [esp + 0xe0]
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
jne 0x470dd3
mov eax, edi
push eax
push str.Cant_access_group__s_n
mov edx, 3
call fcn.0046c3c0
push esi
call fcn.00471fa0
add esp, 0xc
jmp 0x471934
push 0x4f4f40
push ebp
call fcn.0046a5e0
mov edi, eax
add esp, 8
test edi, edi
je 0x470e1f
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xe0]
call fcn.00461700
lea ecx, [esp + 0xe0]
push ecx
call fcn.00467510
add esp, 4
mov dword [esi + 0x38], eax
test eax, eax
jne 0x470e16
push edi
push str.Error_reading_sprite__s_n
jmp 0x470dbb
mov dword [esi + 0x3c], 1
jmp 0x470e38
mov eax, dword [esp + 0x2f8]
test eax, eax
je 0x471919
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
lea edx, [esp + 0x2c]
push edx
mov eax, str.debugbg
mov ecx, ebp
call fcn.0046a900
add esp, 4
test eax, eax
je 0x470e6b
cmp dword [esp + 0x2c], 0
je 0x470e8b
mov eax, 0xff
mov dword [esi + 0x54], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], 0
jmp 0x470e8b
lea eax, [esi + 0x54]
push eax
lea ecx, [esi + 0x50]
push ecx
lea edx, [esi + 0x4c]
push edx
push str._i__i__i
mov eax, str.bgclearcolor
mov ecx, ebp
call fcn.0046a960
add esp, 0x10
mov eax, dword [esp + 0x2fc]
test eax, eax
je 0x470ea2
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0
jmp 0x470f04
mov ecx, ebp
mov dword [ebp + 0x18], 0xffffffff
call fcn.0046a3f0
mov edi, eax
lea eax, [edi + 1]
mov ecx, str.begin_action
call fcn.004614d0
test eax, eax
jne 0x470ee1
mov ecx, ebp
call fcn.0046a3f0
mov edi, eax
test edi, edi
je 0x470f04
lea eax, [edi + 1]
mov ecx, str.begin_action
call fcn.004614d0
test eax, eax
je 0x470ec3
test edi, edi
je 0x470f04
mov edi, ebp
call fcn.00463890
mov dword [esi + 0x30], eax
test eax, eax
jne 0x470efd
push str.Error_loading_anim_n
jmp 0x47191e
mov dword [esi + 0x34], 1
mov ecx, ebp
mov dword [ebp + 0x18], 0xffffffff
call fcn.0046a3f0
cmp dword [esp + 0x78], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0
jle 0x4717b0
lea esp, [esp]
mov eax, dword [ebp + 0x18]
fldz
fld1
cmp eax, dword [ebp + 0x30]
je 0x4710b4
mov esi, dword [esp + 0x10]
fstp st(1)
mov ebx, dword [esp + 0x84]
fstp st(0)
xor edi, edi
mov ecx, dword [esp + 0x6c]
lea eax, [esi + 1]
call fcn.004614d0
test eax, eax
je 0x470f83
movsx eax, byte [esi + ebx + 1]
lea ecx, [eax - 1]
cmp ecx, 0x7e
ja 0x470f7c
push eax
call dword [sym.imp.MSVCR90.dll_isspace]
add esp, 4
test eax, eax
jne 0x470fe0
cmp byte [esi + ebx + 1], 0x5d
je 0x470fe0
mov edx, 1
add dword [ebp + 0x18], edx
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0x30]
jl 0x470f97
xor esi, esi
jmp 0x470fd0
mov ecx, dword [ebp + 0x2c]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
inc eax
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x24]
mov esi, dword [eax + esi*4]
sub esi, dword [ebp + 4]
mov dword [ebp + 0x10], esi
mov ecx, dword [ecx]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp + 0x28]
mov dword [ebp + 0x1c], edi
jge 0x470fcd
mov eax, dword [eax + ecx*4]
cmp byte [eax], 0x5b
jne 0x470fd0
mov dword [ebp + 0x1c], edx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x10], esi
cmp ecx, dword [ebp + 0x30]
jne 0x470f51
fld1
xor ebx, ebx
fldz
fxch st(1)
fxch st(1)
or eax, 0xffffffff
fst dword [esp + 0x64]
push str.layerno
fst dword [esp + 0x60]
push ebp
fxch st(1)
mov dword [esp + 0x4c], eax
fst dword [esp + 0x44]
mov dword [esp + 0x2c], eax
fst dword [esp + 0x40]
mov dword [esp + 0x28], eax
fst dword [esp + 0x84]
mov dword [esp + 0x24], eax
fst dword [esp + 0x7c]
mov dword [esp + 0x20], ebx
fstp dword [esp + 0x70]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], ebx
fst dword [esp + 0x54]
mov dword [esp + 0x50], 0x100
fst dword [esp + 0x58]
mov dword [esp + 0x48], ebx
fst dword [esp + 0x88]
mov dword [esp + 0x38], ebx
fstp dword [esp + 0x78]
call fcn.0046a5e0
add esp, 8
cmp eax, ebx
je 0x47106d
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esp + 0x30], eax
push str.type
push ebp
call fcn.0046a5e0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4717ce
movsx eax, byte [esi]
lea edx, [eax - 1]
cmp edx, 0x7e
ja 0x47109a
push eax
call dword [sym.imp.MSVCR90.dll_tolower]
add esp, 4
sub eax, 0x61
cmp eax, 0xf
ja case.0x4710ad.98
movzx eax, byte [eax + 0x471968]
jmp dword [eax*4 + 0x471950]
xor ebx, ebx
jmp 0x470fe8
mov edi, 3
jmp 0x4710d9
mov edi, 0xa
jmp 0x4710d9
xor edi, edi
jmp 0x4710d9
mov edi, 1
jmp 0x4710d9
mov edi, 2
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x60]
push edx
push str._f__f
mov eax, str.start
mov ecx, ebp
mov dword [esp + 0x40], edi
call fcn.0046a960
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c]
push ecx
push str._f__f
mov eax, str.delta
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x78]
push eax
push str._f__f
mov eax, str.scalestart
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x54]
push edx
push str._f__f
mov eax, str.scaledelta
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
lea eax, [esp + 0x68]
push eax
push 0x4f2c54
mov eax, str.zoomdelta
mov ecx, ebp
call fcn.0046a960
fld dword [esp + 0x40]
fld qword [0x4fd838]
lea ecx, [esp + 0x88]
fmul st(1), st(0)
push ecx
fxch st(1)
lea edx, [esp + 0x7c]
push edx
fstp dword [esp + 0x48]
push str._f__f
fld dword [esp + 0x50]
mov eax, str.velocity
fmul st(1)
mov ecx, ebp
fstp dword [esp + 0x50]
fld dword [esp + 0x64]
fmul st(1)
fstp dword [esp + 0x64]
fmul dword [esp + 0x60]
fstp dword [esp + 0x60]
call fcn.0046a960
add esp, 0x14
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0x4f09dc
mov eax, str.spriteno
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
cmp eax, ebx
je 0x4711e5
cmp eax, 2
jne 0x4717f4
lea edx, [esp + 0x20]
push edx
mov eax, str.actionno
mov ecx, ebp
call fcn.0046a900
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 4
test edi, edi
jne 0x47121d
cmp eax, 0xffffffff
jne 0x471249
cmp ebx, eax
je 0x47181a
mov edi, 3
mov dword [esp + 0x34], edi
jmp 0x471222
cmp edi, 3
jne 0x471237
cmp ebx, 0xffffffff
jne 0x47123c
cmp eax, ebx
je 0x47181a
xor edi, edi
mov dword [esp + 0x34], edi
jmp 0x47123c
cmp edi, 1
jne 0x471249
cmp eax, 0xffffffff
jne 0x471249
cmp ebx, eax
je 0x47181a
push str.trans
push ebp
call fcn.0046a5e0
mov esi, eax
add esp, 8
test esi, esi
je 0x4712b1
lea eax, [esp + 0x48]
push eax
lea ebx, [esp + 0x44]
call fcn.004635f0
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, 0xfffffffe
je 0x471840
mov ecx, ebx
push ecx
lea edx, [esp + 0x4c]
push edx
push 0x4f09dc
mov eax, str.alpha
mov ecx, ebp
call fcn.0046a960
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, 3
je 0x4712a5
cmp eax, 2
jne 0x4712ad
mov dword [esp + 0x18], 1
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
mov eax, str.mask
mov ecx, ebp
call fcn.0046a900
mov ecx, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x4712e0
mov eax, ecx
sub eax, 0
je 0x4712de
sub eax, 1
jne 0x4712e0
lea ecx, [eax + 1]
jmp 0x4712e0
xor ecx, ecx
cmp edi, 0xa
jne 0x471381
or eax, 0xffffffff
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x44]
fld dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
sub esp, 0x10
fstp dword [esp + 0xc]
mov eax, edi
fld dword [esp + 0x60]
fstp dword [esp + 8]
fld dword [esp + 0x8c]
fstp dword [esp + 4]
fld dword [esp + 0x84]
fstp dword [esp]
push ecx
call fcn.00472250
add esp, 0x2c
cmp eax, 0xffffffff
je 0x471862
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + 0x40]
mov eax, dword [esp + 0x2c]
push eax
xor edi, edi
mov edx, ebx
call fcn.00466840
add esp, 4
cmp eax, 0xffffffff
je 0x471417
mov esi, dword [ebx + 4]
imul esi, eax
add esi, dword [ebx + 0x18]
jmp 0x471419
cmp edi, 3
jne 0x471390
mov dword [esp + 0x24], 0xffffffff
jmp 0x4713a1
test edi, edi
jne 0x4713a1
or eax, 0xffffffff
cmp dword [esp + 0x24], eax
jne 0x4712f0
cmp ebx, 0xffffffff
je 0x4712f4
mov ecx, dword [esp + 0x40]
fld dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push ebx
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
sub esp, 0x10
fstp dword [esp + 0xc]
mov eax, esi
fld dword [esp + 0x58]
fstp dword [esp + 8]
fld dword [esp + 0x84]
fstp dword [esp + 4]
fld dword [esp + 0x7c]
fstp dword [esp]
push edi
push ecx
call fcn.004723a0
add esp, 0x28
cmp eax, 0xffffffff
jne 0x471352
mov edx, dword [esp + 0x10]
push edx
push ebx
push str.Error_adding_BG_anim__i_for__s_n
lea edx, [eax + 4]
call fcn.0046c3c0
add esp, 0xc
jmp 0x47192b
xor esi, esi
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x78], ecx
fld dword [esp + 0x70]
fstp dword [esi + 0x1c]
lea edx, [esi + 0xdc]
fld dword [esp + 0x80]
push edx
fstp dword [esi + 0x20]
mov eax, 0x4f476c
fld dword [esp + 0x78]
mov ecx, ebp
fstp dword [esi + 0xc]
fld dword [esp + 0x80]
fstp dword [esi + 0x10]
fld dword [esp + 0x54]
fstp dword [esi + 0x24]
fld dword [esp + 0x50]
fstp dword [esi + 0x28]
fld dword [esp + 0x6c]
fstp dword [esi + 0x2c]
call fcn.0046a900
add esp, 4
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x64]
push ecx
push 0x4f09dc
mov eax, str.tile
mov ecx, ebp
call fcn.0046a960
mov edx, dword [esp + 0x6c]
add esp, 0xc
lea ebx, [esi + 0x3c]
mov dword [esi + 0x30], edx
mov eax, dword [esp + 0x54]
push ebx
lea edi, [esi + 0x38]
mov dword [esi + 0x34], eax
push edi
push str._f__f
mov eax, str.tilespacing
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
cmp dword [esp + 0x20], 0xffffffff
je 0x4714de
fld1
fcom dword [edi]
fnstsw ax
test ah, 0x41
jne 0x4714ce
mov dword [esi + 0x30], 0
fcomp dword [ebx]
fnstsw ax
test ah, 0x41
jne 0x4714de
mov dword [esi + 0x34], 0
lea ebx, [esi + 0x5c]
push ebx
lea edi, [esi + 0x54]
push edi
lea eax, [esi + 0x58]
push eax
lea ecx, [esi + 0x50]
push ecx
push str._i__i__i__i
mov eax, str.window
mov ecx, ebp
mov dword [esi + 0x48], 0
call fcn.0046a960
add esp, 0x14
cmp eax, 4
jl 0x47153d
mov edx, dword [edi]
cmp edx, dword [esi + 0x50]
mov ecx, 1
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
jge 0x471528
mov eax, dword [esi + 0x50]
mov dword [esi + 0x50], edx
mov dword [edi], eax
mov eax, dword [ebx]
add dword [edi], ecx
cmp eax, dword [esi + 0x58]
jge 0x47153b
mov edx, dword [ebx]
mov eax, dword [esi + 0x58]
mov dword [esi + 0x58], edx
mov dword [ebx], eax
add dword [ebx], ecx
push ebx
push edi
lea eax, [esi + 0x58]
push eax
lea eax, [esi + 0x50]
push eax
push str._i__i__i__i
mov eax, str.maskwindow
mov ecx, ebp
call fcn.0046a960
add esp, 0x14
cmp eax, 4
jl 0x471567
mov dword [esi + 0x48], 1
lea eax, [esi + 0x64]
push eax
lea ecx, [esi + 0x60]
push ecx
push str._f__f
mov eax, str.windowdelta
mov ecx, ebp
call fcn.0046a960
lea edx, [esi + 0xf8]
add esp, 0xc
push edx
mov eax, str.positionlink
mov ecx, ebp
call fcn.0046a900
add esp, 4
lea eax, [esi + 0x10c]
push eax
lea ecx, [esi + 0x104]
push ecx
lea edx, [esi + 0xfc]
push edx
push str._f___f___f
mov eax, str.sin.x
mov ecx, ebp
call fcn.0046a960
lea eax, [esi + 0x110]
push eax
lea ecx, [esi + 0x108]
push ecx
lea edx, [esi + 0x100]
push edx
push str._f___f___f
mov eax, str.sin.y
mov ecx, ebp
call fcn.0046a960
mov edi, 1
add esp, 0x20
cmp dword [esp + 0x34], edi
jne 0x47178a
fld dword [0x4fd9f0]
lea eax, [esp + 0x58]
push eax
fstp dword [esp + 0x1c]
fldz
lea ecx, [esp + 0x2c]
push ecx
fstp dword [esp + 0x24]
push str._f__f
mov eax, str.paralwidth
mov ecx, ebp
mov dword [esp + 0x3c], edi
xor ebx, ebx
call fcn.0046a960
add esp, 0xc
cmp eax, 2
jne 0x47163f
mov ebx, edi
mov dword [esp + 0x30], 0
jmp 0x4716ee
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x2c]
push eax
push str._f__f
mov eax, str.width
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
cmp eax, 2
jne 0x471669
mov ebx, edi
jmp 0x4716ee
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x8c]
push edx
push str._f__f
mov eax, str.xscale
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
cmp eax, 2
jne 0x47188e
mov edi, dword [esp + 0x24]
cmp edi, 0xffffffff
je 0x4716e3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + 0x38]
call fcn.00465810
test eax, eax
je 0x4716ee
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x88]
fld dword [esp + 0x28]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fmul dword [esp + 0x8c]
fstp dword [esp + 0x58]
jmp 0x4716ee
cmp dword [esp + 0x20], 0xffffffff
jne 0x4718b4
lea edx, [esp + 0x18]
push edx
mov eax, str.yscalestart
mov ecx, ebp
call fcn.0046a8a0
fld dword [esp + 0x1c]
fmul qword [0x4fd9e8]
lea eax, [esp + 0x20]
add esp, 4
push eax
mov eax, str.yscaledelta
fstp dword [esp + 0x1c]
mov ecx, ebp
call fcn.0046a8a0
fld dword [esp + 0x20]
fmul qword [0x4fd9e8]
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x18]
add esp, 4
neg eax
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
sbb eax, eax
xor ecx, ecx
and eax, 2
cmp dword [esp + 0x60], ecx
push ebx
setne cl
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [esp + 0x2c]
fstp dword [esp + 8]
fld dword [esp + 0x6c]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
or eax, ecx
fstp dword [esp]
push edi
call fcn.00472f10
add esp, 0x18
test eax, eax
je 0x4718d7
mov edx, dword [esp + 0x30]
mov dword [esi + 0xc0], edx
mov ecx, ebp
call fcn.0046a3f0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
jl 0x470f30
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x14]
push ebp
push esi
mov ecx, ebx
call fcn.00471980
add esp, 8
test eax, eax
jne 0x471915
push str.Error_reading_bg_control_data_n
jmp 0x47191e
mov eax, dword [esp + 0x10]
push eax
push str.Missing_type_in__s_n
mov edx, 3
call fcn.0046c3c0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00471fa0
add esp, 0xc
jmp 0x471934
mov edx, dword [esp + 0x10]
push edx
push str.Invalid_number_of_args_for_spriteno_in__s_n
mov edx, 3
call fcn.0046c3c0
mov eax, dword [esp + 0x1c]
push eax
call fcn.00471fa0
add esp, 0xc
jmp 0x471934
mov ecx, dword [esp + 0x10]
push ecx
push str.Either_spriteno_or_actionno_must_be_specified_in__s_n
mov edx, 3
call fcn.0046c3c0
mov edx, dword [esp + 0x1c]
push edx
call fcn.00471fa0
add esp, 0xc
jmp 0x471934
mov eax, dword [esp + 0x10]
push eax
push esi
push str.Invalid_argument:_trans___s_in__s
mov edx, 3
call fcn.0046c3c0
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
jmp 0x47192c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
push str.Error_adding_BG_sprite__i__i_for__s_n
mov edx, 3
call fcn.0046c3c0
push ebx
call fcn.00471fa0
add esp, 0x14
jmp 0x471934
mov eax, dword [esp + 0x10]
push eax
push str.Missing_or_invalid_width_or_xscale_for_parallax_in__s._n
mov edx, 3
call fcn.0046c3c0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00471fa0
add esp, 0xc
jmp 0x471934
mov edx, dword [esp + 0x10]
push edx
push str.Animated_parallax_not_supported_when_using_xscale_parameter_in__s._n
mov edx, 3
call fcn.0046c3c0
mov eax, dword [esp + 0x1c]
push eax
call fcn.00471fa0
add esp, 0xc
jmp 0x471934
mov ecx, dword [esp + 0x10]
push ecx
push str.Cant_init_parallax_in__s._n
mov edx, 3
call fcn.0046c3c0
push edi
call fcn.00471fa0
add esp, 0xc
jmp 0x471934
mov edx, dword [esp + 0x10]
push edx
push esi
push str.Invalid_type:__s_in__s_n
mov edx, 3
call fcn.0046c3c0
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
jmp 0x47192c
mov eax, esi
jmp 0x471936
push str.Error:_sff_file_must_be_specified_n
mov edx, 3
call fcn.0046c3c0
add esp, 4
push esi
call fcn.00471fa0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2e4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004dc814
add esp, 0x2dc
ret