{"action":"created","comment":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/comments/50617859","id":50617859,"diff_hunk":"@@ -4880,15 +4881,310 @@ void game_command_remove_track(int *eax, int *ebx, int *ecx, int *edx, int *esi,\n \treturn;\n }\n \n+money32 loc_6CDDFD() {\n+    // pop     edi\n+    // pop     edx\n+    // pop     ecx\n+    // pop     ebx\n+    // pop     eax\n+    // mov     ebx, dword_F4413E\n+\n+    // test    park_flags, 800h\n+    // jz      short locret_6CDE16\n+    // xor     ebx, ebx\n+    // locret_6CDE16:\n+    // retn\n+    if (RCT2_GLOBAL(RCT2_ADDRESS_PARK_FLAGS, uint32) & PARK_FLAGS_NO_MONEY) {\n+        return 0;\n+    }\n+\n+    return RCT2_GLOBAL(0xF4413E, money32);\n+}\n+\n+money32 loc_6CDDA2() {\n+    // loc_6CDDA2:\n+    // mov     eax, [esp+14h+var_4]\n+    // mov     ecx, [esp+14h+var_C]\n+    // and     ax, 0FFE0h\n+    // and     cx, 0FFE0h\n+    // push    edi\n+    // push    esi\n+    // movzx   di, byte ptr [esi+2]\n+    // shl     di, 3\n+    // movzx   si, byte ptr [esi+3]\n+    // shl     si, 3\n+    // call    map_invalidate_tile\n+    // pop     esi\n+    // pop     edi\n+    // mov     bx, [esi+5]\n+    // and     bx, 8888h\n+    // cmp     bx, 8888h\n+    // jnz     short loc_6CDDFD\n+    // call    map_element_remove\n+    // mov     dl, byte ptr [esp+14h+var_10]\n+    // call    sub_6CB945\n+    // movzx   ebp, byte ptr [esp+14h+var_10]\n+    // imul    ebp, 260h\n+    // dec     ss:word_1362A56[ebp]\n+\n+    return loc_6CDDFD();\n+}\n+\n+money32 loc_6CDDA0() {\n+    // pop     esi\n+    // pop     edx\n+    return loc_6CDDA2();\n+}\n+\n+\n+money32 loc_6CDB35(int eax, int ebx, int ecx, int edx, int esi, int edi, int ebp) {\n+\n+}\n+\n+money32 loc_6CDAE8(int eax, int ebx, int ecx, int edx, int esi, int edi, int ebp) {\n+    // call    map_invalidate_tile_full\n+    map_invalidate_tile_full(); // TODO: Arguments\n+\n+    // movzx   ebp, byte ptr [esp+14h+var_10]\n+    ebp = edx;\n+\n+    // imul    ebp, 260h\n+    ebp = ebp * 0x260;\n+\n+    // inc     ss:word_1362A56[ebp]\n+    RCT2_GLOBAL(0x1362A56, uint16) += 1;\n+\n+    // mov     bl, [esi+2]\n+    int bl = RCT2_GLOBAL(esi + 2, uint8);\n+\n+    // mov     ss:byte_1362952[ebp], bl\n+    RCT2_GLOBAL(0x1362952, something)[ebp] = bl;\n+\n+    // mov     ss:word_136294A[ebp], 0\n+    RCT2_GLOBAL(0x136294A, something)[ebp] = 0;\n+\n+    // cmp     byte ptr [esp+14h+var_8+1], 4\n+    int cmp = ebx & 0x00FFFFFF - 4;\n+\n+    // jnz     short loc_6CDB35\n+    if (cmp != 0) {\n+        return loc_6CDB35();\n+    }\n+\n+    // test    byte ptr [esp+14h+var_8], 40h\n+    int test = ebx - 0x40;\n+    // jnz     short loc_6CDB35\n+    if (test != 0) {\n+        return loc_6CDB35();\n+    }\n+\n+    // push    eax\n+    // push    ecx\n+\n+    // shl     cx, 3\n+    // shr     ax, 5\n+    // or      ax, cx\n+    // mov     ss:word_1362948[ebp], ax\n+    RCT2_GLOBAL(0x1362948, uint16) = (uint16) (((eax & 0xFFFF) >> 5) & ((ecx << 3) & 0xFFFF));\n+\n+    // pop     ecx\n+    // pop     eax\n+\n+    return loc_6CDB35();\n+}\n+\n+money32 do_game_command_set_maze_track(uint16 x, uint8 flags, uint8 direction, uint16 y, uint8 rideIndex, uint8 mode, uint16 unknown, uint16 z) {\n+\n+\t// 0x006CD8CE: game_command_set_maze_track\n+\tRCT2_GLOBAL(RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE, uint8) = 0;\n+\tRCT2_GLOBAL(RCT2_ADDRESS_COMMAND_MAP_X, uint16) = x + 8;\n+\tRCT2_GLOBAL(RCT2_ADDRESS_COMMAND_MAP_Y, uint16) = y + 8;\n+\n+\tRCT2_GLOBAL(0xF4413E, money32) = 0;\n+\n+\tif (!sub_68B044()) {\n+\t\t// loc_6CDE51:\n+\t\treturn MONEY32_UNDEFINED;\n+\t}\n+\n+\tif (!(flags & GAME_COMMAND_FLAG_ALLOW_DURING_PAUSED) && RCT2_GLOBAL(RCT2_ADDRESS_GAME_PAUSED, uint8) != 0) {\n+\t\t// loc_6CDE2D:\n+\t\tRCT2_GLOBAL(RCT2_ADDRESS_GAME_COMMAND_ERROR_TEXT, unsigned short) = STR_CONSTRUCTION_NOT_POSSIBLE_WHILE_GAME_IS_PAUSED;\n+\t\t// loc_6CDE51:\n+\t\treturn MONEY32_UNDEFINED;\n+\t}\n+\n+\t// loc_6CD920:\n+\tif ((z & 0xF) != 0) {\n+\t\t// loc_6CDE38:\n+\t\tRCT2_GLOBAL(RCT2_ADDRESS_GAME_COMMAND_ERROR_TEXT, unsigned short) = 954;\n+\t\t// loc_6CDE51:\n+\t\treturn MONEY32_UNDEFINED;\n+\t}\n+\n+\tif ((flags & GAME_COMMAND_FLAG_APPLY) != 0) {\n+\t\tif ((flags & GAME_COMMAND_FLAG_ALLOW_DURING_PAUSED) == 0) {\n+\t\t\tfootpath_remove_litter(x, y, z);\n+\t\t\tmap_remove_walls_at((uint16) floor2(x, 32), (uint32) floor2(y, 32), z, z + 0x20);\n+\t\t}\n+\t}\n+\n+\t// loc_6CD954:\n+\tif (map_is_location_owned(floor2(x, 32), floor2(y, 32), z) == 0) {\n+\t\t// loc_6CDE51\n+\t\treturn MONEY32_UNDEFINED;\n+\t}\n+\n+\trct_map_element *mapElement = map_get_first_element_at(x / 32, y / 32);\n+\n+\tif (map_element_get_type(mapElement) != 0) {\n+\t\twhile (!map_element_is_last_for_tile(mapElement++)) {\n+\t\t\tif ((map_element_get_type(mapElement) == 0)) {\n+\t\t\t\tbreak;\n+\t\t\t}\n+\t\t}\n+\t}\n+\n+\t// loc_6CD99A:\n+\tuint16 temp_dx = z;\n+\ttemp_dx += 0x20;\n+\ttemp_dx = temp_dx >> 3;\n+\tuint8 temp_dl = (uint8) (temp_dx & 0xFF);\n+\n+\ttemp_dl -= mapElement->base_height;\n+\tif (temp_dl >= 0) {\n+\t\ttemp_dl = temp_dl >> 1;\n+\n+\t\tif (temp_dl > RCT2_GLOBAL(0x97D21A + 0x9E, uint8)) {\n+\t\t\tRCT2_GLOBAL(RCT2_ADDRESS_GAME_COMMAND_ERROR_TEXT, rct_string_id) = STR_TOO_HIGH_FOR_SUPPORTS;\n+\t\t\t// loc_6CDE51\n+\t\t\treturn MONEY32_UNDEFINED;\n+\t\t}\n+\t}\n+\n+\t// loc_6CD9C5\n+\t// push    eax\n+\t// push    ebx\n+\t// push    ecx\n+\t// push    edx\n+\t// push    edi\n+\n+\t// mov     bl, dl\n+\tuint8 bl = rideIndex;\n+\t// mov     dx, di\n+\tuint16 temp_dx = z;\n+\t// shr     dx, 3\n+\ttemp_dx = temp_dx >> 3;\n+\n+\trct_map_element *mapElement = map_get_first_element_at(x / 32, y / 32);\n+\n+\tdo {\n+\t\t// loc_6CD9F0:\n+\t\tif (map_element_get_type(mapElement) == 8) {\n+\t\t\tif ((temp_dx & 0xff) == mapElement->base_height) {\n+\t\t\t\t// cmp     bl, [esi+7]\n+\t\t\t\t// jnz     short loc_6CDA0C\n+\t\t\t\tif (rideIndex == mapElement->properties.track.ride_index) {\n+\t\t\t\t\t// cmp     byte ptr [esi+4], 65h ; 'e'\n+\t\t\t\t\t// jz      loc_6CDB35\n+\t\t\t\t\tif (mapElement->properties.track.type == 0x65) {\n+\t\t\t\t\t\t// TODO: determine which variables need to be passed\n+\t\t\t\t\t\treturn loc_6CDB35();\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t}\n+\t\t}\n+\n+\t\t// loc_6CDA0C:\n+\t} while (!map_element_is_last_for_tile(mapElement++));\n+\n+\n+\tif (mode != 0) {\n+\t\t// loc_6CDE43\n+\t\tRCT2_GLOBAL(RCT2_ADDRESS_GAME_COMMAND_ERROR_TEXT, unsigned short) = 0;\n+\t\t// loc_6CDE4C\n+\t\t// loc_6CDE51\n+\t\treturn MONEY32_UNDEFINED;\n+\t}\n+\n+\tif (!map_can_construct_at((uint16) floor2(x, 32), (uint16) floor2(y, 32), (z / 8), (z / 8) + 4, 0x0F)) {\n+\t\t// loc_6CDE4C\n+\t\t// loc_6CDE51\n+\t\treturn MONEY32_UNDEFINED;\n+\t}\n+\n+\tif (RCT2_GLOBAL(RCT2_ADDRESS_ELEMENT_LOCATION_COMPARED_TO_GROUND_AND_WATER, uint8) != 0x04) {\n+\t\t// loc_6CDE22\n+\t\tRCT2_GLOBAL(RCT2_ADDRESS_GAME_COMMAND_ERROR_TEXT, unsigned short) = STR_RIDE_CANT_BUILD_THIS_UNDERWATER;\n+\t\t// loc_6CDE4C\n+\t\t// loc_6CDE51\n+\t\treturn MONEY32_UNDEFINED;\n+\t}\n+\n+\tif (RCT2_GLOBAL(RCT2_ADDRESS_ELEMENT_LOCATION_COMPARED_TO_GROUND_AND_WATER, uint8) != 0x02) {\n+\t\t// loc_6CDE17\n+\t\tRCT2_GLOBAL(RCT2_ADDRESS_GAME_COMMAND_ERROR_TEXT, unsigned short) = STR_CAN_ONLY_BUILD_THIS_ABOVE_GROUND;\n+\t\t// loc_6CDE4C\n+\t\t// loc_6CDE51\n+\t\treturn MONEY32_UNDEFINED;\n+\t}\n+\n+\trct_ride *ride = GET_RIDE(rideIndex);\n+\n+\tmoney32 price = (((RCT2_ADDRESS(0x0097DD78, money16)[ride->type * 2] * RCT2_GLOBAL(0x0099DBC8, money32)) >> 16) + ((edx & 0xFFFF) << 16));\n+\tRCT2_GLOBAL(0x00F4413E, money32) = price / 2 * 10;\n+\n+\n+\t// dirty: eax, ecx, edx, esi\n+\n+\tif((flags & GAME_COMMAND_CREATE_RIDE) == 0) {\n+\t\t// Weird. Price is stored in another variable than the one returned.","path":"src/ride/track.c","position":278,"original_position":278,"commit_id":"d1a4ebb36230375aa7d5056e3211358d3219e95f","original_commit_id":"d1a4ebb36230375aa7d5056e3211358d3219e95f","user":{"login":"duncanspumpkin","id":1277401,"avatar_url":"https://avatars.githubusercontent.com/u/1277401?v=3","gravatar_id":"","url":"https://api.github.com/users/duncanspumpkin","html_url":"https://github.com/duncanspumpkin","followers_url":"https://api.github.com/users/duncanspumpkin/followers","following_url":"https://api.github.com/users/duncanspumpkin/following{/other_user}","gists_url":"https://api.github.com/users/duncanspumpkin/gists{/gist_id}","starred_url":"https://api.github.com/users/duncanspumpkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duncanspumpkin/subscriptions","organizations_url":"https://api.github.com/users/duncanspumpkin/orgs","repos_url":"https://api.github.com/users/duncanspumpkin/repos","events_url":"https://api.github.com/users/duncanspumpkin/events{/privacy}","received_events_url":"https://api.github.com/users/duncanspumpkin/received_events","type":"User","site_admin":false},"body":"Not sure what you mean by this price is stored in 0x00F4413E which is returned by your 6CDDFD function","created_at":"2016-01-23T08:26:10Z","updated_at":"2016-01-23T08:26:10Z","html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2784#discussion_r50617859","pull_request_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2784","_links":{"self":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/comments/50617859"},"html":{"href":"https://github.com/OpenRCT2/OpenRCT2/pull/2784#discussion_r50617859"},"pull_request":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2784"}}},"pull_request":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2784","id":56694680,"html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2784","diff_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2784.diff","patch_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2784.patch","issue_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2784","number":2784,"state":"open","locked":false,"title":"[WIP] Attempt at decompiling `game_command_set_maze_track`","user":{"login":"marijnvdwerf","id":737603,"avatar_url":"https://avatars.githubusercontent.com/u/737603?v=3","gravatar_id":"","url":"https://api.github.com/users/marijnvdwerf","html_url":"https://github.com/marijnvdwerf","followers_url":"https://api.github.com/users/marijnvdwerf/followers","following_url":"https://api.github.com/users/marijnvdwerf/following{/other_user}","gists_url":"https://api.github.com/users/marijnvdwerf/gists{/gist_id}","starred_url":"https://api.github.com/users/marijnvdwerf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijnvdwerf/subscriptions","organizations_url":"https://api.github.com/users/marijnvdwerf/orgs","repos_url":"https://api.github.com/users/marijnvdwerf/repos","events_url":"https://api.github.com/users/marijnvdwerf/events{/privacy}","received_events_url":"https://api.github.com/users/marijnvdwerf/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-21T01:44:48Z","updated_at":"2016-01-23T08:26:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da349037fa99565e9b9bfe1ba0bc9b8bac31ae13","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2784/commits","review_comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2784/comments","review_comment_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2784/comments","statuses_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/statuses/d1a4ebb36230375aa7d5056e3211358d3219e95f","head":{"label":"marijnvdwerf:decompile-attempt","ref":"decompile-attempt","sha":"d1a4ebb36230375aa7d5056e3211358d3219e95f","user":{"login":"marijnvdwerf","id":737603,"avatar_url":"https://avatars.githubusercontent.com/u/737603?v=3","gravatar_id":"","url":"https://api.github.com/users/marijnvdwerf","html_url":"https://github.com/marijnvdwerf","followers_url":"https://api.github.com/users/marijnvdwerf/followers","following_url":"https://api.github.com/users/marijnvdwerf/following{/other_user}","gists_url":"https://api.github.com/users/marijnvdwerf/gists{/gist_id}","starred_url":"https://api.github.com/users/marijnvdwerf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijnvdwerf/subscriptions","organizations_url":"https://api.github.com/users/marijnvdwerf/orgs","repos_url":"https://api.github.com/users/marijnvdwerf/repos","events_url":"https://api.github.com/users/marijnvdwerf/events{/privacy}","received_events_url":"https://api.github.com/users/marijnvdwerf/received_events","type":"User","site_admin":false},"repo":{"id":49390041,"name":"OpenRCT2","full_name":"marijnvdwerf/OpenRCT2","owner":{"login":"marijnvdwerf","id":737603,"avatar_url":"https://avatars.githubusercontent.com/u/737603?v=3","gravatar_id":"","url":"https://api.github.com/users/marijnvdwerf","html_url":"https://github.com/marijnvdwerf","followers_url":"https://api.github.com/users/marijnvdwerf/followers","following_url":"https://api.github.com/users/marijnvdwerf/following{/other_user}","gists_url":"https://api.github.com/users/marijnvdwerf/gists{/gist_id}","starred_url":"https://api.github.com/users/marijnvdwerf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijnvdwerf/subscriptions","organizations_url":"https://api.github.com/users/marijnvdwerf/orgs","repos_url":"https://api.github.com/users/marijnvdwerf/repos","events_url":"https://api.github.com/users/marijnvdwerf/events{/privacy}","received_events_url":"https://api.github.com/users/marijnvdwerf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marijnvdwerf/OpenRCT2","description":"An open source re-implementation of Roller Coaster Tycoon 2.","fork":true,"url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2","forks_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/forks","keys_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/teams","hooks_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/hooks","issue_events_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/issues/events{/number}","events_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/events","assignees_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/assignees{/user}","branches_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/branches{/branch}","tags_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/tags","blobs_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/git/refs{/sha}","trees_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/statuses/{sha}","languages_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/languages","stargazers_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/stargazers","contributors_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/contributors","subscribers_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/subscribers","subscription_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/subscription","commits_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/commits{/sha}","git_commits_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/git/commits{/sha}","comments_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/comments{/number}","issue_comment_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/issues/comments{/number}","contents_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/contents/{+path}","compare_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/merges","archive_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/downloads","issues_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/issues{/number}","pulls_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/pulls{/number}","milestones_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/milestones{/number}","notifications_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/labels{/name}","releases_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/releases{/id}","deployments_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/deployments","created_at":"2016-01-10T23:14:37Z","updated_at":"2016-01-10T23:14:39Z","pushed_at":"2016-01-22T18:41:27Z","git_url":"git://github.com/marijnvdwerf/OpenRCT2.git","ssh_url":"git@github.com:marijnvdwerf/OpenRCT2.git","clone_url":"https://github.com/marijnvdwerf/OpenRCT2.git","svn_url":"https://github.com/marijnvdwerf/OpenRCT2","homepage":"http://openrct2.website","size":36225,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"OpenRCT2:develop","ref":"develop","sha":"ed1ba15163a475e3ce8c676ea8a0f3eafd0459c0","user":{"login":"OpenRCT2","id":8473908,"avatar_url":"https://avatars.githubusercontent.com/u/8473908?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRCT2","html_url":"https://github.com/OpenRCT2","followers_url":"https://api.github.com/users/OpenRCT2/followers","following_url":"https://api.github.com/users/OpenRCT2/following{/other_user}","gists_url":"https://api.github.com/users/OpenRCT2/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRCT2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRCT2/subscriptions","organizations_url":"https://api.github.com/users/OpenRCT2/orgs","repos_url":"https://api.github.com/users/OpenRCT2/repos","events_url":"https://api.github.com/users/OpenRCT2/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRCT2/received_events","type":"Organization","site_admin":false},"repo":{"id":18348651,"name":"OpenRCT2","full_name":"OpenRCT2/OpenRCT2","owner":{"login":"OpenRCT2","id":8473908,"avatar_url":"https://avatars.githubusercontent.com/u/8473908?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRCT2","html_url":"https://github.com/OpenRCT2","followers_url":"https://api.github.com/users/OpenRCT2/followers","following_url":"https://api.github.com/users/OpenRCT2/following{/other_user}","gists_url":"https://api.github.com/users/OpenRCT2/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRCT2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRCT2/subscriptions","organizations_url":"https://api.github.com/users/OpenRCT2/orgs","repos_url":"https://api.github.com/users/OpenRCT2/repos","events_url":"https://api.github.com/users/OpenRCT2/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRCT2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenRCT2/OpenRCT2","description":"An open source re-implementation of Roller Coaster Tycoon 2.","fork":false,"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2","forks_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/forks","keys_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/teams","hooks_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/hooks","issue_events_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/events{/number}","events_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/events","assignees_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/assignees{/user}","branches_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/branches{/branch}","tags_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/tags","blobs_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/languages","stargazers_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/stargazers","contributors_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/contributors","subscribers_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/subscribers","subscription_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/subscription","commits_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/contents/{+path}","compare_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/merges","archive_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/downloads","issues_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues{/number}","pulls_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/labels{/name}","releases_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/releases{/id}","deployments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/deployments","created_at":"2014-04-01T23:32:25Z","updated_at":"2016-01-22T19:55:18Z","pushed_at":"2016-01-23T08:11:01Z","git_url":"git://github.com/OpenRCT2/OpenRCT2.git","ssh_url":"git@github.com:OpenRCT2/OpenRCT2.git","clone_url":"https://github.com/OpenRCT2/OpenRCT2.git","svn_url":"https://github.com/OpenRCT2/OpenRCT2","homepage":"http://openrct2.website","size":46661,"stargazers_count":1467,"watchers_count":1467,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":265,"mirror_url":null,"open_issues_count":374,"forks":265,"open_issues":374,"watchers":1467,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2784"},"html":{"href":"https://github.com/OpenRCT2/OpenRCT2/pull/2784"},"issue":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2784"},"comments":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2784/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2784/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2784/commits"},"statuses":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/statuses/d1a4ebb36230375aa7d5056e3211358d3219e95f"}}}}