Skip to content

Instantly share code, notes, and snippets.

@Subv
Created June 26, 2015 03:42
Show Gist options
  • Select an option

  • Save Subv/cdacd1a1db57bd67fa42 to your computer and use it in GitHub Desktop.

Select an option

Save Subv/cdacd1a1db57bd67fa42 to your computer and use it in GitHub Desktop.
00007FF723760A90 sub rsp,48h
00007FF723760A94 mov r8,rcx
00007FF723760A97 cmp edx,4
00007FF723760A9A jae nihstro::SwizzlePattern::DestComponentEnabled+23h (07FF723760AB3h)
00007FF723760A9C mov eax,8
00007FF723760AA1 mov ecx,edx
00007FF723760AA3 sar eax,cl
00007FF723760AA5 and eax,0Fh
00007FF723760AA8 test byte ptr [r8],al
00007FF723760AAB setne al
00007FF723760AAE add rsp,48h
00007FF723760AB2 ret
00007FF723760AB3 lea rax,[string "index needs to be smaller than 4"... (07FF7238E5810h)]
00007FF723760ABA lea rdx,[rsp+60h]
00007FF723760ABF lea rcx,[rsp+20h]
00007FF723760AC4 mov qword ptr [rsp+60h],rax
00007FF723760AC9 call qword ptr [__imp_std::exception::exception (07FF72C29D568h)]
00007FF723760ACF lea rax,[std::out_of_range::`vftable' (07FF7238E5138h)]
00007FF723760AD6 lea rdx,[_TI3?AVout_of_range@std@@ (07FF723952D38h)]
00007FF723760ADD lea rcx,[rsp+20h]
00007FF723760AE2 mov qword ptr [rsp+20h],rax
00007FF723760AE7 call _CxxThrowException (07FF7238825FCh)
00007FF723760AEC int 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment