{"name": "init_vga", "code": "__int64 init_vga ( ) { __int64 @@result@@ ; SDL_Init ( Number L ) ; SDL_CreateWindowAndRenderer ( Number L , Number L , Number L , & window , & renderer ) ; SDL_SetWindowTitle ( window , String ) ; texture = SDL_CreateTexture ( renderer , Number L , Number L , Number L , Number L ) ; @@result@@ = add_mmio_map ( Number , Number , vga_vmem_io_handler ) ; vmem = @@result@@ ; return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}
{"name": "vga_vmem_io_handler", "code": "__int64 __fastcall vga_vmem_io_handler ( __int64 @@a1@@ , __int64 @@a2@@ , unsigned int @@a3@@ ) { return @@a3@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]}