{"name": "cpu_mmu_index", "code": "_BOOL8 __fastcall cpu_mmu_index ( __int64 @@a1@@ ) { return ( * ( _DWORD * ) ( @@a1@@ + Number ) & Number ) == Number ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]}
{"name": "ldub_code", "code": "__int64 __fastcall ldub_code ( unsigned int @@a1@@ ) { _BOOL4 @@v2@@ ; unsigned int @@v3@@ ; @@v2@@ = cpu_mmu_index ( cpu_single_env ) ; if ( * ( _DWORD * ) ( Number * ( ( ( __int64 ) @@v2@@ << Number ) + ( unsigned __int8 ) ( @@a1@@ >> Number ) ) + cpu_single_env + Number ) == ( @@a1@@ & Number ) ) @@v3@@ = ldub_p ( ( unsigned __int8 * ) ( @@a1@@ + * ( _QWORD * ) ( Number * ( ( ( __int64 ) @@v2@@ << Number ) + ( unsigned __int8 ) ( @@a1@@ >> Number ) + Number ) + cpu_single_env + Number ) ) ) ; else @@v3@@ = ( unsigned __int8 ) _ldb_cmmu ( @@a1@@ , @@v2@@ ) ; return @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "_BOOL4", "s": 4}, "location": "s16"}, {"n": "v3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]} {"name": "get_phys_addr_code", "code": "__int64 __fastcall get_phys_addr_code ( __int64 @@a1@@ , unsigned int @@a2@@ ) { _BOOL4 @@v3@@ ; @@v3@@ = cpu_mmu_index ( @@a1@@ ) ; if ( * ( _DWORD * ) ( Number * ( ( ( __int64 ) @@v3@@ << Number ) + ( unsigned __int8 ) ( @@a2@@ >> Number ) ) + @@a1@@ + Number ) != ( @@a2@@ & Number ) ) ldub_code ( @@a2@@ ) ; if ( ( * ( _DWORD * ) ( Number * ( ( ( __int64 ) @@v3@@ << Number ) + ( unsigned __int8 ) ( @@a2@@ >> Number ) ) + @@a1@@ + Number ) & Number ) > Number && ( * ( _BYTE * ) ( Number * ( ( ( __int64 ) @@v3@@ << Number ) + ( unsigned __int8 ) ( @@a2@@ >> Number ) ) + @@a1@@ + Number ) & Number ) == Number ) { cpu_abort ( @@a1@@ , String , @@a2@@ ) ; } return qemu_ram_addr_from_host ( * ( _QWORD * ) ( Number * ( ( ( __int64 ) @@v3@@ << Number ) + ( unsigned __int8 ) ( @@a2@@ >> Number ) + Number ) + @@a1@@ + Number ) + @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "_BOOL4", "s": 4}, "location": "s8"}]}