Function at 0x101bb7f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp dword [esi + 0x1c], 2
jg 0x101bb81f
add esi, 0x1d04
mov ecx, esi
push str.OpenGL_ES_3.0_Required.
push 0x502
push ebx
call fcn.1001a2a0
jmp 0x101bb864
mov edi, dword [ebp + 0x18]
push dword [ebp + 0x1c]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push esi
call fcn.101a7490
add esp, 0x18
test al, al
je 0x101bb864
mov al, 1
test edi, edi
je 0x101bb866
cmp dword [ebp + 0x20], 0
js 0x101bb86e
mov eax, dword [esi + 0x136c]
cmp dword [eax + 0x2c], edi
jbe 0x101bb880
mov eax, dword [eax + 0x30]
mov eax, dword [eax + edi*4]
xor edi, edi
cmp eax, 0xffffffff
cmovne edi, eax
jmp 0x101bb92d
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
add esi, 0x1d04
mov ecx, esi
push str.Negative_layer.
jmp 0x101bb9f4
mov dword [ebp - 0x10], eax
mov eax, edi
shr eax, 0x10
mov ecx, edi
shr ecx, 8
mov edx, 0xff
mov ebx, edi
and ebx, edx
and ecx, edx
and eax, edx
mov edx, edi
shr edx, 0x18
mov dword [ebp - 0x1c], ebx
xor ebx, 0x811c9dc5
imul ebx, ebx, 0x1000193
xor ebx, ecx
imul ebx, ebx, 0x1000193
mov dword [ebp - 0x18], eax
xor ebx, eax
imul ebx, ebx, 0x1000193
xor ebx, edx
imul edx, ebx, 0x1000193
mov eax, dword [ebp - 0x10]
and edx, dword [eax + 0x4c]
mov ebx, dword [eax + 0x38]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + edx*8 + 4]
mov dword [ebp - 0x10], ebx
cmp edx, ebx
je 0x101bb91d
mov ebx, eax
and edi, 0xff000000
mov eax, dword [ebp - 0x18]
shl eax, 0x10
or eax, edi
shl ecx, 8
or ecx, eax
add ecx, dword [ebp - 0x1c]
cmp ecx, dword [edx + 8]
je 0x101bb91f
mov eax, dword [ebp - 0x14]
add eax, eax
mov eax, dword [ebx + eax*4]
mov ebx, dword [ebp + 0xc]
cmp edx, eax
je 0x101bba4c
mov edx, dword [edx + 4]
cmp ecx, dword [edx + 8]
jne 0x101bb90b
jmp 0x101bb922
xor edx, edx
mov ebx, dword [ebp + 0xc]
test edx, edx
mov eax, dword [ebp - 0x10]
cmovne eax, edx
mov edi, dword [eax + 0xc]
movzx edx, byte [edi + 0x6c]
lea eax, [edx - 1]
cmp eax, 7
ja case.0x101bb939.2
jmp dword [eax*4 + 0x10300578]
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x44]
xor ecx, ecx
dec ecx
inc ecx
mov edi, eax
sar edi, cl
cmp edi, 1
jg 0x101bb949
jmp 0x101bb9e2
add esi, 0x1d04
mov ecx, esi
push str.Texture_is_not_a_three_dimensional__two_dimensional_array__two_dimensional_multisample_array__cube_map__or_cube_map_array_texture.
jmp 0x101bb812
cmp dword [ebp + 0x1c], 0
jne 0x101bb9e7
mov eax, dword [ebp + 0x20]
cmp dword [esi + 0x4c], eax
jle 0x101bb99e
jmp 0x101bba12
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x40]
xor ecx, ecx
dec ecx
inc ecx
mov edi, eax
sar edi, cl
cmp edi, 1
jg 0x101bb986
cmp ecx, dword [ebp + 0x1c]
jl 0x101bb9e7
mov ecx, dword [ebp + 0x20]
cmp eax, ecx
mov eax, ecx
jg 0x101bba06
add esi, 0x1d04
mov ecx, esi
push str.Layer_invalid_for_framebuffer_texture_attachment.
jmp 0x101bb9f4
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x54]
xor ecx, ecx
dec ecx
inc ecx
mov edi, eax
sar edi, cl
cmp edi, 1
jg 0x101bb9b6
cmp ecx, dword [ebp + 0x1c]
jl 0x101bb9e7
mov eax, dword [ebp + 0x20]
cmp eax, 6
jge 0x101bb99e
jmp 0x101bba06
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x54]
xor ecx, ecx
dec ecx
inc ecx
mov edi, eax
sar edi, cl
cmp edi, 1
jg 0x101bb9d8
cmp ecx, dword [ebp + 0x1c]
jge 0x101bb9fe
add esi, 0x1d04
mov ecx, esi
push str.Mip_level_invalid_for_framebuffer_texture_attachment.
push 0x501
jmp 0x101bb817
mov eax, dword [ebp + 0x20]
cmp dword [esi + 0x4c], eax
jle 0x101bb99e
cmp dl, 7
mov edi, dword [ebp - 0x10]
jne 0x101bba12
add al, 7
jmp 0x101bba1e
movzx eax, dl
push eax
call fcn.10219ef0
add esp, 4
movzx eax, al
mov ecx, edi
push dword [ebp + 0x1c]
push eax
call fcn.1008e490
mov eax, dword [eax]
cmp byte [eax + 0x34], 0
mov al, 1
je 0x101bb866
add esi, 0x1d04
mov ecx, esi
push str.Compressed_textures_cannot_be_attached_to_a_framebuffer.
jmp 0x101bb812
xor edx, edx
jmp 0x101bb922