Function at 0x101b90a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp dword [esi + 0x1c], 2
jg 0x101b90d7
test eax, eax
je 0x101b90d7
cmp byte [esi + 0x12ac], 0
jne 0x101b90d7
add esi, 0x1d04
mov ecx, esi
push str.Mipmap_level_must_be_0_when_attaching_a_texture.
jmp 0x101b920e
mov edi, dword [ebp + 0x1c]
push eax
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push esi
call fcn.101a7490
add esp, 0x18
test al, al
je 0x101b9219
mov al, 1
test edi, edi
je 0x101b921b
mov cl, byte [ebp + 0x18]
mov edx, dword [esi + 0x136c]
cmp dword [edx + 0x2c], edi
jbe 0x101b911f
mov eax, dword [edx + 0x30]
mov eax, dword [eax + edi*4]
xor edi, edi
cmp eax, 0xffffffff
cmovne edi, eax
jmp 0x101b91d9
mov ebx, edi
shr ebx, 0x10
mov ecx, edi
shr ecx, 8
mov eax, edi
mov esi, 0xff
and eax, esi
and ecx, esi
and ebx, esi
mov esi, edi
shr esi, 0x18
mov dword [ebp - 0x1c], eax
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor eax, ecx
imul eax, eax, 0x1000193
xor eax, ebx
imul eax, eax, 0x1000193
xor eax, esi
imul eax, eax, 0x1000193
and eax, dword [edx + 0x4c]
mov esi, dword [edx + 0x38]
mov edx, dword [edx + 0x40]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov edx, dword [edx + eax*8 + 4]
mov dword [ebp - 0x18], esi
cmp edx, esi
je 0x101b919d
and edi, 0xff000000
shl ebx, 0x10
or ebx, edi
shl ecx, 8
or ecx, ebx
add ecx, dword [ebp - 0x1c]
cmp ecx, dword [edx + 8]
jne 0x101b91aa
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 8]
jmp 0x101b91c9
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov cl, byte [ebp + 0x18]
mov esi, dword [ebp + 8]
jmp 0x101b91d9
mov eax, dword [ebp - 0x14]
add eax, eax
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + eax*4]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 8]
cmp edx, eax
je 0x101b91d6
mov edx, dword [edx + 4]
cmp ecx, dword [edx + 8]
jne 0x101b91bd
cmp edx, dword [ebp - 0x18]
mov cl, byte [ebp + 0x18]
je 0x101b91d9
mov edi, dword [edx + 0xc]
jmp 0x101b91d9
mov cl, byte [ebp + 0x18]
cmp cl, 0xc
ja case.0x101b91e5.1
movzx eax, cl
jmp dword [eax*4 + 0x10300248]
mov eax, dword [esi + 0x54]
xor ecx, ecx
dec ecx
inc ecx
mov edx, eax
sar edx, cl
cmp edx, 1
jg 0x101b91f2
cmp ecx, dword [ebp + 0x20]
jge 0x101b9223
add esi, 0x1d04
mov ecx, esi
push str.Level_of_detail_outside_of_range.
push 0x501
push ebx
call fcn.1001a2a0
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [edi + 0x6c], 7
mov al, 1
je 0x101b921b
add esi, 0x1d04
mov ecx, esi
push str.Textarget_must_match_the_texture_target_type.
push 0x502
jmp 0x101b9213
mov eax, dword [esi + 0x44]
xor ecx, ecx
dec ecx
inc ecx
mov edx, eax
sar edx, cl
cmp edx, 1
jg 0x101b9245
cmp ecx, dword [ebp + 0x20]
jl 0x101b9201
cmp byte [edi + 0x6c], 0
mov al, 1
je 0x101b921b
add esi, 0x1d04
mov ecx, esi
push str.Invalid_or_unsupported_texture_target.
jmp 0x101b9238
add esi, 0x1d04
mov ecx, esi
push str.Invalid_or_unsupported_texture_target.
push 0x500
jmp 0x101b9213
cmp dword [esi + 0x1c], 3
jae 0x101b92cb
cmp byte [esi + 0x1342], 0
jne 0x101b92d3
add esi, 0x1d04
mov ecx, esi
push str.GL_ANGLE_texture_multisample_or_GLES_3.1_required.
jmp 0x101b9238
cmp byte [esi + 0x1317], 0
je 0x101b92eb
cmp dword [ebp + 0x14], 0x8ce0
jne 0x101b92fd
cmp byte [edi + 0x6c], 5
jmp 0x101b9227
cmp dword [ebp + 0x20], 0
jne 0x101b9201
cmp byte [edi + 0x6c], 6
jmp 0x101b9227
jne 0x101b92d3
cmp dword [esi + 0x20], 0
je 0x101b9285
cmp dword [ebp + 0x20], 0
je 0x101b930f
add esi, 0x1d04
mov ecx, esi
push str.Texture_level_must_be_zero.
jmp 0x101b920e
add esi, 0x1d04
mov ecx, esi
push str.GL_EXT_YUV_target_not_enabled.
jmp 0x101b9238
add esi, 0x1d04
mov ecx, esi
push str.Invalid_Attachment_Type.
jmp 0x101b9238
cmp byte [edi + 0x6c], 2
jmp 0x101b9227