snake5 icon

gccbug quick look

snake5 | PRO | 04/03/15 11:41:39 PM UTC | 0 ⭐ | 949 👁️ | Never ⏰ | []
text |

1.18 KB

|

None

|

0 👍

/

0 👎

// C++ CODE:
	if( create_rtt( device, settings.width, settings.height, msamples, DXGI_FORMAT_D24_UNORM_S8_UINT, true, &depthBuffer, &dsView ) )
		return NULL;
 // ASM:
 	mov	eax, DWORD PTR [ebp+8]	 # tmp168, settings
	mov	ecx, DWORD PTR [eax+8]	 # D.88784, settings_8(D)->height
	mov	eax, DWORD PTR [ebp+8]	 # tmp169, settings
	mov	edx, DWORD PTR [eax+4]	 # D.88784, settings_8(D)->width
	mov	eax, DWORD PTR [ebp-76]	 # device.35, device
	lea	ebx, [ebp-100]	 # tmp170,
	mov	DWORD PTR [esp+28], ebx	 #, tmp170
	lea	ebx, [ebp-92]	 # tmp171,
	mov	DWORD PTR [esp+24], ebx	 #, tmp171
	mov	DWORD PTR [esp+20], 1	 #,  -- bool true
	mov	DWORD PTR [esp+16], 45	 #,  -- DXGI_FORMAT_D24_UNORM_S8_UINT
	mov	ebx, DWORD PTR [ebp-28]	 # tmp172, msamples
	mov	DWORD PTR [esp+12], ebx	 #, tmp172
	mov	DWORD PTR [esp+8], ecx	 #, D.88784
	mov	DWORD PTR [esp+4], edx	 #, D.88784
	mov	DWORD PTR [esp], eax	 #, device.35
	mov	DWORD PTR [ebp-216], 1	 #,   --------------- WTF IS THIS???????????
	call	__ZL11create_rtt_P12ID3D11Deviceiii11DXGI_FORMATbPP15ID3D11Texture2DPPv	 #
	test	eax, eax	 # D.88784
	setne	al	 #, retval.34
	test	al, al	 # retval.34
	je	L167	 #,
	mov	eax, 0	 # D.88783,
	jmp	L169	 #

Comments