Function at 0x1007e5f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
mov eax, dword [0x10108c80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x18], 0x100
jb 0x1007e642
push str.mMaxActiveVoices___256
push 0x77c
push str.C:Usersmarksdev_blitz3d_soloudcmake_build_release_soloud_deps_soloud_src_srccore_soloud.cpp
lea eax, [ebp - 0x1cc]
push str._s__d_:_assert__s__failed._n
push eax
call fcn.10066e40
add esp, 0x14
lea eax, [ebp - 0x1cc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
int3
mov esi, dword [edi + 0x18]
lea eax, [ebp - 0x104]
push esi
push 0
push eax
call fcn.100aefd0
add esp, 0xc
xor ebx, ebx
test esi, esi
je 0x1007e6de
mov eax, dword [edi + 0x4c]
lea edx, [edi + 0x1bdbc]
xor ecx, ecx
mov esi, dword [eax + ebx*4]
mov eax, dword [edi + 0x18]
test esi, esi
je 0x1007e691
mov eax, dword [edx]
cmp esi, dword [edi + eax*4 + 0x50]
mov eax, dword [edi + 0x18]
jne 0x1007e691
or byte [ebp + ebx - 0x104], 1
or byte [ebp + ecx - 0x104], 2
inc ecx
add edx, 4
cmp ecx, eax
jb 0x1007e672
inc ebx
cmp ebx, eax
jb 0x1007e661
xor ecx, ecx
test byte [ebp + ecx - 0x104], 1
jne 0x1007e6d8
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1007e6d8
mov dword [eax + 0x1a4], 0
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x1a8], 0
mov eax, dword [edi + 0x4c]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, dword [edi + 0x18]
jb 0x1007e6a0
xor ecx, ecx
xor ebx, ebx
cmp dword [edi + 0x1cdbc], ecx
jbe 0x1007e7f6
lea edx, [edi + 0x1bdbc]
mov dword [ebp - 0x1d0], edx
nop word [eax + eax]
test byte [ebp + ebx - 0x104], 2
jne 0x1007e7e0
mov eax, dword [edx]
cmp dword [edi + eax*4 + 0x50], 0
je 0x1007e7e0
mov edx, dword [edi + 0x18]
or esi, 0xffffffff
cmp ecx, edx
jae 0x1007e737
mov eax, dword [edi + 0x4c]
cmp dword [eax + ecx*4], 0
cmove esi, ecx
inc ecx
cmp esi, 0xffffffff
je 0x1007e721
jmp 0x1007e76d
cmp esi, 0xffffffff
jne 0x1007e76d
push str.found____1
push 0x7a3
push str.C:Usersmarksdev_blitz3d_soloudcmake_build_release_soloud_deps_soloud_src_srccore_soloud.cpp
lea eax, [ebp - 0x1cc]
push str._s__d_:_assert__s__failed._n
push eax
call fcn.10066e40
add esp, 0x14
lea eax, [ebp - 0x1cc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
int3
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [edi + 0x4c]
push 0x4000
push 0
mov eax, dword [eax]
mov eax, dword [edi + eax*4 + 0x50]
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 0x4c]
mov edx, dword [edi + 0x3c]
mov ecx, dword [eax + esi*4]
mov eax, dword [edx + esi*8]
mov dword [ecx + 0x1a4], eax
mov eax, dword [edi + 0x4c]
mov edx, dword [edi + 0x3c]
mov ecx, dword [eax + esi*4]
mov eax, dword [edx + esi*8 + 4]
mov dword [ecx + 0x1a8], eax
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + esi*4]
push dword [eax + 0x1a4]
call fcn.100aefd0
mov eax, dword [edi + 0x4c]
push 0x4000
push 0
mov eax, dword [eax + esi*4]
push dword [eax + 0x1a8]
call fcn.100aefd0
mov edx, dword [ebp - 0x1d0]
lea ecx, [esi + 1]
add esp, 0x18
inc ebx
add edx, 4
mov dword [ebp - 0x1d0], edx
cmp ebx, dword [edi + 0x1cdbc]
jb 0x1007e700
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ad4b8
mov esp, ebp
pop ebp
ret