Function at 0x45dce0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x6cc1c0]
push esi
mov esi, ecx
test eax, eax
je 0x45dcef
pop esi
jmp eax
cmp dword [esi + 0x55df4], 0
jne 0x45ddae
push ebx
push edi
push 0
mov dword [0x6cc198], 0
call dword [sym.imp.PAL.dll_PalTaskGetTaskData]
add esp, 4
mov edi, 1
lea ebx, [eax + 0x338]
nop
test dword [esi + 0x55efc], edi
je case.0x45dd3f.3
lea eax, [edi - 1]
cmp eax, 0xf
ja case.0x45dd3f.3
movzx eax, byte [eax + 0x45dfec]
jmp dword [eax*4 + 0x45dfd4]
mov ecx, ebx
call fcn.0041e4f0
test eax, eax
je case.0x45dd3f.3
and dword [esi + 0x55efc], 0xfffffffe
jmp case.0x45dd3f.3
call dword [sym.imp.PAL.dll_PaltimeGetTime]
sub eax, dword [ebx + 0x55f24]
cmp eax, dword [ebx + 0x55f28]
jb case.0x45dd3f.3
push dword [ebx + 0x55f1c]
call dword [sym.imp.PAL.dll_PalRenderGetActive]
push eax
call dword [sym.imp.PAL.dll_PalSpriteRelease]
add esp, 8
xorps xmm0, xmm0
movups xmmword [ebx + 0x55f1c], xmm0
and dword [ebx + 0x55ef8], 0xfffffffd
call fcn.00462b30
and dword [esi + 0x55efc], 0xfffffffd
pop edi
pop ebx
pop esi
ret
mov ecx, ebx
call fcn.0041e290
test eax, eax
je case.0x45dd3f.3
and dword [esi + 0x55efc], 0xfffffffb
jmp case.0x45dd3f.3
mov ecx, ebx
call fcn.0041e050
test eax, eax
je case.0x45dd3f.3
and dword [esi + 0x55efc], 0xfffffff7
jmp case.0x45dd3f.3
cmp dword [ebx + 0x5951c], 2
jne case.0x45dd3f.3
push 0x1fffffff
push 0
call dword [sym.imp.PAL.dll_PalGetFxEffectState]
add esp, 8
test eax, eax
jne case.0x45dd3f.3
push 0x1fffffff
push eax
call dword [sym.imp.PAL.dll_PalReleaseFxEffect]
add esp, 8
and dword [esi + 0x55efc], 0xffffffef
add edi, edi
jne 0x45dd20
xor ecx, ecx
lea eax, [esi + 0x595b4]
nop dword [eax + eax]
cmp dword [eax], 0
je 0x45de2f
cmp dword [eax + 0x18], 2
je 0x45deea
inc ecx
add eax, 0x7edcc
cmp ecx, 0x10
jl 0x45de20
call dword [sym.imp.PAL.dll_PalEffectIs]
test eax, eax
jne 0x45ddac
cmp dword [esi + 0x3290], eax
jbe 0x45de6e
call dword [sym.imp.PAL.dll_PaltimeGetTime]
sub eax, dword [esi + 0x328c]
cmp eax, dword [esi + 0x3290]
jb 0x45de6e
mov dword [esi + 0x3290], 0
push 0
call dword [sym.imp.PAL.dll_PalTaskGetTaskData]
add esp, 4
cmp dword [eax + 0x8475bc], 0
lea edi, [eax + 0x338]
je 0x45defd
cmp dword [edi + 0x847288], 0
je 0x45defd
cmp dword [edi + 0x84728c], 0
jne 0x45dec9
push 3
push dword [edi + 0x55dd8]
mov edx, 2
mov ecx, edi
call fcn.00464610
mov eax, dword [edi + 0x847290]
add esp, 8
add eax, dword [edi + 0x55ddc]
mov dword [edi + 0x55dd8], eax
inc dword [edi + 0x84728c]
lea edi, [esi + 0x55dd0]
mov dword [0x6cc198], 1
mov ecx, edi
call fcn.00463230
test eax, eax
je 0x45ddac
jmp 0x45df03
call dword [sym.imp.PAL.dll_PalEffectIs]
test eax, eax
jne 0x45ddac
jmp 0x45dfbf
lea edi, [esi + 0x55dd0]
cmp dword [esi + 0x3294], 0
jne 0x45dfae
lea ecx, [esi + 0x3288]
call fcn.00417200
test eax, eax
je 0x45df5f
mov ecx, edi
mov dword [0x4d14c8], 0
pop edi
pop ebx
mov dword [0x4d14cc], 0
mov dword [0x4d14d0], 1
mov byte [0x6cbc67], 0
mov byte [0x6cbc66], 0
mov dword [0x6cc198], 2
pop esi
jmp fcn.00463230
lea ecx, [esi + 0x3288]
call fcn.0044e7c0
test eax, eax
je 0x45dfae
mov ecx, edi
mov dword [0x4d14c8], 0
pop edi
pop ebx
mov dword [0x4d14cc], 0
mov dword [0x4d14d0], 1
mov byte [0x6cbc67], 0
mov byte [0x6cbc66], 0
mov dword [0x6cc198], 3
pop esi
jmp fcn.00463230
mov ecx, edi
mov dword [0x6cc198], 0
call fcn.00463230
pop edi
pop ebx
lea ecx, [esi + 4]
mov dword [0x6cc198], 0
pop esi
jmp fcn.00453610