{"name": "_ZL16pasha2_palette_wP13address_spacejtt", "code": "__int64 __fastcall pasha2_palette_w ( address_space * @@a1@@ , unsigned int @@a2@@ , __int16 @@a3@@ , __int16 @@a4@@ ) { __int64 v4 ; unsigned __int8 v5 ; unsigned __int8 v6 ; unsigned __int8 v7 ; running_machine * v8 ; unsigned __int8 v9 ; unsigned __int8 v10 ; unsigned __int8 v11 ; running_machine * v12 ; int v16 ; int v17 ; __int64 @@v18@@ ; v4 = address_space machine ( @@a1@@ ) ; @@v18@@ = running_machine driver_data < pasha2_state > ( v4 ) ; * ( _WORD * ) ( Number L * @@a2@@ + * ( _QWORD * ) ( @@v18@@ + Number ) ) = @@a4@@ & @@a3@@ | ~ @@a4@@ & * ( _WORD * ) ( Number L * @@a2@@ + * ( _QWORD * ) ( @@v18@@ + Number ) ) ; v16 = ( ( int ) * ( unsigned __int16 * ) ( Number L * ( unsigned __int8 ) @@a2@@ + * ( _QWORD * ) ( @@v18@@ + Number ) ) >> Number ) | * ( _WORD * ) ( Number L * ( ( unsigned int ) ( unsigned __int8 ) @@a2@@ + Number ) + * ( _QWORD * ) ( @@v18@@ + Number ) ) & Number ; v5 = pal5bit ( v16 >> Number ) ; v6 = pal5bit ( v16 >> Number ) ; v7 = pal5bit ( v16 ) ; v8 = ( running_machine * ) address_space machine ( @@a1@@ ) ; palette_set_color_rgb ( v8 , Number * ( unsigned __int8 ) @@a2@@ , v7 , v6 , v5 ) ; v17 = ( unsigned __int8 ) * ( _WORD * ) ( Number L * ( unsigned __int8 ) @@a2@@ + * ( _QWORD * ) ( @@v18@@ + Number ) ) | ( unsigned __int16 ) ( * ( _WORD * ) ( Number L * ( ( unsigned int ) ( unsigned __int8 ) @@a2@@ + Number ) + * ( _QWORD * ) ( @@v18@@ + Number ) ) << Number ) ; v9 = pal5bit ( v17 >> Number ) ; v10 = pal5bit ( v17 >> Number ) ; v11 = pal5bit ( v17 ) ; v12 = ( running_machine * ) address_space machine ( @@a1@@ ) ; return palette_set_color_rgb ( v12 , Number * ( unsigned int ) ( unsigned __int8 ) @@a2@@ + Number , v11 , v10 , v9 ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "address_space"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v18", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}]}