#define 36 0x24 #define 600o 0x180 #define WM_ACTIVATEAPP 0x1c #define WM_WINDOWPOSCHANGED 0x47 #define WM_KEYDOWN 0x100 #define WM_SYSCOMMAND 0x112 #define WM_CHAR 0x102 #define WM_VSCROLL 0x115 #define WM_INITMENU 0x116 #define WM_LBUTTONDOWN 0x201 #define WM_MENUSELECT 0x11f #define WM_MOUSEMOVE 0x200 #define WM_LBUTTONUP 0x202 #define WM_USER 0x400 #define SM_CYCAPTION 0x4 #define SM_CYMENU 0xf #define SM_CYSCREEN 0x1 #define SM_CXSCREEN 0x0 #define SC_MOVE 0xf010 #define SC_CLOSE 0xf060 #define WM_COMMAND 0x111 #define VK_SHIFT 0x10 #define VK_CONTROL 0x11 #define VK_SPACE 0x20 #define VK_SELECT 0x29 #define VK_DIVIDE 0x6f #define IDC_WAIT 0x7f02 #define IDC_ARROW 0x7f00 #define -512 0xfffffe00 #define 349 0x15d #define 316 0x13c #define 163 0xa3 #define 68 0x44 #define 2014 0x7de #define 2021 0x7e5 #define 2022 0x7e6 #define 2013 0x7dd #define '\n' 0xa #define 29 0x1d #define 17 0x11 #define 14100 0x3714 #define 1800 0x708 #define 1804 0x70c #define 1806 0x70e #define 19001 0x4a39 #define 19010 0x4a42 #define 19009 0x4a41 #define 10013 0x271d #define 10003 0x2713 #define 10007 0x2717 #define 10010 0x271a #define 15005 0x3a9d #define 15009 0x3aa1 #define 10011 0x271b #define 2007 0x7d7 #define 4109 0x100d #define 4101 0x1005 #define 4100 0x1004 #define 4504 0x1198 #define 4506 0x119a #define 4505 0x1199 #define 4507 0x119b #define 4500 0x1194 #define 4501 0x1195 #define 4502 0x1196 #define 4503 0x1197 #define 4508 0x119c #define 5700 0x1644 #define 1410 0x582 #define " MEM" 0x204d454d #define 3300 0xce4 #define 1603 0x643 #define 5500 0x157c #define 5701 0x1645 #define 6002 0x1772 #define MCI_STOP 0x808 #define MCI_CLOSE 0x804 #define MCI_OPEN 0x803 #define MCI_DEVTYPE_SEQUENCER 0x20b #define MCI_PLAY 0x806 #define MCI_PAUSE 0x809 #define 1Ah,"RSU" 0x1a525355 #define 6020 0x1784 #define 'e' 0x65 #define 'b' 0x62 #define 1602 0x642 #define 1600 0x640 #define 1679 0x68f #define 1601 0x641 #define 1687 0x697 #define 8092 0x1f9c #define -650 -0x28a #define -637 -0x27d #define -636 -0x27c #define 6004 0x1774 #define 6009 0x1779 #define 1009 0x3f1 #define 1006 0x3ee #define 1007 0x3ef #define 1003 0x3eb #define 1004 0x3ec #define 1019 0x3fb #define 1020 0x3fc #define 1022 0x3fe #define 1691 0x69b #define 1016 0x3f8 #define 6010 0x177a #define 6012 0x177c #define 1010 0x3f2 #define 1011 0x3f3 #define 6034 0x1792 #define 2003 0x7d3 #define 2004 0x7d4 #define 2001 0x7d1 #define 2002 0x7d2 #define 2008 0x7d8 #define 2015 0x7df #define 11 0xb #define 2017 0x7e1 #define 1200 0x4b0 #define 3146 0xc4a #define 3015 0xbc7 #define 3110 0xc26 #define 3008 0xbc0 #define VK_RETURN 0xd #define VK_LEFT 0x25 #define VK_UP 0x26 #define VK_RIGHT 0x27 #define 8014 0x1f4e #define 19101 0x4a9d #define VK_LBUTTON 0x1 #define VK_RBUTTON 0x2 #define 510 0x1fe #define 508 0x1fc #define 6018 0x1782 #define 4103 0x1007 #define 4104 0x1008 #define 3035 0xbdb #define 129 0x81 #define MM_MCINOTIFY 0x3b9 #define MM_WOM_DONE 0x3bd #define MCI_SEEK 0x807 #define ':' 0x3a #define 50 0x32 #define 15062 0x3ad6 #define 0xA 0xa #define 14012 0x36bc #define 14007 0x36b7 #define 14010 0x36ba #define 19501 0x4c2d #define 19509 0x4c35 #define 14013 0x36bd #define 14001 0x36b1 #define 14022 0x36c6 #define 14054 0x36e6 #define 14019 0x36c3 #define 14020 0x36c4 #define 14008 0x36b8 #define 14018 0x36c2 #define 14017 0x36c1 #define 14015 0x36bf #define 14016 0x36c0 #define 14011 0x36bb #define 19100 0x4a9c #define 19065 0x4a79 #define 155 0x9b #define 18 0x12 #define 76 0x4c #define 14009 0x36b9 #define 1001 0x3e9 #define 1002 0x3ea #define 1100 0x44c #define 17062 0x42a6 #define 16066 0x3ec2 #define 15010 0x3aa2 #define 16074 0x3eca #define 2048 0x800 #define MF_BYPOSITION 0x400 #define 3010 0xbc2 #define SC_TASKLIST 0xf130 #define SC_MINIMIZE 0xf020 #define 1005 0x3ed #define 205 0xcd #define 25 0x19 #define VK_ESCAPE 0x1b #define 9005 0x232d #define 9006 0x232e #define 9007 0x232f #define 19012 0x4a44 #define 19011 0x4a43 #define 43 0x2b #define 4102 0x1006 #define 1402 0x57a #define 2005 0x7d5 #define 2023 0x7e7 #define 3301 0xce5 #define 60 0x3c #define 24 0x18 #define 88 0x58 #define 64 0x40 #define 16 0x10 #define 15 0xf #define 52 0x34 #define 32 0x20 #define 1400 0x578 #define 1401 0x579 #define 1699 0x6a3 #define 4111 0x100f #define 4110 0x100e #define 4118 0x1016 #define 4117 0x1015 #define 19028 0x4a54 #define 19022 0x4a4e #define 23 0x17 #define 5734 0x1666 #define 5506 0x1582 #define 5507 0x1583 #define 501 0x1f5 #define 201 0xc9 #define 5540 0x15a4 #define 20021 0x4e35 #define 'R' 0x52 #define 'r' 0x72 #define 's' 0x73 #define 30 0x1e #define 21 0x15 #define 40 0x28 #define 41 0x29 #define 33 0x21 #define 45 0x2d #define 44 0x2c #define 28 0x1c #define 13031 0x32e7 #define 12013 0x2eed #define 12022 0x2ef6 #define 12023 0x2ef7 #define 12024 0x2ef8 #define 12025 0x2ef9 #define 12014 0x2eee #define 12015 0x2eef #define 12016 0x2ef0 #define 12017 0x2ef1 #define 12018 0x2ef2 #define 12001 0x2ee1 #define 12007 0x2ee7 #define 12100 0x2f44 #define 15024 0x3ab0 #define 15063 0x3ad7 #define 15007 0x3a9f #define 15008 0x3aa0 #define 15011 0x3aa3 #define 15052 0x3acc #define 0 0x0 #define 16065 0x3ec1 #define 16064 0x3ec0 #define 16063 0x3ebf #define 11020 0x2b0c #define 11021 0x2b0d #define 17002 0x426a #define 17055 0x429f #define 17001 0x4269 #define 17010 0x4272 #define 17028 0x4284 #define 17019 0x427b #define 17020 0x427c #define 17021 0x427d #define 17023 0x427f #define 17022 0x427e #define 17024 0x4280 #define 17014 0x4276 #define 17015 0x4277 #define 17016 0x4278 #define 17017 0x4279 #define 17034 0x428a #define 17056 0x42a0 #define 17040 0x4290 #define 17043 0x4293 #define 17031 0x4287 #define 17059 0x42a3 #define 17037 0x428d #define 505 0x1f9 #define 506 0x1fa #define 507 0x1fb #define 14 0xe #define MEM_DECOMMIT 0x4000 #define MEM_RELEASE 0x8000 #define MEM_COMMIT 0x1000 #define PAGE_READWRITE 0x4 #define MEM_RESERVE 0x2000 #define PAGE_NOACCESS 0x1 #define -176 0xffffff50 #define -148 0xffffff6c #define WM_DISPLAYCHANGE 0x7e #define -256 0xffffff00 #define -500 0xfe0c typedef unsigned char undefined; typedef unsigned char bool; typedef unsigned char byte; typedef unsigned int dword; typedef pointer32 ImageBaseOffset32; typedef unsigned char uchar; typedef unsigned int uint; typedef unsigned long ulong; typedef unsigned char undefined1; typedef unsigned short undefined2; typedef unsigned int undefined4; typedef unsigned short ushort; typedef int wchar_t; typedef unsigned short word; #define unkbyte9 unsigned long long #define unkbyte10 unsigned long long #define unkbyte11 unsigned long long #define unkbyte12 unsigned long long #define unkbyte13 unsigned long long #define unkbyte14 unsigned long long #define unkbyte15 unsigned long long #define unkbyte16 unsigned long long #define unkuint9 unsigned long long #define unkuint10 unsigned long long #define unkuint11 unsigned long long #define unkuint12 unsigned long long #define unkuint13 unsigned long long #define unkuint14 unsigned long long #define unkuint15 unsigned long long #define unkuint16 unsigned long long #define unkint9 long long #define unkint10 long long #define unkint11 long long #define unkint12 long long #define unkint13 long long #define unkint14 long long #define unkint15 long long #define unkint16 long long #define unkfloat1 float #define unkfloat2 float #define unkfloat3 float #define unkfloat5 double #define unkfloat6 double #define unkfloat7 double #define unkfloat9 long double #define unkfloat11 long double #define unkfloat12 long double #define unkfloat13 long double #define unkfloat14 long double #define unkfloat15 long double #define unkfloat16 long double #define BADSPACEBASE void #define code void typedef struct area_screen_animated_obj area_screen_animated_obj, *Parea_screen_animated_obj; typedef struct gfx_rect gfx_rect, *Pgfx_rect; typedef struct aseq_anim_state_struct aseq_anim_state_struct, *Paseq_anim_state_struct; typedef struct rect_and_word rect_and_word, *Prect_and_word; typedef struct linked_list_head linked_list_head, *Plinked_list_head; typedef struct aseq_file_struct aseq_file_struct, *Paseq_file_struct; typedef struct aseq_anim_entry aseq_anim_entry, *Paseq_anim_entry; struct gfx_rect { word x; word y; word w; word h; }; struct linked_list_head { struct linked_list_head *next; struct linked_list_head *prev; }; struct rect_and_word { struct gfx_rect r; short s; }; struct area_screen_animated_obj { struct gfx_rect gfx_rect; word gfx_flags; struct aseq_anim_state_struct *anim_state; short aseq_idx; undefined unk0[14]; struct rect_and_word coll_rect; }; struct aseq_file_struct { struct linked_list_head l; word anims_count; word images_count; word flags_thing; word hdr3; word max_images_drawn; byte *end_of_hdr; dword *img_off_table; struct aseq_anim_entry **anims; undefined4 unk0; word rsrc_idx; dword max_img_sz_in_bytes; undefined unk1[10]; }; struct aseq_anim_entry { short x; short y; short img_idx; short flags; }; struct aseq_anim_state_struct { struct linked_list_head l; word default_x; word default_y; word draw_order; short selected_anim; word anim_entry_idx; word timing_from_hdr_secs_frac; dword timing_related; word flags; word is_added_to_xxx_list; word num_restarts; word loop_counter; word something_idx; dword gfx_data_byte_off; struct aseq_file_struct *file_struct; struct aseq_anim_entry *ptr_to_anim_entry; word xxx_flags_0x400_related; pointer cmd_12_flags_0x400_handler; word flags_0x800_handler_related; pointer flags_0x800_handler; struct gfx_rect some_rect; word rsrc_idx; word saved_label_id; word saved_label_idx; word cmd_22_mode; struct aseq_anim_state_struct *sub_anim_maybe_xxx; word removal_related; pointer cmd_18_22_buf; word use_complicated_timing_xxx_thing; word has_alloc_drawn_img_idx_buf; word num_drawn_images; word static_drawn_img_idxs[8]; word *drawn_img_idxs; word which_rect_xxx; struct aseq_anim_entry *default_anim; dword last_touched_t; }; typedef struct puzzle_cust_struct puzzle_cust_struct, *Ppuzzle_cust_struct; struct puzzle_cust_struct { short bg_aseq_idx; short xish; short yish; word bg_w; word bg_h; undefined field5_0xa; undefined field6_0xb; undefined field7_0xc; undefined field8_0xd; undefined field9_0xe; undefined field10_0xf; undefined field11_0x10; undefined field12_0x11; undefined field13_0x12; undefined field14_0x13; undefined field15_0x14; undefined field16_0x15; struct aseq_anim_state_struct *xxx_anim_state; struct aseq_anim_state_struct *yyy_anim_state; undefined field19_0x1e; undefined field20_0x1f; undefined field21_0x20; undefined field22_0x21; undefined field23_0x22; undefined field24_0x23; undefined field25_0x24; undefined field26_0x25; undefined field27_0x26; undefined field28_0x27; undefined field29_0x28; undefined field30_0x29; undefined field31_0x2a; undefined field32_0x2b; undefined field33_0x2c; undefined field34_0x2d; undefined field35_0x2e; undefined field36_0x2f; undefined field37_0x30; undefined field38_0x31; undefined field39_0x32; undefined field40_0x33; undefined field41_0x34; undefined field42_0x35; undefined field43_0x36; undefined field44_0x37; undefined field45_0x38; undefined field46_0x39; undefined field47_0x3a; undefined field48_0x3b; undefined field49_0x3c; undefined field50_0x3d; }; typedef struct simple_machine_state_struct simple_machine_state_struct, *Psimple_machine_state_struct; typedef struct mouse_region mouse_region, *Pmouse_region; typedef enum mouse_region_shape { rectangle=0, circle=1, anim_hit_test=2 } mouse_region_shape; struct mouse_region { struct linked_list_head l; word active; word x1; word y1; word x2; word y2; pointer callback; word idx; word sort_key; enum mouse_region_shape shape; word filter_key; dword extra_data; word keycode; word w0; }; struct simple_machine_state_struct { word machine_type; struct gfx_rect mouse_rect; short x2; short y2; struct aseq_anim_state_struct *aseq; struct mouse_region *mouse_rgn; }; typedef struct puzzle_cust_type_struct puzzle_cust_type_struct, *Ppuzzle_cust_type_struct; struct puzzle_cust_type_struct { word x; word y; struct aseq_anim_state_struct *anim_state; struct mouse_region *mouse_region; undefined2 state; }; typedef struct actor_key_flag_struct actor_key_flag_struct, *Pactor_key_flag_struct; struct actor_key_flag_struct { dword expected; dword mask; short eseq; undefined field3_0xa; undefined field4_0xb; }; typedef struct new_player_hint_struct new_player_hint_struct, *Pnew_player_hint_struct; struct new_player_hint_struct { struct linked_list_head l; short idx; int time; short *save_short_ptr; }; typedef struct gear_more_data gear_more_data, *Pgear_more_data; struct gear_more_data { word type; word anim_idx; short xish; short yish; word obj23_related_zzz; word unk0; short cranking_direction; word has_interacted; word backup_anim_idx; word backup_xish; word backup_yish; struct aseq_anim_state_struct *aseq_struct; struct mouse_region *mouse_region; }; typedef struct anim_engine_drawn_image anim_engine_drawn_image, *Panim_engine_drawn_image; struct anim_engine_drawn_image { struct linked_list_head l; word idx; word draw_order; word flags; struct gfx_rect rect; pointer gfx_data; word x; word y; undefined2 unk0; struct aseq_anim_state_struct *aseq_anim_state; }; typedef struct save_actor_state save_actor_state, *Psave_actor_state; struct save_actor_state { short x; short y; word cur_state; word screen_idx; word y2; word prev_state; short new_state_after_reload_0; word eseq_step; short chimp_state_21_timer; word eseq_loop_count; word saved_eseq_step; word disable; short new_state_after_reload_1; word process_thing2_en; word collide_entity_checks_en; short process_thing2_result; short w13; word idx_of_up_warp_related; word idx_of_ladder_related; word idx_of_hole_related; word prev_screen_idx; word player_iframes; word cur_item_pkg_idx; }; typedef struct ne_rsrc_state ne_rsrc_state, *Pne_rsrc_state; typedef void *HANDLE; typedef HANDLE HGLOBAL; struct ne_rsrc_state { HANDLE hfile; HGLOBAL hglobal; dword _xxx_file_pos; }; typedef union IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryUnion IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryUnion, *PIMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryUnion; typedef struct IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct, *PIMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct; struct IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct { dword OffsetToDirectory:31; dword DataIsDirectory:1; }; union IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryUnion { dword OffsetToData; struct IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct; }; typedef struct rdat_chunk rdat_chunk, *Prdat_chunk; struct rdat_chunk { word x; word y; word anim_idx; struct aseq_anim_state_struct *anim_state; }; typedef struct eseq_chunk eseq_chunk, *Peseq_chunk; typedef union eseq_chunk_inner eseq_chunk_inner, *Peseq_chunk_inner; typedef struct eseq_chunk_inner_pos eseq_chunk_inner_pos, *Peseq_chunk_inner_pos; typedef struct eseq_chunk_inner_neg eseq_chunk_inner_neg, *Peseq_chunk_inner_neg; struct eseq_chunk { short aaa; short bbb; union eseq_chunk_inner *p; short num; }; struct eseq_chunk_inner_pos { short new_img_idx; short dx; short dy; word flip_and_xtra_disable; word field4_0x8; }; struct eseq_chunk_inner_neg { short type; word w0; word w1; undefined field3_0x6; undefined field4_0x7; undefined field5_0x8; undefined field6_0x9; }; union eseq_chunk_inner { struct eseq_chunk_inner_pos p; struct eseq_chunk_inner_neg n; }; typedef struct simple_machine_type_info simple_machine_type_info, *Psimple_machine_type_info; struct simple_machine_type_info { short sidebar_x; short sidebar_y; undefined field2_0x4; short sidebar_text_x; short sidebar_text_y; undefined field5_0x9; undefined field6_0xa; undefined field7_0xb; undefined field8_0xc; short sfx; }; typedef struct resource_item_list_entry resource_item_list_entry, *Presource_item_list_entry; struct resource_item_list_entry { struct linked_list_head *l; undefined field1_0x4; undefined field2_0x5; undefined field3_0x6; undefined field4_0x7; short idx; short refcnt; dword fourcc; HGLOBAL hglobal; undefined4 data; byte type; undefined field11_0x19; }; typedef struct nfnt_data_hdr nfnt_data_hdr, *Pnfnt_data_hdr; struct nfnt_data_hdr { word type; word first_char; word last_char; word max_width; word max_kern; word n_descent; word font_rect_w; word font_rect_h; word offs_to_width_offs_table; word max_asc; word max_desc; word leading; word bit_img_row_width; }; typedef struct sound_struct sound_struct, *Psound_struct; typedef struct tWAVEFORMATEX tWAVEFORMATEX, *PtWAVEFORMATEX; typedef struct tWAVEFORMATEX WAVEFORMATEX; typedef struct wavehdr_tag wavehdr_tag, *Pwavehdr_tag; typedef struct wavehdr_tag WAVEHDR; typedef ushort WORD; typedef ulong DWORD; typedef char CHAR; typedef CHAR *LPSTR; typedef ulong ULONG_PTR; typedef ULONG_PTR DWORD_PTR; struct tWAVEFORMATEX { WORD wFormatTag; WORD nChannels; DWORD nSamplesPerSec; DWORD nAvgBytesPerSec; WORD nBlockAlign; WORD wBitsPerSample; WORD cbSize; }; struct wavehdr_tag { LPSTR lpData; DWORD dwBufferLength; DWORD dwBytesRecorded; DWORD_PTR dwUser; DWORD dwFlags; DWORD dwLoops; struct wavehdr_tag *lpNext; DWORD_PTR reserved; }; struct sound_struct { struct linked_list_head l; byte *data; word wave_idx; word type_flag; word unk0; undefined2 unk1; word priority; word is_playing; word loop; word is_errored_flag; short playing_slot_idx; word refcnt; WAVEFORMATEX *wave_fmt_ex; dword buf_len; pointer wave_data; word mci_dev_id; pointer wavemix; WAVEHDR wave_hdr; word unk2; }; typedef struct point point, *Ppoint; struct point { short x; short y; }; typedef struct gear_puzzle_related_xxx_struct gear_puzzle_related_xxx_struct, *Pgear_puzzle_related_xxx_struct; struct gear_puzzle_related_xxx_struct { word field0_0x0; struct aseq_anim_state_struct *gear_aseq; struct aseq_anim_state_struct *digits_aseq_0; struct aseq_anim_state_struct *digits_aseq_1; undefined field4_0xe; undefined field5_0xf; undefined field6_0x10; undefined field7_0x11; }; typedef struct area_screen_obstacle area_screen_obstacle, *Parea_screen_obstacle; struct area_screen_obstacle { struct gfx_rect rect; undefined field1_0x8; undefined field2_0x9; }; typedef unsigned short wchar16; typedef struct sound_playing_struct sound_playing_struct, *Psound_playing_struct; struct sound_playing_struct { short state; word priority; struct sound_struct *sound_struct; pointer dsound_obj; undefined4 field4_0xc; }; typedef struct area_parts_hdr area_parts_hdr, *Parea_parts_hdr; struct area_parts_hdr { word unk0; word num_parts; word unk1; word num_parts_needed; word aseq_idx_for_status_bar; word unk2[5]; byte affected_by_paint[16]; pointer shorts; pointer parts; word unk3[2]; }; typedef struct aseq_cursor_struct aseq_cursor_struct, *Paseq_cursor_struct; struct aseq_cursor_struct { undefined unk0[4]; struct gfx_rect rect; word dx; word dy; word was_used; word enable_clip_cursor; pointer ptr_to_gfx_data; short fb_save_state; byte *heap_block; struct aseq_anim_state_struct *anim_state; word img_idx; word which_rect_xxx; }; typedef struct area_screen_trampoline_jump_loc area_screen_trampoline_jump_loc, *Parea_screen_trampoline_jump_loc; struct area_screen_trampoline_jump_loc { short x; short new_eseq; short w; short trampoline_idx; short match_eseq; }; typedef struct save_file_per_building_data save_file_per_building_data, *Psave_file_per_building_data; typedef struct save_file_basic_stats save_file_basic_stats, *Psave_file_basic_stats; struct save_file_basic_stats { word xxx_blueprint_related; word bananas; word building_sector; word parts_needed; word parts_have; word xxx_built_vehicle_related; short vehicle_color; word green_tube_hint_flag; word go_through_door_hint_flag; word xxx_rand_related; }; struct save_file_per_building_data { struct save_file_basic_stats basic_stats; short parts_state_xxx[2][150]; char doors_state[150]; short items_state[200]; struct save_actor_state actor_state[12]; }; typedef struct cordcode cordcode, *Pcordcode; struct cordcode { short type; short rot; short x; short y; undefined field4_0x8; undefined field5_0x9; undefined field6_0xa; undefined field7_0xb; undefined field8_0xc; undefined field9_0xd; undefined field10_0xe; undefined field11_0xf; undefined field12_0x10; undefined field13_0x11; undefined field14_0x12; undefined field15_0x13; undefined field16_0x14; undefined field17_0x15; undefined field18_0x16; undefined field19_0x17; undefined field20_0x18; undefined field21_0x19; undefined field22_0x1a; undefined field23_0x1b; undefined field24_0x1c; undefined field25_0x1d; }; typedef struct area_screen area_screen, *Parea_screen; typedef struct area_screen_non_animated_obj area_screen_non_animated_obj, *Parea_screen_non_animated_obj; struct area_screen { word type; word non_animated_obj_count[4]; word animated_obj_count[4]; word num_obstacles[6]; struct area_screen_obstacle *obstacles[6]; word num_trampoline_l_locs[6]; struct area_screen_trampoline_jump_loc *trampoline_l_locs[6]; word num_trampoline_r_locs[6]; struct area_screen_trampoline_jump_loc *trampoline_r_locs[6]; struct area_screen_non_animated_obj *non_animated_objs[4]; struct area_screen_animated_obj *animated_objs[4]; word num_items; struct linked_list_head *item_package_list; word coll_by_ylevel_counts[6]; word coll_by_ylevel_idxs[6]; short coll_by_ylevel[50]; }; struct area_screen_non_animated_obj { struct gfx_rect gfx_rect; word gfx_flags; struct aseq_anim_state_struct *anim_state; short aseq_idx; word type; word new_screen; word w0; struct rect_and_word coll_rect; }; typedef struct item_package item_package, *Pitem_package; typedef struct item_package *a; struct item_package { struct linked_list_head l; word available; undefined field2_0xa; undefined field3_0xb; struct rect_and_word rect; struct aseq_anim_state_struct *anim_state; word aseq_idx; undefined field7_0x1c; undefined field8_0x1d; word part_file_idx; word field10_0x20; struct gfx_rect rect2; word field12_0x2a; }; typedef struct save_file_beginning save_file_beginning, *Psave_file_beginning; typedef struct save_file_player_entry save_file_player_entry, *Psave_file_player_entry; struct save_file_player_entry { char name[16]; int score; word idx; }; struct save_file_beginning { dword magic; word ver; word num_players_maybe; struct save_file_player_entry player_names[99]; undefined field4_0x88a; undefined field5_0x88b; undefined field6_0x88c; undefined field7_0x88d; undefined field8_0x88e; undefined field9_0x88f; undefined field10_0x890; undefined field11_0x891; undefined field12_0x892; undefined field13_0x893; undefined field14_0x894; undefined field15_0x895; undefined field16_0x896; undefined field17_0x897; undefined field18_0x898; undefined field19_0x899; undefined field20_0x89a; undefined field21_0x89b; undefined field22_0x89c; undefined field23_0x89d; undefined field24_0x89e; undefined field25_0x89f; }; typedef struct actor_struct actor_struct, *Pactor_struct; struct actor_struct { struct gfx_rect rect; word flip_and_xtra_disable; undefined field2_0xa; undefined field3_0xb; undefined field4_0xc; undefined field5_0xd; short aseq_idx_cur; word field7_0x10; word cmd_24_related_state; struct save_actor_state saved; word actor_idx; undefined field11_0x44; undefined field12_0x45; undefined field13_0x46; undefined field14_0x47; word collision_flags; word xxx_obstacle_col_intersect_flags; short xxx_obstacle_col_direction_related; short xxx_obstacle_col_intermed_x; undefined field19_0x50; undefined field20_0x51; struct eseq_chunk **xxx_eseq_a_selected; struct eseq_chunk **xxx_eseq_a_0; struct eseq_chunk **xxx_eseq_a_1; undefined field24_0x5e; undefined field25_0x5f; undefined field26_0x60; undefined field27_0x61; pointer process_cb; pointer eseq_action_10_cb; pointer eseq_action_29_cb; word collided_with_actor_idx; word held_parts; struct linked_list_head *parts_linked_list; short *eseq_w_tables[2]; short *eseq_h_tables[2]; undefined field36_0x86; undefined field37_0x87; pointer eseq_action_11_cb_a; pointer eseq_action_11_cb_b; pointer field40_0x90; undefined field41_0x94; undefined field42_0x95; word field43_0x96; word xxx_chimp_coll_flags; short aseq_idx_base; undefined field46_0x9c; undefined field47_0x9d; undefined field48_0x9e; undefined field49_0x9f; undefined field50_0xa0; undefined field51_0xa1; struct aseq_anim_state_struct *anim_state; word new_img_idx; }; typedef struct jigsaw_piece jigsaw_piece, *Pjigsaw_piece; struct jigsaw_piece { struct gfx_rect rect; short prio; struct aseq_anim_state_struct *anim_state; short xxx; short yyy; word idx; word unk1; }; typedef struct race_02_struct race_02_struct, *Prace_02_struct; struct race_02_struct { word race_winner_determiner; short draw_order; undefined field2_0x4; undefined field3_0x5; undefined field4_0x6; undefined field5_0x7; undefined field6_0x8; undefined field7_0x9; undefined field8_0xa; undefined field9_0xb; undefined field10_0xc; undefined field11_0xd; undefined field12_0xe; undefined field13_0xf; undefined field14_0x10; undefined field15_0x11; int speed_fine; short race_data_idx_pos; short *race_rsrc; short race_phase; short finished_cmd2; short laps_counter; int max_speed_1; int max_speed_0; undefined field24_0x2a; undefined field25_0x2b; undefined field26_0x2c; undefined field27_0x2d; undefined field28_0x2e; undefined field29_0x2f; undefined field30_0x30; undefined field31_0x31; int accel_1; int accel_0; struct aseq_anim_state_struct *anim_state; }; typedef struct balance_weight_pos balance_weight_pos, *Pbalance_weight_pos; struct balance_weight_pos { short value_maybe; short sidebar_x; short sidebar_y; short sidebar_text_x; short sidebar_text_y; short mouse_x; short mouse_y; short mouse_w; short mouse_h; }; typedef struct energy_rhs energy_rhs, *Penergy_rhs; struct energy_rhs { short aseq_idx; word connections[8]; }; typedef struct resource_list_entry resource_list_entry, *Presource_list_entry; struct resource_list_entry { struct linked_list_head l; char path[20]; short type; dword handle; }; typedef struct dialog_state_struct dialog_state_struct, *Pdialog_state_struct; struct dialog_state_struct { short field0_0x0; short field1_0x2; undefined field2_0x4; undefined field3_0x5; undefined field4_0x6; undefined field5_0x7; short num_buttons; short xxx_button_pos_related[2]; short aseq_idx[2]; struct aseq_anim_state_struct *anim_state[2]; char *top_text; char *bottom_text; char *body_text; short *wave_ints; short *cur_wave_int; word highlighted_button; word wave_idx; dword unk0; dword unk1; dword unk2; }; typedef struct MODULE_DATA MODULE_DATA, *PMODULE_DATA; typedef struct INIT INIT, *PINIT; struct INIT { char called; uchar priority; pointer func; }; struct MODULE_DATA { struct INIT *init_start; struct INIT *init_end; struct INIT *exit_start; struct INIT *exit_end; int flags; int hmod; pointer main; pointer matherr; pointer matherrl; int stackbase; int *fmode; }; typedef struct anim_0xc_struct anim_0xc_struct, *Panim_0xc_struct; struct anim_0xc_struct { struct linked_list_head l; struct linked_list_head *old_anim_state_xxx_list; }; typedef struct race_1_struct race_1_struct, *Prace_1_struct; struct race_1_struct { short x; short y; undefined field2_0x4; undefined field3_0x5; undefined field4_0x6; undefined field5_0x7; undefined field6_0x8; undefined field7_0x9; undefined field8_0xa; undefined field9_0xb; undefined field10_0xc; undefined field11_0xd; int track_step_delta; word race_data_idx_pos; word race_phase; short finished_cmd2; short *race_data; int part_score_minmax_speed[3]; int part_score_accel[3]; int track_step_fine; int last_track_step_fine; struct aseq_anim_state_struct *anim_state; short actual_unwrapped_x; }; typedef struct parking_lot_cursor_struct parking_lot_cursor_struct, *Pparking_lot_cursor_struct; struct parking_lot_cursor_struct { short x; short y; short w; short h; short cb_func_idx; undefined2 field5_0xa; struct aseq_cursor_struct *thing_0x26; }; typedef struct tracked_heap_block tracked_heap_block, *Ptracked_heap_block; struct tracked_heap_block { struct linked_list_head l; pointer p; }; typedef struct simple_machines_answer simple_machines_answer, *Psimple_machines_answer; typedef struct simple_machines_answer_inner simple_machines_answer_inner, *Psimple_machines_answer_inner; struct simple_machines_answer_inner { struct gfx_rect r; undefined2 en; }; struct simple_machines_answer { short x; short y; struct simple_machines_answer_inner inner[6]; word type; struct aseq_anim_state_struct *aseq; }; typedef struct actor_N_process_struct2 actor_N_process_struct2, *Pactor_N_process_struct2; struct actor_N_process_struct2 { dword expected; dword mask; short new_state; undefined field3_0xa; undefined field4_0xb; }; typedef struct simple_machine_mouse_shape_region_info simple_machine_mouse_shape_region_info, *Psimple_machine_mouse_shape_region_info; struct simple_machine_mouse_shape_region_info { struct gfx_rect r; undefined field1_0x8; undefined field2_0x9; undefined field3_0xa; undefined field4_0xb; undefined field5_0xc; undefined field6_0xd; undefined field7_0xe; undefined field8_0xf; }; typedef struct xxxfunc_funcset xxxfunc_funcset, *Pxxxfunc_funcset; struct xxxfunc_funcset { pointer on_load; pointer on_remove; pointer on_periodic; }; typedef struct struct_unk_0 struct_unk_0, *Pstruct_unk_0; struct struct_unk_0 { word field0_0x0; struct aseq_anim_state_struct *anim_state; }; typedef struct struct_unk_2 struct_unk_2, *Pstruct_unk_2; struct struct_unk_2 { undefined2 field0_0x0; undefined2 field1_0x2; undefined2 field2_0x4; undefined2 field3_0x6; undefined field4_0x8; undefined field5_0x9; undefined field6_0xa; undefined field7_0xb; }; typedef struct struct_unk_1 struct_unk_1, *Pstruct_unk_1; struct struct_unk_1 { word field0_0x0; word field1_0x2; word field2_0x4; word field3_0x6; word field4_0x8; word field5_0xa; struct aseq_anim_state_struct *anim_state; struct mouse_region *mouse_region; }; typedef struct rect_and_anim rect_and_anim, *Prect_and_anim; struct rect_and_anim { struct gfx_rect rect; word w; struct aseq_anim_state_struct *anim; }; typedef struct gfx_fb_struct gfx_fb_struct, *Pgfx_fb_struct; typedef struct HDC__ HDC__, *PHDC__; typedef struct HDC__ *HDC; typedef struct HBITMAP__ HBITMAP__, *PHBITMAP__; typedef struct HBITMAP__ *HBITMAP; typedef void *HGDIOBJ; struct HDC__ { int unused; }; struct HBITMAP__ { int unused; }; struct gfx_fb_struct { word render_mode; word w; word h; word stride; short y_direction; pointer memory; word field6_0xe; HDC wing_dc; HBITMAP wing_bitmap; HGDIOBJ wing_gdiobj; }; typedef struct exceptVarRec exceptVarRec, *PexceptVarRec; struct exceptVarRec { pointer xvrCPPexceptionList; dword xvrExceptFlags; pointer xvrDebuggerHookFN; dword *xvrDebuggerWatchingP; pointer xvrDebuggerHookDataP; pointer terminatePTR; pointer unexpectedPTR; undefined field7_0x1c; undefined field8_0x1d; undefined field9_0x1e; undefined field10_0x1f; undefined field11_0x20; undefined field12_0x21; undefined field13_0x22; undefined field14_0x23; undefined field15_0x24; undefined field16_0x25; undefined field17_0x26; undefined field18_0x27; pointer xvrExceptStaticBuffP; pointer xvrExceptMemAllocVars; char xvrExceptStaticXbuff[128]; }; typedef struct save_file_puzzle_state save_file_puzzle_state, *Psave_file_puzzle_state; struct save_file_puzzle_state { word completed[43]; word enable_state; }; typedef struct REGREC_BC REGREC_BC, *PREGREC_BC; struct REGREC_BC { pointer ERRcNext; pointer ERRcCatcher; pointer ERRcXtab; dword ERRcSPsv; word ERRcCCtx; undefined field5_0x12; undefined field6_0x13; undefined field7_0x14; undefined field8_0x15; undefined field9_0x16; undefined field10_0x17; undefined field11_0x18; undefined field12_0x19; undefined field13_0x1a; undefined field14_0x1b; dword field15_0x1c; }; typedef struct FILE FILE, *PFILE; struct FILE { byte *curp; byte *buffer; int level; int bsize; ushort istemp; ushort flags; word token; char fd; uchar hold; }; typedef struct actor_N_process_struct1 actor_N_process_struct1, *Pactor_N_process_struct1; struct actor_N_process_struct1 { short dx; word coll_mask; word unk0; word count_or_probability; word new_state; word xxx_disable_rand; }; typedef struct title_screen_anim_xxx title_screen_anim_xxx, *Ptitle_screen_anim_xxx; struct title_screen_anim_xxx { struct aseq_anim_state_struct *anim_state; undefined4 field1_0x4; }; typedef struct file_select_0x12_struct file_select_0x12_struct, *Pfile_select_0x12_struct; struct file_select_0x12_struct { word x; word y; word enabled_maybe; word field3_0x6; short aseq_idx; struct aseq_anim_state_struct *anim_state; struct mouse_region *mouse_region; }; typedef pointer32 ImageBaseOffset32.conflict; typedef struct cursor_override_region cursor_override_region, *Pcursor_override_region; struct cursor_override_region { struct gfx_rect rect; undefined field1_0x8; undefined field2_0x9; word shape_circle; struct aseq_cursor_struct *cursor_struct; }; typedef struct struct_elec_unk_0x1a struct_elec_unk_0x1a, *Pstruct_elec_unk_0x1a; struct struct_elec_unk_0x1a { undefined2 field0_0x0; undefined2 field1_0x2; undefined2 field2_0x4; undefined2 field3_0x6; undefined2 field4_0x8; undefined2 field5_0xa; undefined2 field6_0xc; undefined2 field7_0xe; undefined2 field8_0x10; undefined2 field9_0x12; undefined2 field10_0x14; undefined2 field11_0x16; undefined2 field12_0x18; }; typedef struct IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct.conflict IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct.conflict, *PIMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct.conflict; struct IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct.conflict { dword OffsetToDirectory; dword DataIsDirectory; }; typedef struct help_page_struct help_page_struct, *Phelp_page_struct; struct help_page_struct { struct linked_list_head l; word imgs_count; struct aseq_anim_state_struct *anims[2]; word x[2]; word y[2]; char *str; }; typedef struct energy_lhs energy_lhs, *Penergy_lhs; struct energy_lhs { short energy_type; word connections_okay[4]; word field2_0xa[4]; word field3_0x12[4]; }; typedef struct part_chunk part_chunk, *Ppart_chunk; struct part_chunk { struct linked_list_head l; word slot; word perf; word held_by_actor; word is_not_decoration; word anim_idx_for_status_bar; word aseq_idx_for_conveyor; word aseq_idx_for_vehicle; word wave_text_idx; word num_gfx_instances_for_veh; word part_field_0x1a; word idx_other_part_of_same_slot; word x[4]; word y[4]; word prio[4]; word state_flags; word default_color_shape_idx; struct rect_and_anim rect_and_anim_for_status_bar; struct rect_and_anim rect_and_anim_for_conveyor; struct aseq_anim_state_struct *anim_for_status_bar; char *text; word state_flags_2; word idx_in_file; }; typedef struct balance_item balance_item, *Pbalance_item; struct balance_item { short global_idx; short weight_idx; }; typedef struct menu_struct menu_struct, *Pmenu_struct; typedef struct HMENU__ HMENU__, *PHMENU__; typedef struct HMENU__ *HMENU; struct HMENU__ { int unused; }; struct menu_struct { struct linked_list_head l; word field1_0x8; word id; word field3_0xc; HMENU hmenu_sub_0; HMENU hmenu; word unk2; struct linked_list_head *menu_items_list; pointer menu_items_block; }; typedef struct workshop_veh_parts_struct workshop_veh_parts_struct, *Pworkshop_veh_parts_struct; struct workshop_veh_parts_struct { struct linked_list_head l; word inuse; word prio; struct rect_and_anim anim; word part_idx_in_file; struct part_chunk *part; struct mouse_region *mouse_struct; }; typedef struct cursor_info cursor_info, *Pcursor_info; typedef struct HICON__ HICON__, *PHICON__; typedef struct HICON__ *HICON; typedef HICON HCURSOR; struct HICON__ { int unused; }; struct cursor_info { HCURSOR hcursor; word idx; }; typedef struct anim_engine_cb anim_engine_cb, *Panim_engine_cb; struct anim_engine_cb { struct linked_list_head l; pointer p; word idx; word inuse; }; typedef struct save_file_main save_file_main, *Psave_file_main; struct save_file_main { struct save_file_player_entry player_entry; word chimps_enabled; word w0; struct save_file_basic_stats basic_stats; short area; word building_idx; word level_in_building; word num_built_vehicles[3]; word xxx[3]; word disable_hints; word seen_hint[20]; word sounds_music_disabled; word voices_disabled; word w1; struct save_file_puzzle_state puzzles[8]; struct save_file_per_building_data per_building_data[3]; word total_built_vehicles; char vehicle_colors_shapes[15]; }; typedef struct menu_item_struct menu_item_struct, *Pmenu_item_struct; struct menu_item_struct { struct linked_list_head *l; undefined4 unk0; word state; word id; pointer cb; }; typedef struct nfnt_info nfnt_info, *Pnfnt_info; struct nfnt_info { struct linked_list_head l; byte *data; byte *bitmap_location_table_maybe; byte *width_offset_table; byte *bit_img_table; short bit_img_stride; struct gfx_rect rect; undefined field7_0x22; undefined field8_0x23; undefined field9_0x24; undefined field10_0x25; undefined field11_0x26; undefined field12_0x27; undefined field13_0x28; undefined field14_0x29; undefined field15_0x2a; undefined field16_0x2b; short rsrc_idx; }; typedef struct mouse_unk_0x6_struct mouse_unk_0x6_struct, *Pmouse_unk_0x6_struct; struct mouse_unk_0x6_struct { word field0_0x0; word x; word y; }; typedef struct excDLLinfoRec excDLLinfoRec, *PexcDLLinfoRec; struct excDLLinfoRec { dword version; struct exceptVarRec *varAddr; }; typedef union IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryUnion.conflict IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryUnion.conflict, *PIMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryUnion.conflict; union IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryUnion.conflict { dword OffsetToData; struct IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct; }; typedef struct tagMSG.conflict tagMSG.conflict, *PtagMSG.conflict; typedef struct HWND__ HWND__, *PHWND__; typedef struct HWND__ *HWND; typedef uint UINT; typedef uint UINT_PTR; typedef UINT_PTR WPARAM; typedef long LONG_PTR; typedef LONG_PTR LPARAM; typedef struct tagPOINT tagPOINT, *PtagPOINT; typedef struct tagPOINT POINT; typedef long LONG; struct tagPOINT { LONG x; LONG y; }; struct tagMSG.conflict { HWND hwnd; UINT message; WPARAM wParam; LPARAM lParam; DWORD time; POINT pt; }; struct HWND__ { int unused; }; typedef struct tagWNDCLASSEXA.conflict tagWNDCLASSEXA.conflict, *PtagWNDCLASSEXA.conflict; typedef LONG_PTR LRESULT; typedef LRESULT (*WNDPROC)(HWND, UINT, WPARAM, LPARAM); typedef struct HINSTANCE__ HINSTANCE__, *PHINSTANCE__; typedef struct HINSTANCE__ *HINSTANCE; typedef struct HBRUSH__ HBRUSH__, *PHBRUSH__; typedef struct HBRUSH__ *HBRUSH; typedef CHAR *LPCSTR; struct HBRUSH__ { int unused; }; struct tagWNDCLASSEXA.conflict { UINT cbSize; UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HINSTANCE hInstance; HICON hIcon; HCURSOR hCursor; HBRUSH hbrBackground; LPCSTR lpszMenuName; LPCSTR lpszClassName; HICON hIconSm; }; struct HINSTANCE__ { int unused; }; typedef struct tagWNDCLASSA tagWNDCLASSA, *PtagWNDCLASSA; struct tagWNDCLASSA { UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HINSTANCE hInstance; HICON hIcon; HCURSOR hCursor; HBRUSH hbrBackground; LPCSTR lpszMenuName; LPCSTR lpszClassName; }; typedef struct tagMSG tagMSG, *PtagMSG; typedef struct tagMSG MSG; struct tagMSG { HWND hwnd; UINT message; WPARAM wParam; LPARAM lParam; DWORD time; POINT pt; }; typedef struct tagMSG *LPMSG; typedef struct tagWNDCLASSA.conflict tagWNDCLASSA.conflict, *PtagWNDCLASSA.conflict; struct tagWNDCLASSA.conflict { UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HINSTANCE hInstance; HICON hIcon; HCURSOR hCursor; HBRUSH hbrBackground; LPCSTR lpszMenuName; LPCSTR lpszClassName; }; typedef struct tagWNDCLASSA WNDCLASSA; typedef struct tagWNDCLASSEXA tagWNDCLASSEXA, *PtagWNDCLASSEXA; typedef struct tagWNDCLASSEXA WNDCLASSEXA; struct tagWNDCLASSEXA { UINT cbSize; UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HINSTANCE hInstance; HICON hIcon; HCURSOR hCursor; HBRUSH hbrBackground; LPCSTR lpszMenuName; LPCSTR lpszClassName; HICON hIconSm; }; typedef struct tagPAINTSTRUCT tagPAINTSTRUCT, *PtagPAINTSTRUCT; typedef struct tagPAINTSTRUCT *LPPAINTSTRUCT; typedef int BOOL; typedef struct tagRECT tagRECT, *PtagRECT; typedef struct tagRECT RECT; typedef uchar BYTE; struct tagRECT { LONG left; LONG top; LONG right; LONG bottom; }; struct tagPAINTSTRUCT { HDC hdc; BOOL fErase; RECT rcPaint; BOOL fRestore; BOOL fIncUpdate; BYTE rgbReserved[32]; }; typedef struct tagPAINTSTRUCT PAINTSTRUCT; typedef BOOL (*WNDENUMPROC)(HWND, LPARAM); typedef struct tagPAINTSTRUCT.conflict tagPAINTSTRUCT.conflict, *PtagPAINTSTRUCT.conflict; struct tagPAINTSTRUCT.conflict { HDC hdc; BOOL fErase; RECT rcPaint; BOOL fRestore; BOOL fIncUpdate; BYTE rgbReserved[32]; }; typedef int INT_PTR; typedef INT_PTR (*DLGPROC)(HWND, UINT, WPARAM, LPARAM); typedef struct tagPALETTEENTRY tagPALETTEENTRY, *PtagPALETTEENTRY; typedef struct tagPALETTEENTRY PALETTEENTRY; struct tagPALETTEENTRY { BYTE peRed; BYTE peGreen; BYTE peBlue; BYTE peFlags; }; typedef struct tagRGBQUAD tagRGBQUAD, *PtagRGBQUAD; typedef struct tagRGBQUAD RGBQUAD; struct tagRGBQUAD { BYTE rgbBlue; BYTE rgbGreen; BYTE rgbRed; BYTE rgbReserved; }; typedef struct tagBITMAPINFO tagBITMAPINFO, *PtagBITMAPINFO; typedef struct tagBITMAPINFOHEADER tagBITMAPINFOHEADER, *PtagBITMAPINFOHEADER; typedef struct tagBITMAPINFOHEADER BITMAPINFOHEADER; struct tagBITMAPINFOHEADER { DWORD biSize; LONG biWidth; LONG biHeight; WORD biPlanes; WORD biBitCount; DWORD biCompression; DWORD biSizeImage; LONG biXPelsPerMeter; LONG biYPelsPerMeter; DWORD biClrUsed; DWORD biClrImportant; }; struct tagBITMAPINFO { BITMAPINFOHEADER bmiHeader; RGBQUAD bmiColors[1]; }; typedef struct tagBITMAPINFO.conflict tagBITMAPINFO.conflict, *PtagBITMAPINFO.conflict; struct tagBITMAPINFO.conflict { BITMAPINFOHEADER bmiHeader; RGBQUAD bmiColors[1]; }; typedef struct tagBITMAPINFO BITMAPINFO; typedef struct tagLOGPALETTE tagLOGPALETTE, *PtagLOGPALETTE; typedef struct tagLOGPALETTE LOGPALETTE; struct tagLOGPALETTE { WORD palVersion; WORD palNumEntries; PALETTEENTRY palPalEntry[1]; }; typedef struct tagLOGPALETTE.conflict tagLOGPALETTE.conflict, *PtagLOGPALETTE.conflict; struct tagLOGPALETTE.conflict { WORD palVersion; WORD palNumEntries; PALETTEENTRY palPalEntry[1]; }; typedef struct tagPALETTEENTRY *LPPALETTEENTRY; typedef struct tagRGBQUAD.conflict tagRGBQUAD.conflict, *PtagRGBQUAD.conflict; struct tagRGBQUAD.conflict { BYTE rgbBlue; BYTE rgbGreen; BYTE rgbRed; BYTE rgbReserved; }; typedef struct tagPALETTEENTRY.conflict tagPALETTEENTRY.conflict, *PtagPALETTEENTRY.conflict; struct tagPALETTEENTRY.conflict { BYTE peRed; BYTE peGreen; BYTE peBlue; BYTE peFlags; }; typedef struct tagBITMAPINFOHEADER.conflict tagBITMAPINFOHEADER.conflict, *PtagBITMAPINFOHEADER.conflict; struct tagBITMAPINFOHEADER.conflict { DWORD biSize; LONG biWidth; LONG biHeight; WORD biPlanes; WORD biBitCount; DWORD biCompression; DWORD biSizeImage; LONG biXPelsPerMeter; LONG biYPelsPerMeter; DWORD biClrUsed; DWORD biClrImportant; }; typedef struct _SYSTEMTIME.conflict _SYSTEMTIME.conflict, *P_SYSTEMTIME.conflict; struct _SYSTEMTIME.conflict { WORD wYear; WORD wMonth; WORD wDayOfWeek; WORD wDay; WORD wHour; WORD wMinute; WORD wSecond; WORD wMilliseconds; }; typedef struct _OVERLAPPED _OVERLAPPED, *P_OVERLAPPED; typedef union _union_518 _union_518, *P_union_518; typedef struct _struct_519 _struct_519, *P_struct_519; typedef void *PVOID; struct _struct_519 { DWORD Offset; DWORD OffsetHigh; }; union _union_518 { struct _struct_519 s; PVOID Pointer; }; struct _OVERLAPPED { ULONG_PTR Internal; ULONG_PTR InternalHigh; union _union_518 u; HANDLE hEvent; }; typedef struct _SECURITY_ATTRIBUTES _SECURITY_ATTRIBUTES, *P_SECURITY_ATTRIBUTES; typedef void *LPVOID; struct _SECURITY_ATTRIBUTES { DWORD nLength; LPVOID lpSecurityDescriptor; BOOL bInheritHandle; }; typedef struct _TIME_ZONE_INFORMATION _TIME_ZONE_INFORMATION, *P_TIME_ZONE_INFORMATION; typedef struct _TIME_ZONE_INFORMATION *LPTIME_ZONE_INFORMATION; typedef wchar_t WCHAR; typedef struct _SYSTEMTIME _SYSTEMTIME, *P_SYSTEMTIME; typedef struct _SYSTEMTIME SYSTEMTIME; struct _SYSTEMTIME { WORD wYear; WORD wMonth; WORD wDayOfWeek; WORD wDay; WORD wHour; WORD wMinute; WORD wSecond; WORD wMilliseconds; }; struct _TIME_ZONE_INFORMATION { LONG Bias; WCHAR StandardName[32]; SYSTEMTIME StandardDate; LONG StandardBias; WCHAR DaylightName[32]; SYSTEMTIME DaylightDate; LONG DaylightBias; }; typedef struct _STARTUPINFOA.conflict _STARTUPINFOA.conflict, *P_STARTUPINFOA.conflict; typedef BYTE *LPBYTE; struct _STARTUPINFOA.conflict { DWORD cb; LPSTR lpReserved; LPSTR lpDesktop; LPSTR lpTitle; DWORD dwX; DWORD dwY; DWORD dwXSize; DWORD dwYSize; DWORD dwXCountChars; DWORD dwYCountChars; DWORD dwFillAttribute; DWORD dwFlags; WORD wShowWindow; WORD cbReserved2; LPBYTE lpReserved2; HANDLE hStdInput; HANDLE hStdOutput; HANDLE hStdError; }; typedef struct _RTL_CRITICAL_SECTION _RTL_CRITICAL_SECTION, *P_RTL_CRITICAL_SECTION; typedef struct _RTL_CRITICAL_SECTION RTL_CRITICAL_SECTION; typedef RTL_CRITICAL_SECTION CRITICAL_SECTION; typedef struct _RTL_CRITICAL_SECTION_DEBUG _RTL_CRITICAL_SECTION_DEBUG, *P_RTL_CRITICAL_SECTION_DEBUG; typedef struct _RTL_CRITICAL_SECTION_DEBUG *PRTL_CRITICAL_SECTION_DEBUG; typedef struct _LIST_ENTRY _LIST_ENTRY, *P_LIST_ENTRY; typedef struct _LIST_ENTRY LIST_ENTRY; struct _RTL_CRITICAL_SECTION { PRTL_CRITICAL_SECTION_DEBUG DebugInfo; LONG LockCount; LONG RecursionCount; HANDLE OwningThread; HANDLE LockSemaphore; ULONG_PTR SpinCount; }; struct _LIST_ENTRY { struct _LIST_ENTRY *Flink; struct _LIST_ENTRY *Blink; }; struct _RTL_CRITICAL_SECTION_DEBUG { WORD Type; WORD CreatorBackTraceIndex; struct _RTL_CRITICAL_SECTION *CriticalSection; LIST_ENTRY ProcessLocksList; DWORD EntryCount; DWORD ContentionCount; DWORD Flags; WORD CreatorBackTraceIndexHigh; WORD SpareWORD; }; typedef struct _SECURITY_ATTRIBUTES.conflict _SECURITY_ATTRIBUTES.conflict, *P_SECURITY_ATTRIBUTES.conflict; struct _SECURITY_ATTRIBUTES.conflict { DWORD nLength; LPVOID lpSecurityDescriptor; BOOL bInheritHandle; }; typedef struct _MEMORYSTATUS _MEMORYSTATUS, *P_MEMORYSTATUS; typedef ULONG_PTR SIZE_T; struct _MEMORYSTATUS { DWORD dwLength; DWORD dwMemoryLoad; SIZE_T dwTotalPhys; SIZE_T dwAvailPhys; SIZE_T dwTotalPageFile; SIZE_T dwAvailPageFile; SIZE_T dwTotalVirtual; SIZE_T dwAvailVirtual; }; typedef struct _TIME_ZONE_INFORMATION.conflict _TIME_ZONE_INFORMATION.conflict, *P_TIME_ZONE_INFORMATION.conflict; struct _TIME_ZONE_INFORMATION.conflict { LONG Bias; WCHAR StandardName[32]; SYSTEMTIME StandardDate; LONG StandardBias; WCHAR DaylightName[32]; SYSTEMTIME DaylightDate; LONG DaylightBias; }; typedef struct _OVERLAPPED *LPOVERLAPPED; typedef struct _SECURITY_ATTRIBUTES *LPSECURITY_ATTRIBUTES; typedef struct _STARTUPINFOA _STARTUPINFOA, *P_STARTUPINFOA; struct _STARTUPINFOA { DWORD cb; LPSTR lpReserved; LPSTR lpDesktop; LPSTR lpTitle; DWORD dwX; DWORD dwY; DWORD dwXSize; DWORD dwYSize; DWORD dwXCountChars; DWORD dwYCountChars; DWORD dwFillAttribute; DWORD dwFlags; WORD wShowWindow; WORD cbReserved2; LPBYTE lpReserved2; HANDLE hStdInput; HANDLE hStdOutput; HANDLE hStdError; }; typedef struct _STARTUPINFOA *LPSTARTUPINFOA; typedef struct _MEMORYSTATUS *LPMEMORYSTATUS; typedef union _union_518.conflict _union_518.conflict, *P_union_518.conflict; union _union_518.conflict { struct _struct_519 s; PVOID Pointer; }; typedef struct _RTL_CRITICAL_SECTION *PRTL_CRITICAL_SECTION; typedef PRTL_CRITICAL_SECTION LPCRITICAL_SECTION; typedef struct _struct_519.conflict _struct_519.conflict, *P_struct_519.conflict; struct _struct_519.conflict { DWORD Offset; DWORD OffsetHigh; }; typedef struct _OVERLAPPED.conflict _OVERLAPPED.conflict, *P_OVERLAPPED.conflict; struct _OVERLAPPED.conflict { ULONG_PTR Internal; ULONG_PTR InternalHigh; union _union_518 u; HANDLE hEvent; }; typedef struct _MEMORYSTATUS.conflict _MEMORYSTATUS.conflict, *P_MEMORYSTATUS.conflict; struct _MEMORYSTATUS.conflict { DWORD dwLength; DWORD dwMemoryLoad; SIZE_T dwTotalPhys; SIZE_T dwAvailPhys; SIZE_T dwTotalPageFile; SIZE_T dwAvailPageFile; SIZE_T dwTotalVirtual; SIZE_T dwAvailVirtual; }; typedef struct _SYSTEMTIME *LPSYSTEMTIME; typedef struct _CONTEXT _CONTEXT, *P_CONTEXT; typedef struct _CONTEXT CONTEXT; typedef struct _FLOATING_SAVE_AREA _FLOATING_SAVE_AREA, *P_FLOATING_SAVE_AREA; typedef struct _FLOATING_SAVE_AREA FLOATING_SAVE_AREA; struct _FLOATING_SAVE_AREA { DWORD ControlWord; DWORD StatusWord; DWORD TagWord; DWORD ErrorOffset; DWORD ErrorSelector; DWORD DataOffset; DWORD DataSelector; BYTE RegisterArea[80]; DWORD Cr0NpxState; }; struct _CONTEXT { DWORD ContextFlags; DWORD Dr0; DWORD Dr1; DWORD Dr2; DWORD Dr3; DWORD Dr6; DWORD Dr7; FLOATING_SAVE_AREA FloatSave; DWORD SegGs; DWORD SegFs; DWORD SegEs; DWORD SegDs; DWORD Edi; DWORD Esi; DWORD Ebx; DWORD Edx; DWORD Ecx; DWORD Eax; DWORD Ebp; DWORD Eip; DWORD SegCs; DWORD EFlags; DWORD Esp; DWORD SegSs; BYTE ExtendedRegisters[512]; }; typedef struct _EXCEPTION_RECORD _EXCEPTION_RECORD, *P_EXCEPTION_RECORD; typedef struct _EXCEPTION_RECORD EXCEPTION_RECORD; typedef EXCEPTION_RECORD *PEXCEPTION_RECORD; struct _EXCEPTION_RECORD { DWORD ExceptionCode; DWORD ExceptionFlags; struct _EXCEPTION_RECORD *ExceptionRecord; PVOID ExceptionAddress; DWORD NumberParameters; ULONG_PTR ExceptionInformation[15]; }; typedef struct _RTL_CRITICAL_SECTION_DEBUG.conflict _RTL_CRITICAL_SECTION_DEBUG.conflict, *P_RTL_CRITICAL_SECTION_DEBUG.conflict; struct _RTL_CRITICAL_SECTION_DEBUG.conflict { WORD Type; WORD CreatorBackTraceIndex; struct _RTL_CRITICAL_SECTION *CriticalSection; LIST_ENTRY ProcessLocksList; DWORD EntryCount; DWORD ContentionCount; DWORD Flags; WORD CreatorBackTraceIndexHigh; WORD SpareWORD; }; typedef struct _OSVERSIONINFOA.conflict _OSVERSIONINFOA.conflict, *P_OSVERSIONINFOA.conflict; struct _OSVERSIONINFOA.conflict { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; CHAR szCSDVersion[128]; }; typedef long HRESULT; typedef struct _RTL_CRITICAL_SECTION.conflict _RTL_CRITICAL_SECTION.conflict, *P_RTL_CRITICAL_SECTION.conflict; struct _RTL_CRITICAL_SECTION.conflict { PRTL_CRITICAL_SECTION_DEBUG DebugInfo; LONG LockCount; LONG RecursionCount; HANDLE OwningThread; HANDLE LockSemaphore; ULONG_PTR SpinCount; }; typedef LONG *PLONG; typedef CHAR *LPCH; typedef struct _OSVERSIONINFOA _OSVERSIONINFOA, *P_OSVERSIONINFOA; struct _OSVERSIONINFOA { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; CHAR szCSDVersion[128]; }; typedef struct _FLOATING_SAVE_AREA.conflict _FLOATING_SAVE_AREA.conflict, *P_FLOATING_SAVE_AREA.conflict; struct _FLOATING_SAVE_AREA.conflict { DWORD ControlWord; DWORD StatusWord; DWORD TagWord; DWORD ErrorOffset; DWORD ErrorSelector; DWORD DataOffset; DWORD DataSelector; BYTE RegisterArea[80]; DWORD Cr0NpxState; }; typedef struct _OSVERSIONINFOA *LPOSVERSIONINFOA; typedef CONTEXT *PCONTEXT; typedef struct _LIST_ENTRY.conflict _LIST_ENTRY.conflict, *P_LIST_ENTRY.conflict; struct _LIST_ENTRY.conflict { struct _LIST_ENTRY *Flink; struct _LIST_ENTRY *Blink; }; typedef short SHORT; typedef struct IMAGE_DOS_HEADER.conflict IMAGE_DOS_HEADER.conflict, *PIMAGE_DOS_HEADER.conflict; struct IMAGE_DOS_HEADER.conflict { char e_magic[2]; // Magic number word e_cblp; // Bytes of last page word e_cp; // Pages in file word e_crlc; // Relocations word e_cparhdr; // Size of header in paragraphs word e_minalloc; // Minimum extra paragraphs needed word e_maxalloc; // Maximum extra paragraphs needed word e_ss; // Initial (relative) SS value word e_sp; // Initial SP value word e_csum; // Checksum word e_ip; // Initial IP value word e_cs; // Initial (relative) CS value word e_lfarlc; // File address of relocation table word e_ovno; // Overlay number word e_res[4][4]; // Reserved words word e_oemid; // OEM identifier (for e_oeminfo) word e_oeminfo; // OEM information; e_oemid specific word e_res2[10][10]; // Reserved words dword e_lfanew; // File address of new exe header byte e_program[192]; // Actual DOS program }; typedef struct IMAGE_DOS_HEADER IMAGE_DOS_HEADER, *PIMAGE_DOS_HEADER; struct IMAGE_DOS_HEADER { char e_magic[2]; // Magic number word e_cblp; // Bytes of last page word e_cp; // Pages in file word e_crlc; // Relocations word e_cparhdr; // Size of header in paragraphs word e_minalloc; // Minimum extra paragraphs needed word e_maxalloc; // Maximum extra paragraphs needed word e_ss; // Initial (relative) SS value word e_sp; // Initial SP value word e_csum; // Checksum word e_ip; // Initial IP value word e_cs; // Initial (relative) CS value word e_lfarlc; // File address of relocation table word e_ovno; // Overlay number word e_res[4][4]; // Reserved words word e_oemid; // OEM identifier (for e_oeminfo) word e_oeminfo; // OEM information; e_oemid specific word e_res2[10][10]; // Reserved words dword e_lfanew; // File address of new exe header byte e_program[192]; // Actual DOS program }; typedef struct _EXCEPTION_RECORD.conflict _EXCEPTION_RECORD.conflict, *P_EXCEPTION_RECORD.conflict; struct _EXCEPTION_RECORD.conflict { DWORD ExceptionCode; DWORD ExceptionFlags; struct _EXCEPTION_RECORD *ExceptionRecord; PVOID ExceptionAddress; DWORD NumberParameters; ULONG_PTR ExceptionInformation[15]; }; typedef struct _EXCEPTION_POINTERS _EXCEPTION_POINTERS, *P_EXCEPTION_POINTERS; struct _EXCEPTION_POINTERS { PEXCEPTION_RECORD ExceptionRecord; PCONTEXT ContextRecord; }; typedef struct _EXCEPTION_POINTERS.conflict _EXCEPTION_POINTERS.conflict, *P_EXCEPTION_POINTERS.conflict; struct _EXCEPTION_POINTERS.conflict { PEXCEPTION_RECORD ExceptionRecord; PCONTEXT ContextRecord; }; typedef struct _CONTEXT.conflict _CONTEXT.conflict, *P_CONTEXT.conflict; struct _CONTEXT.conflict { DWORD ContextFlags; DWORD Dr0; DWORD Dr1; DWORD Dr2; DWORD Dr3; DWORD Dr6; DWORD Dr7; FLOATING_SAVE_AREA FloatSave; DWORD SegGs; DWORD SegFs; DWORD SegEs; DWORD SegDs; DWORD Edi; DWORD Esi; DWORD Ebx; DWORD Edx; DWORD Ecx; DWORD Eax; DWORD Ebp; DWORD Eip; DWORD SegCs; DWORD EFlags; DWORD Esp; DWORD SegSs; BYTE ExtendedRegisters[512]; }; typedef struct tagPOINT *LPPOINT; typedef struct HPALETTE__ HPALETTE__, *PHPALETTE__; struct HPALETTE__ { int unused; }; typedef HINSTANCE HMODULE; typedef int (*FARPROC)(void); typedef WORD ATOM; typedef struct tagRECT *LPRECT; typedef struct HRSRC__ HRSRC__, *PHRSRC__; typedef struct HRSRC__ *HRSRC; struct HRSRC__ { int unused; }; typedef DWORD COLORREF; typedef struct HDC__.conflict HDC__.conflict, *PHDC__.conflict; struct HDC__.conflict { int unused; }; typedef DWORD *LPDWORD; typedef struct HPALETTE__ *HPALETTE; typedef struct HMENU__.conflict HMENU__.conflict, *PHMENU__.conflict; struct HMENU__.conflict { int unused; }; typedef struct HBRUSH__.conflict HBRUSH__.conflict, *PHBRUSH__.conflict; struct HBRUSH__.conflict { int unused; }; typedef struct HTASK__ HTASK__, *PHTASK__; struct HTASK__ { int unused; }; typedef struct HICON__.conflict HICON__.conflict, *PHICON__.conflict; struct HICON__.conflict { int unused; }; typedef struct tagRECT.conflict tagRECT.conflict, *PtagRECT.conflict; struct tagRECT.conflict { LONG left; LONG top; LONG right; LONG bottom; }; typedef struct HPALETTE__.conflict HPALETTE__.conflict, *PHPALETTE__.conflict; struct HPALETTE__.conflict { int unused; }; typedef struct tagPOINT.conflict tagPOINT.conflict, *PtagPOINT.conflict; struct tagPOINT.conflict { LONG x; LONG y; }; typedef int INT; typedef struct HTASK__ *HTASK; typedef int HFILE; typedef BYTE *PBYTE; typedef struct HRSRC__.conflict HRSRC__.conflict, *PHRSRC__.conflict; struct HRSRC__.conflict { int unused; }; typedef void *LPCVOID; typedef struct HINSTANCE__.conflict HINSTANCE__.conflict, *PHINSTANCE__.conflict; struct HINSTANCE__.conflict { int unused; }; typedef struct HWND__.conflict HWND__.conflict, *PHWND__.conflict; struct HWND__.conflict { int unused; }; typedef struct IMAGE_OPTIONAL_HEADER32 IMAGE_OPTIONAL_HEADER32, *PIMAGE_OPTIONAL_HEADER32; typedef struct IMAGE_DATA_DIRECTORY IMAGE_DATA_DIRECTORY, *PIMAGE_DATA_DIRECTORY; struct IMAGE_DATA_DIRECTORY { ImageBaseOffset32 VirtualAddress; dword Size; }; struct IMAGE_OPTIONAL_HEADER32 { word Magic; byte MajorLinkerVersion; byte MinorLinkerVersion; dword SizeOfCode; dword SizeOfInitializedData; dword SizeOfUninitializedData; ImageBaseOffset32 AddressOfEntryPoint; ImageBaseOffset32 BaseOfCode; ImageBaseOffset32 BaseOfData; pointer32 ImageBase; dword SectionAlignment; dword FileAlignment; word MajorOperatingSystemVersion; word MinorOperatingSystemVersion; word MajorImageVersion; word MinorImageVersion; word MajorSubsystemVersion; word MinorSubsystemVersion; dword Win32VersionValue; dword SizeOfImage; dword SizeOfHeaders; dword CheckSum; word Subsystem; word DllCharacteristics; dword SizeOfStackReserve; dword SizeOfStackCommit; dword SizeOfHeapReserve; dword SizeOfHeapCommit; dword LoaderFlags; dword NumberOfRvaAndSizes; struct IMAGE_DATA_DIRECTORY DataDirectory[16]; }; typedef struct IMAGE_NT_HEADERS32.conflict IMAGE_NT_HEADERS32.conflict, *PIMAGE_NT_HEADERS32.conflict; typedef struct IMAGE_FILE_HEADER IMAGE_FILE_HEADER, *PIMAGE_FILE_HEADER; struct IMAGE_FILE_HEADER { word Machine; // 332 word NumberOfSections; dword TimeDateStamp; dword PointerToSymbolTable; dword NumberOfSymbols; word SizeOfOptionalHeader; word Characteristics; }; struct IMAGE_NT_HEADERS32.conflict { char Signature[4]; struct IMAGE_FILE_HEADER FileHeader; struct IMAGE_OPTIONAL_HEADER32 OptionalHeader; }; typedef struct StringFileInfo.conflict StringFileInfo.conflict, *PStringFileInfo.conflict; struct StringFileInfo.conflict { word wLength; word wValueLength; word wType; }; typedef struct IMAGE_RESOURCE_DIRECTORY_ENTRY_NameStruct IMAGE_RESOURCE_DIRECTORY_ENTRY_NameStruct, *PIMAGE_RESOURCE_DIRECTORY_ENTRY_NameStruct; struct IMAGE_RESOURCE_DIRECTORY_ENTRY_NameStruct { dword NameOffset:31; dword NameIsString:1; }; typedef struct IMAGE_RESOURCE_DIRECTORY.conflict IMAGE_RESOURCE_DIRECTORY.conflict, *PIMAGE_RESOURCE_DIRECTORY.conflict; struct IMAGE_RESOURCE_DIRECTORY.conflict { dword Characteristics; dword TimeDateStamp; word MajorVersion; word MinorVersion; word NumberOfNamedEntries; word NumberOfIdEntries; }; typedef struct IMAGE_DIRECTORY_ENTRY_EXPORT.conflict IMAGE_DIRECTORY_ENTRY_EXPORT.conflict, *PIMAGE_DIRECTORY_ENTRY_EXPORT.conflict; struct IMAGE_DIRECTORY_ENTRY_EXPORT.conflict { dword Characteristics; dword TimeDateStamp; word MajorVersion; word MinorVersion; dword Name; dword Base; dword NumberOfFunctions; dword NumberOfNames; dword AddressOfFunctions; dword AddressOfNames; dword AddressOfNameOrdinals; }; typedef union IMAGE_RESOURCE_DIRECTORY_ENTRY_NameUnion.conflict IMAGE_RESOURCE_DIRECTORY_ENTRY_NameUnion.conflict, *PIMAGE_RESOURCE_DIRECTORY_ENTRY_NameUnion.conflict; union IMAGE_RESOURCE_DIRECTORY_ENTRY_NameUnion.conflict { struct IMAGE_RESOURCE_DIRECTORY_ENTRY_NameStruct IMAGE_RESOURCE_DIRECTORY_ENTRY_NameStruct; dword Name; word Id; }; typedef struct IMAGE_FILE_HEADER.conflict IMAGE_FILE_HEADER.conflict, *PIMAGE_FILE_HEADER.conflict; struct IMAGE_FILE_HEADER.conflict { word Machine; // 332 word NumberOfSections; dword TimeDateStamp; dword PointerToSymbolTable; dword NumberOfSymbols; word SizeOfOptionalHeader; word Characteristics; }; typedef union IMAGE_RESOURCE_DIRECTORY_ENTRY.conflict IMAGE_RESOURCE_DIRECTORY_ENTRY.conflict, *PIMAGE_RESOURCE_DIRECTORY_ENTRY.conflict; typedef union IMAGE_RESOURCE_DIRECTORY_ENTRY_NameUnion IMAGE_RESOURCE_DIRECTORY_ENTRY_NameUnion, *PIMAGE_RESOURCE_DIRECTORY_ENTRY_NameUnion; union IMAGE_RESOURCE_DIRECTORY_ENTRY_NameUnion { struct IMAGE_RESOURCE_DIRECTORY_ENTRY_NameStruct IMAGE_RESOURCE_DIRECTORY_ENTRY_NameStruct; dword Name; word Id; }; union IMAGE_RESOURCE_DIRECTORY_ENTRY.conflict { union IMAGE_RESOURCE_DIRECTORY_ENTRY_NameUnion NameUnion; union IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryUnion DirectoryUnion; }; typedef struct FileInfo FileInfo, *PFileInfo; struct FileInfo { word wLength; word wValueLength; word wType; }; typedef union Misc.conflict Misc.conflict, *PMisc.conflict; union Misc.conflict { dword PhysicalAddress; dword VirtualSize; }; typedef struct StringInfo.conflict StringInfo.conflict, *PStringInfo.conflict; struct StringInfo.conflict { word wLength; word wValueLength; word wType; }; typedef struct IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS32, *PIMAGE_NT_HEADERS32; struct IMAGE_NT_HEADERS32 { char Signature[4]; struct IMAGE_FILE_HEADER FileHeader; struct IMAGE_OPTIONAL_HEADER32 OptionalHeader; }; typedef struct StringTable.conflict StringTable.conflict, *PStringTable.conflict; struct StringTable.conflict { word wLength; word wValueLength; word wType; }; typedef struct StringFileInfo StringFileInfo, *PStringFileInfo; struct StringFileInfo { word wLength; word wValueLength; word wType; }; typedef struct IMAGE_RESOURCE_DIRECTORY_ENTRY IMAGE_RESOURCE_DIRECTORY_ENTRY, *PIMAGE_RESOURCE_DIRECTORY_ENTRY; struct IMAGE_RESOURCE_DIRECTORY_ENTRY { union IMAGE_RESOURCE_DIRECTORY_ENTRY_NameUnion NameUnion; union IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryUnion DirectoryUnion; }; typedef struct StringTable StringTable, *PStringTable; struct StringTable { word wLength; word wValueLength; word wType; }; typedef struct IMAGE_SECTION_HEADER.conflict IMAGE_SECTION_HEADER.conflict, *PIMAGE_SECTION_HEADER.conflict; typedef union Misc Misc, *PMisc; typedef enum SectionFlags { IMAGE_SCN_TYPE_NO_PAD=8, IMAGE_SCN_RESERVED_0001=16, IMAGE_SCN_CNT_CODE=32, IMAGE_SCN_CNT_INITIALIZED_DATA=64, IMAGE_SCN_CNT_UNINITIALIZED_DATA=128, IMAGE_SCN_LNK_OTHER=256, IMAGE_SCN_LNK_INFO=512, IMAGE_SCN_RESERVED_0040=1024, IMAGE_SCN_LNK_REMOVE=2048, IMAGE_SCN_LNK_COMDAT=4096, IMAGE_SCN_GPREL=32768, IMAGE_SCN_MEM_16BIT=131072, IMAGE_SCN_MEM_PURGEABLE=131072, IMAGE_SCN_MEM_LOCKED=262144, IMAGE_SCN_MEM_PRELOAD=524288, IMAGE_SCN_ALIGN_1BYTES=1048576, IMAGE_SCN_ALIGN_2BYTES=2097152, IMAGE_SCN_ALIGN_4BYTES=3145728, IMAGE_SCN_ALIGN_8BYTES=4194304, IMAGE_SCN_ALIGN_16BYTES=5242880, IMAGE_SCN_ALIGN_32BYTES=6291456, IMAGE_SCN_ALIGN_64BYTES=7340032, IMAGE_SCN_ALIGN_128BYTES=8388608, IMAGE_SCN_ALIGN_256BYTES=9437184, IMAGE_SCN_ALIGN_512BYTES=10485760, IMAGE_SCN_ALIGN_1024BYTES=11534336, IMAGE_SCN_ALIGN_2048BYTES=12582912, IMAGE_SCN_ALIGN_4096BYTES=13631488, IMAGE_SCN_ALIGN_8192BYTES=14680064, IMAGE_SCN_LNK_NRELOC_OVFL=16777216, IMAGE_SCN_MEM_DISCARDABLE=33554432, IMAGE_SCN_MEM_NOT_CACHED=67108864, IMAGE_SCN_MEM_NOT_PAGED=134217728, IMAGE_SCN_MEM_SHARED=268435456, IMAGE_SCN_MEM_EXECUTE=536870912, IMAGE_SCN_MEM_READ=1073741824, IMAGE_SCN_MEM_WRITE=2147483648 } SectionFlags; union Misc { dword PhysicalAddress; dword VirtualSize; }; struct IMAGE_SECTION_HEADER.conflict { char Name[8]; union Misc Misc; ImageBaseOffset32 VirtualAddress; dword SizeOfRawData; dword PointerToRawData; dword PointerToRelocations; dword PointerToLinenumbers; word NumberOfRelocations; word NumberOfLinenumbers; enum SectionFlags Characteristics; }; typedef struct IMAGE_SECTION_HEADER IMAGE_SECTION_HEADER, *PIMAGE_SECTION_HEADER; struct IMAGE_SECTION_HEADER { char Name[8]; union Misc Misc; ImageBaseOffset32 VirtualAddress; dword SizeOfRawData; dword PointerToRawData; dword PointerToRelocations; dword PointerToLinenumbers; word NumberOfRelocations; word NumberOfLinenumbers; enum SectionFlags Characteristics; }; typedef struct VS_VERSION_INFO VS_VERSION_INFO, *PVS_VERSION_INFO; struct VS_VERSION_INFO { word StructLength; word ValueLength; word StructType; wchar16 Info[16]; byte Padding[2]; dword Signature; word StructVersion[2]; word FileVersion[4]; word ProductVersion[4]; dword FileFlagsMask[2]; dword FileFlags; dword FileOS; dword FileType; dword FileSubtype; dword FileTimestamp; }; typedef struct VS_VERSION_INFO.conflict VS_VERSION_INFO.conflict, *PVS_VERSION_INFO.conflict; struct VS_VERSION_INFO.conflict { word StructLength; word ValueLength; word StructType; wchar16 Info[16]; byte Padding[2]; dword Signature; word StructVersion[2]; word FileVersion[4]; word ProductVersion[4]; dword FileFlagsMask[2]; dword FileFlags; dword FileOS; dword FileType; dword FileSubtype; dword FileTimestamp; }; typedef struct FileInfo.conflict FileInfo.conflict, *PFileInfo.conflict; struct FileInfo.conflict { word wLength; word wValueLength; word wType; }; typedef struct IMAGE_RESOURCE_DATA_ENTRY IMAGE_RESOURCE_DATA_ENTRY, *PIMAGE_RESOURCE_DATA_ENTRY; struct IMAGE_RESOURCE_DATA_ENTRY { dword OffsetToData; dword Size; dword CodePage; dword Reserved; }; typedef struct IMAGE_DATA_DIRECTORY.conflict IMAGE_DATA_DIRECTORY.conflict, *PIMAGE_DATA_DIRECTORY.conflict; struct IMAGE_DATA_DIRECTORY.conflict { ImageBaseOffset32 VirtualAddress; dword Size; }; typedef struct IMAGE_RESOURCE_DIRECTORY IMAGE_RESOURCE_DIRECTORY, *PIMAGE_RESOURCE_DIRECTORY; struct IMAGE_RESOURCE_DIRECTORY { dword Characteristics; dword TimeDateStamp; word MajorVersion; word MinorVersion; word NumberOfNamedEntries; word NumberOfIdEntries; }; typedef struct IMAGE_DIRECTORY_ENTRY_EXPORT IMAGE_DIRECTORY_ENTRY_EXPORT, *PIMAGE_DIRECTORY_ENTRY_EXPORT; struct IMAGE_DIRECTORY_ENTRY_EXPORT { dword Characteristics; dword TimeDateStamp; word MajorVersion; word MinorVersion; ImageBaseOffset32 Name; dword Base; dword NumberOfFunctions; dword NumberOfNames; ImageBaseOffset32 AddressOfFunctions; ImageBaseOffset32 AddressOfNames; ImageBaseOffset32 AddressOfNameOrdinals; }; typedef struct StringInfo StringInfo, *PStringInfo; struct StringInfo { word wLength; word wValueLength; word wType; }; typedef struct IMAGE_OPTIONAL_HEADER32.conflict IMAGE_OPTIONAL_HEADER32.conflict, *PIMAGE_OPTIONAL_HEADER32.conflict; struct IMAGE_OPTIONAL_HEADER32.conflict { word Magic; byte MajorLinkerVersion; byte MinorLinkerVersion; dword SizeOfCode; dword SizeOfInitializedData; dword SizeOfUninitializedData; ImageBaseOffset32 AddressOfEntryPoint; ImageBaseOffset32 BaseOfCode; ImageBaseOffset32 BaseOfData; pointer32 ImageBase; dword SectionAlignment; dword FileAlignment; word MajorOperatingSystemVersion; word MinorOperatingSystemVersion; word MajorImageVersion; word MinorImageVersion; word MajorSubsystemVersion; word MinorSubsystemVersion; dword Win32VersionValue; dword SizeOfImage; dword SizeOfHeaders; dword CheckSum; word Subsystem; word DllCharacteristics; dword SizeOfStackReserve; dword SizeOfStackCommit; dword SizeOfHeapReserve; dword SizeOfHeapCommit; dword LoaderFlags; dword NumberOfRvaAndSizes; struct IMAGE_DATA_DIRECTORY DataDirectory[16]; }; typedef struct IMAGE_RESOURCE_DATA_ENTRY.conflict IMAGE_RESOURCE_DATA_ENTRY.conflict, *PIMAGE_RESOURCE_DATA_ENTRY.conflict; struct IMAGE_RESOURCE_DATA_ENTRY.conflict { dword OffsetToData; dword Size; dword CodePage; dword Reserved; }; typedef struct IMAGE_RESOURCE_DIRECTORY_ENTRY_NameStruct.conflict IMAGE_RESOURCE_DIRECTORY_ENTRY_NameStruct.conflict, *PIMAGE_RESOURCE_DIRECTORY_ENTRY_NameStruct.conflict; struct IMAGE_RESOURCE_DIRECTORY_ENTRY_NameStruct.conflict { dword NameOffset; dword NameIsString; }; typedef BOOL (*PHANDLER_ROUTINE)(DWORD); typedef UINT MMVERSION; typedef struct timecaps_tag timecaps_tag, *Ptimecaps_tag; struct timecaps_tag { UINT wPeriodMin; UINT wPeriodMax; }; typedef struct wavehdr_tag *LPWAVEHDR; typedef WAVEFORMATEX *LPCWAVEFORMATEX; typedef struct tagMCI_OPEN_PARMSA tagMCI_OPEN_PARMSA, *PtagMCI_OPEN_PARMSA; typedef UINT MCIDEVICEID; struct tagMCI_OPEN_PARMSA { DWORD_PTR dwCallback; MCIDEVICEID wDeviceID; LPCSTR lpstrDeviceType; LPCSTR lpstrElementName; LPCSTR lpstrAlias; }; typedef struct HMMIO__ HMMIO__, *PHMMIO__; typedef struct HMMIO__ *HMMIO; struct HMMIO__ { int unused; }; typedef char *HPSTR; typedef struct tagMCI_OPEN_PARMSA MCI_OPEN_PARMSA; typedef LRESULT (MMIOPROC)(LPSTR, UINT, LPARAM, LPARAM); typedef struct HWAVEOUT__ HWAVEOUT__, *PHWAVEOUT__; typedef struct HWAVEOUT__ *HWAVEOUT; struct HWAVEOUT__ { int unused; }; typedef struct wavehdr_tag.conflict wavehdr_tag.conflict, *Pwavehdr_tag.conflict; struct wavehdr_tag.conflict { LPSTR lpData; DWORD dwBufferLength; DWORD dwBytesRecorded; DWORD_PTR dwUser; DWORD dwFlags; DWORD dwLoops; struct wavehdr_tag *lpNext; DWORD_PTR reserved; }; typedef MMIOPROC *LPMMIOPROC; typedef struct tagMIDIOUTCAPSA tagMIDIOUTCAPSA, *PtagMIDIOUTCAPSA; struct tagMIDIOUTCAPSA { WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; WORD wTechnology; WORD wVoices; WORD wNotes; WORD wChannelMask; DWORD dwSupport; }; typedef struct tagMCI_SEEK_PARMS tagMCI_SEEK_PARMS, *PtagMCI_SEEK_PARMS; typedef struct tagMCI_SEEK_PARMS MCI_SEEK_PARMS; struct tagMCI_SEEK_PARMS { DWORD_PTR dwCallback; DWORD dwTo; }; typedef struct waveformat_tag waveformat_tag, *Pwaveformat_tag; struct waveformat_tag { WORD wFormatTag; WORD nChannels; DWORD nSamplesPerSec; DWORD nAvgBytesPerSec; WORD nBlockAlign; }; typedef struct tagMCI_PLAY_PARMS tagMCI_PLAY_PARMS, *PtagMCI_PLAY_PARMS; struct tagMCI_PLAY_PARMS { DWORD_PTR dwCallback; DWORD dwFrom; DWORD dwTo; }; typedef struct timecaps_tag *LPTIMECAPS; typedef struct tagMIDIOUTCAPSA *LPMIDIOUTCAPSA; typedef struct _MMIOINFO _MMIOINFO, *P_MMIOINFO; typedef DWORD FOURCC; struct _MMIOINFO { DWORD dwFlags; FOURCC fccIOProc; LPMMIOPROC pIOProc; UINT wErrorRet; HTASK htask; LONG cchBuffer; HPSTR pchBuffer; HPSTR pchNext; HPSTR pchEndRead; HPSTR pchEndWrite; LONG lBufOffset; LONG lDiskOffset; DWORD adwInfo[3]; DWORD dwReserved1; DWORD dwReserved2; HMMIO hmmio; }; typedef struct tagMCI_GENERIC_PARMS tagMCI_GENERIC_PARMS, *PtagMCI_GENERIC_PARMS; struct tagMCI_GENERIC_PARMS { DWORD_PTR dwCallback; }; typedef struct tagMCI_GENERIC_PARMS MCI_GENERIC_PARMS; typedef struct waveformat_tag WAVEFORMAT; typedef struct tagMCI_PLAY_PARMS MCI_PLAY_PARMS; typedef struct tWAVEFORMATEX.conflict tWAVEFORMATEX.conflict, *PtWAVEFORMATEX.conflict; struct tWAVEFORMATEX.conflict { WORD wFormatTag; WORD nChannels; DWORD nSamplesPerSec; DWORD nAvgBytesPerSec; WORD nBlockAlign; WORD wBitsPerSample; WORD cbSize; }; typedef struct tagMIDIOUTCAPSA.conflict tagMIDIOUTCAPSA.conflict, *PtagMIDIOUTCAPSA.conflict; struct tagMIDIOUTCAPSA.conflict { WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; WORD wTechnology; WORD wVoices; WORD wNotes; WORD wChannelMask; DWORD dwSupport; }; typedef DWORD MCIERROR; typedef HWAVEOUT *LPHWAVEOUT; typedef UINT MMRESULT; typedef struct HWAVEOUT__.conflict HWAVEOUT__.conflict, *PHWAVEOUT__.conflict; struct HWAVEOUT__.conflict { int unused; }; typedef struct _MMIOINFO MMIOINFO; typedef MCI_OPEN_PARMSA MCI_OPEN_PARMS; typedef struct timecaps_tag.conflict timecaps_tag.conflict, *Ptimecaps_tag.conflict; struct timecaps_tag.conflict { UINT wPeriodMin; UINT wPeriodMax; }; void __stdcall entry(void); void __cdecl __GetExceptDLLinfo(undefined4 *param_1); void __stdcall pump_messages_and_get_key_(void); void __cdecl key_xxxxx_handler(short param_1); void __cdecl key_xxxxx_set(undefined *param_1); void __stdcall key_xxxxx_clear(void); void __stdcall key_xxxxx_inc(void); void __stdcall key_xxxxx_pop(void); void __cdecl int_to_dec_with_commas(uint param_1,char *param_2); void __cdecl FUN_00401206(ushort param_1,short param_2,byte *param_3); void __cdecl FUN_00401220(ushort param_1,short param_2,byte *param_3); void __cdecl get_mouse_xy_relative_(short *param_1,undefined2 *param_2); void __stdcall toggle_all_sounds(void); void __cdecl ne_rsrc_close(int param_1); uint __cdecl ne_rsrc_load_dat_real(LPCSTR param_1); uint __cdecl ne_rsrc_find(int param_1,short param_2,int *param_3); HGLOBAL __cdecl ne_rsrc_load(int param_1,ushort param_2); LPVOID __cdecl wrapped_globallock(HGLOBAL param_1); BOOL __cdecl wrapped_globalunlock(HGLOBAL param_1); undefined4 __cdecl wrapped_globalfree(HGLOBAL param_1); int __cdecl ne_rsrc_set_xxx_pos(int param_1,ushort param_2); undefined4 __cdecl retarg(undefined4 param_1); DWORD __cdecl ne_rsrc_read(int param_1,LPVOID param_2,DWORD param_3); undefined4 __cdecl more_precise_div_xxx(int param_1,int param_2); DWORD __stdcall timeGetTime(void); void __cdecl FUN_00401962(short param_1,short param_2,ushort param_3); void __cdecl win9x_hideshow_traywnd(short param_1); ATOM __stdcall create_window(void); void __stdcall destroy_window(void); void __stdcall set_gfx_base_pos_xxx(void); undefined4 __stdcall WinMain(undefined4 param_1,int param_2); void __cdecl wrap_paint(HWND param_1); LRESULT __stdcall MainWndProc(HWND param_1,UINT param_2,uint param_3,uint param_4); int __stdcall pump_some_messages(void); short __stdcall FUN_00402321(void); void __stdcall nullishsub(void); void __stdcall FUN_004023a6(void); void __stdcall FUN_004023b0(void); int __cdecl load_cached_cursor(ushort param_1); void __cdecl set_cursor(ushort param_1); void __stdcall destroy_cursors(void); void __cdecl add_system_menu_2000(LPCSTR param_1); void __cdecl wrapped_loadstring(short param_1,LPSTR param_2,short param_3); int mul_by_512_edi(int param_1); int mul_by_512_esi(int param_1,int param_2); int calc_383_minus_arg_all_times_512_edi(short param_1); int calc_383_minus_arg_all_times_512_esi(short param_1,int param_2); void __stdcall gfxish_save_rect(undefined2 *param_1,undefined2 *param_2); void __stdcall gfxish_copy_block(void); void __stdcall gfxish_line_h(void); void __stdcall gfxish_line_v(void); void __stdcall gfxish_set_px(void); void __stdcall broken_gfxish_get_px(word x,word y); void gfxish_decode_xxx(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4); void __stdcall gfxish_fill_rect(void); void __stdcall gfxish_draw_sprite_normal(void); void __stdcall gfxish_draw_sprite_flipped(void); void asm_copy_gfxish_memory(undefined4 param_1,short param_2,uint param_3); void asm_copy_gfxish_memory_backwards(undefined4 param_1,short param_2,int param_3); void __stdcall gfxish_copy_dest_to_otherbuf(void); void __stdcall gfxish_copy_otherbuf_to_dest(void); void __stdcall gfxish_copy_between_bufs(word backwards,gfx_rect *destbuf_rect,gfx_rect *otherbuf_rect); undefined4 gfxish_setup_pointers(undefined4 param_1,undefined4 param_2,undefined4 param_3,short param_4,short param_5); void __cdecl fill_light_grey(HDC param_1,RECT *param_2); void __stdcall nullishsub(void); void __stdcall nullishsub(void); void __stdcall nullsub(void); undefined4 __stdcall ret0(void); void __stdcall ao_runtime_error(void); short __cdecl anim_state_xxx_list_sort(int param_1,int param_2); short __cdecl anim_engine_drawn_images_compare(int param_1,int param_2); undefined4 __cdecl test_intersect_rect(short *param_1,short *param_2); uint __cdecl intersect_rects(short *param_1,short *param_2); int * __stdcall anim_engine_get_new_drawn_image_obj(void); void __cdecl anim_engine_return_drawn_img_obj(int *param_1); void __cdecl anim_drawn_img_offset_xy(short param_1,short param_2,short param_3); void __cdecl anim_engine_xxx_boop_drawn_images_for_state(int param_1); void __stdcall anim_drawn_images_draw_all(void); undefined4 __stdcall xxx_periodic_loop(void); void __stdcall FUN_004035a0(void); void __stdcall anim_engine_init_lots_of_heaps(void); void __stdcall anim_engine_tear_down_lots_of_heaps(void); void __cdecl anim_change_to_xxx(int *param_1,short param_2); void __cdecl aseq_select_anim(int param_1,short param_2); void __cdecl aseq_load_first_frame(int param_1); undefined4 * __cdecl load_aseq(short param_1); undefined4 __cdecl free_aseq(int *param_1); undefined4 __cdecl anim_state_xxx_list_free_by_rsrc_idx(short param_1); void __cdecl anim_state_xxx_list_insert_4(undefined4 *param_1); void __cdecl aseq_anim_reset_and_play(undefined4 *param_1); void __cdecl anim_state_xxx_list_insert_8004(undefined4 *param_1); void __cdecl anim_state_xxx_list_insert_shorter(undefined4 *param_1,int param_2); void __cdecl anim_state_xxx_list_remove(int *param_1); short __cdecl anim_state_change_xxx_list_sort_key(int *param_1,short param_2); void __cdecl aseq_anim_flags_make_2(int param_1); void __stdcall anim_engine_important_core(void); undefined4 __cdecl aseq_get_img_w(int param_1,short param_2); undefined4 __cdecl aseq_get_img_h(int param_1,short param_2); short __cdecl FUN_004045b0(int param_1); short __cdecl FUN_004045e4(int param_1); undefined2 __cdecl anim_get_draw_order(int param_1); void __cdecl anim_engine_set_custom_command_handler(undefined *param_1); void __stdcall anim_state_xxx_new_list(void); void __stdcall anim_state_xxx_restore_list(void); void __cdecl FUN_004046ec(int param_1,int param_2); void __cdecl FUN_00404700(int param_1); void __cdecl aseq_anim_state_alloc_cmd_18_22_buf(int param_1); void __cdecl aseq_anim_state_free_cmd_18_22_buf(int param_1); void __cdecl aseq_set_pos_order(int param_1,short param_2,short param_3,short param_4); void __stdcall inc_repost_mouse_downup(void); void __cdecl dec_clear_repost_mouse_downup(short param_1); void __cdecl aseq_anim_override_timing(int param_1,short param_2,short param_3); void __cdecl set_rect(short *param_1,short param_2,short param_3,short param_4,short param_5); void __cdecl set_specific_gfx_rect(short param_1,short param_2,short param_3,short param_4); void __cdecl aseq_anim_state_set_which_rect_xxx(int param_1,undefined2 param_2); void __cdecl aseq_anim_set_cmd_0x400_handler(int param_1,undefined4 param_2,undefined2 param_3); void __cdecl anim_set_flags_0x800_handler(int param_1,int param_2,undefined2 param_3); undefined2 __cdecl aseq_draw_gfx_and_xxx(int param_1,short param_2,short param_3,short param_4,byte param_5); void __cdecl aseq_draw_to_both_fbs(int param_1,short param_2,short param_3,short param_4); void __cdecl aseq_anim_set_img_and_flags(int param_1,short param_2,short param_3,undefined2 param_4); void __cdecl FUN_00404b50(int param_1,short *param_2,short *param_3,short param_4); void __cdecl aseq_anim_mark_all_drawn_invalidated(int param_1); void __stdcall anim_engine_drawn_images_mark_all_0x40(void); void __cdecl anim_engine_set_cb(undefined *param_1); undefined2 __cdecl FUN_00404c80(int param_1); int __cdecl aseq_anim_get_some_rect(int param_1); undefined2 __cdecl aseq_anim_get_flags(int param_1); uint __cdecl anim_engine_add_cb(undefined *param_1,short param_2); void __cdecl anim_engine_remove_cb(ushort param_1); undefined4 __cdecl anim_xxx_hit_test(short param_1,short param_2); void __stdcall nullsub(void); void __cdecl anim_engine_test_drawn_imgs_intersects_xxx(short *param_1); undefined4 __cdecl rect_y_to_ylevel_front(int param_1); undefined4 __cdecl rect_y_to_ylevel_back(int param_1); void __stdcall make_avail_all_item_packages(void); void __stdcall load_area(void); void __stdcall free_area(void); void __cdecl load_screen(short param_1); void __stdcall free_cur_screen_aseq(void); void __cdecl screen_non_animated_warp_find_xxxxx(short param_1,short param_2); undefined4 __cdecl area_screen_type(short param_1); uint __cdecl area_screen_type_b0(short param_1); void __stdcall nullsub(void); void __stdcall nullsub(void); void __stdcall nullsub(void); void __stdcall nullsub(void); void __stdcall find_avail_item_package(void); undefined4 __cdecl place_items_randomly(byte *param_1,short param_2,short param_3); void __cdecl remove_item_from_screen(short param_1,int *param_2); void __cdecl place_item_on_area(short param_1,short param_2,short param_3,short param_4,short param_5); area_screen * __cdecl actor_get_screen(int param_1); void __cdecl place_item_randomly_on_random_screen(short param_1); void __cdecl write_doors_items(undefined1 *param_1,short *param_2); void __cdecl parse_save_stuff_on_map(char *param_1,ushort *param_2); int __cdecl area_screen_thing0_0_idx(short param_1,short param_2); int __cdecl area_screen_thing1_0_idx(short param_1,short param_2); void __cdecl get_area_screen_list_idx(short param_1,ushort param_2); void __stdcall unlock_all_doors(void); void __cdecl race_02_twiddle_step_count(int param_1); undefined4 __cdecl race_02_process_path(ushort *param_1); void __cdecl race_02_calc_parts_result(int param_1,short *param_2); void __stdcall race_02_on_load(void); void __stdcall race_02_on_remove(void); void __stdcall race_02_twiddle_0(void); void __stdcall race_02_twiddle_1(void); uint __stdcall race_02_on_periodic(void); void __cdecl draw_fancy_number(short param_1,short param_2,uint param_3,short param_4,short param_5); void __stdcall FUN_00406796(void); void __stdcall FUN_004067e4(void); void __stdcall gfx_get_163_68_rect(void); void __stdcall gfx_restore_163_68_rect(void); void __stdcall FUN_004068e6(void); void __cdecl FUN_0040691c(short *param_1); void __cdecl FUN_00406944(uint param_1); void __stdcall status_bar_part_put_down(void); void __cdecl status_bar_part_pick_up(int param_1); int __cdecl part_find_pair_or_next_xxx(undefined4 *param_1); void __stdcall status_bar_load_xxx(void); void __stdcall FUN_00406c24(void); void __cdecl FUN_00406c7b(undefined2 param_1); void __stdcall draw_status_bar_numbers(void); void __cdecl status_bar_position_parts(undefined4 *param_1,short param_2); void __stdcall status_bar_remove_all_parts(void); void __stdcall status_bar_put_in_parts(void); void __cdecl FUN_0040701b(short param_1,short param_2); void __cdecl status_bar_set_text_flags_0x10(undefined4 param_1); void __cdecl FUN_004070c3(short param_1); void __cdecl part_clear_status_and_find_xxxx(short param_1); void __cdecl status_bar_remove_mouse_and_position_xxx(undefined4 *param_1); void __stdcall status_bar_right_arrow(void); void __stdcall status_bar_left_arrow(void); void __stdcall FUN_00407272(void); void __stdcall FUN_004072ac(void); void __stdcall status_bar_part_put_in_recycling(void); void __cdecl draw_status_bar(ushort param_1); void __cdecl increment_and_redraw_score(short param_1); void __stdcall status_bar_put_down_held(void); void __stdcall nullsub(void); void __stdcall nullsub(void); void __stdcall nullsub(void); void __cdecl FUN_0040763b(short param_1,short param_2,short *param_3); void __cdecl FUN_00407670(int param_1); void __cdecl FUN_00407686(int param_1); void __stdcall nullsub(void); void __cdecl FUN_004076be(int param_1); void __cdecl FUN_0040772e(int param_1); void __cdecl FUN_00407757(int param_1); void __cdecl FUN_004077b3(int param_1); void __cdecl mouse_downup_handler(short param_1,short param_2,undefined4 *param_3); void __cdecl mouse_down_handler(short param_1,short param_2); void __cdecl mouse_up_handler(short param_1,short param_2); void __stdcall mouse_region_setup(void); void __stdcall mouse_region_teardown(void); short __cdecl mouse_region_sort_func(int param_1,int param_2); undefined4 * __cdecl mouse_region_new_1(short param_1,short param_2,short param_3,short param_4,short param_5,uint param_6); void __cdecl mouse_region_move_1_to_up(int *param_1); void __cdecl mouse_region_move_1_to_down(int *param_1); void __cdecl mouse_region_move_up_to_1(int *param_1); void __cdecl mouse_region_move_down_to_1(int *param_1); void __cdecl mouse_region_delete_from_1(int *param_1); void __cdecl mouse_region_delete_from_2(int *param_1); void __cdecl mouse_region_delete_from_3(int *param_1); int * __cdecl mouse_region_new_up(short param_1,short param_2,short param_3,short param_4,short param_5,uint param_6); int * __cdecl mouse_region_new_down(short param_1,short param_2,short param_3,short param_4,short param_5,uint param_6); int * __cdecl mouse_region_new_from_rect_up(short *param_1,short param_2,uint param_3); int * __cdecl mouse_region_new_from_rect_down(short *param_1,short param_2,uint param_3); void __stdcall mouse_region_stash_lists(void); void __stdcall mouse_region_delete_all_lists(void); void __stdcall mouse_region_unstash_list(void); void __cdecl mouse_region_new_up_whole_screen(uint param_1); void __cdecl FUN_00407e7f(uint param_1); void __stdcall mouse_region_draw_boxes(void); void __cdecl mouse_region_draw_one_box(int param_1,ushort param_2); void __cdecl FUN_00407f7d(int param_1,undefined2 param_2,undefined2 param_3); void __cdecl mouse_up_change_prio(int *param_1,undefined2 param_2); void __cdecl FUN_00407fec(int param_1,short param_2,short param_3,short param_4,short param_5); void __cdecl mouse_region_set_filter_key(int param_1,undefined2 param_2); void __cdecl mouse_region_set_extra_data(int param_1,undefined4 param_2); void __cdecl FUN_00408034(int param_1,uint param_2); void __cdecl mouse_region_remove_by_filter_key(short param_1); void __cdecl mouse_set_downup_global_handler(undefined *param_1); void __cdecl mouse_region_xxxx_callback(int param_1,short param_2); void __cdecl mouse_region_new_for_anim(int param_1,uint param_2,short param_3); int * __cdecl mouse_region_new_for_anim_wrapped(int param_1,short param_2,short param_3,uint param_4); void __cdecl mouse_region_delete_multiple_xxx(short param_1); void __cdecl chimp_action_10_pick_up_item(actor_struct *param_1); void __cdecl actor_drop_part_in_world(short param_1); undefined4 __cdecl actors_N_process_cb(short param_1); void __cdecl chimp_after_transition_screens(short param_1); void __cdecl chimp_prepare_transition_screens(short param_1); void __stdcall load_eseq_4504_7(void); void __stdcall free_eseq_4504_7(void); void __stdcall setup_actors_N(void); void __stdcall FUN_00408a73(void); void __stdcall randomly_place_chimps(void); void __stdcall FUN_00408c40(void); void __stdcall FUN_00408cac(void); void __stdcall show_won_the_race_dialog(void); void __stdcall FUN_00408ed1(void); void __stdcall FUN_00409040(void); void __stdcall FUN_004090a7(void); void __stdcall FUN_004093b9(void); void __stdcall FUN_004093d3(void); void __stdcall FUN_004093ec(void); void __stdcall FUN_0040940f(void); void __stdcall FUN_00409429(void); void __stdcall FUN_00409442(void); void __stdcall FUN_00409474(void); void __stdcall FUN_0040950f(void); void __cdecl load_ddlt(short param_1); void __stdcall beat_game_cutscene_onload(void); void __stdcall beat_game_cutscene_onremove(void); void __stdcall beat_game_cutscene_on_periodic(void); void __stdcall FUN_004099d9(void); void __cdecl FUN_004099e3(short *param_1); void __stdcall beat_game_cutscene_2_on_load(void); void __stdcall nullsub(void); void __stdcall beat_game_cutscene_2_on_periodic(void); byte __stdcall yet_another_intersect_rect(short *param_1,short *param_2); undefined4 __cdecl actor_process_obstacle_related(short param_1,short *param_2,short param_3); ushort __cdecl zzzchimp_do_extra_coll_checks(short param_1,short *param_2); void __cdecl zzzactor_collide_intersect_stuff(short param_1); void __cdecl FUN_0040a328(ushort param_1,short param_2,undefined4 param_3,ushort param_4); int __cdecl num_puzzles_of_type_completed(short param_1); void __stdcall puzzle_cust_set_gfx_enable_state(void); void __stdcall puzzle_cust_draw_text(void); void __stdcall puzzle_cust_finalize_settings(void); void __stdcall puzzle_cust_make_mouse_handlers(void); void __cdecl puzzle_cust_click_handler(int param_1); void __stdcall puzzle_cust_load_images(void); void __stdcall free_puzzle_cust_aseqs(void); void __stdcall puzzle_cust_key_handler(void); void __stdcall FUN_0040a8b9(void); undefined2 __cdecl run_puzzle_cust_dialog(short *param_1); void __stdcall new_puzzle_cust_struct(void); void __stdcall options_puzzle_customization_(void); undefined4 __cdecl puzzle_cust_toggle_type(short param_1); undefined4 __stdcall dialog_proc(HWND param_1,short param_2,ushort param_3); void __cdecl open_dialog_box(ushort param_1); void __cdecl open_dialog_box_wrapped_xxx(ushort param_1); void __cdecl FUN_0040aed0(undefined4 param_1); void __stdcall nullsub(void); void __stdcall nullsub(void); void __cdecl FUN_0040aee7(undefined4 param_1); void __cdecl FUN_0040aefc(undefined2 param_1,undefined2 param_2); void __cdecl open_dialog_box_wrapped_yyy(ushort param_1,undefined2 param_2); void __cdecl player_action_10_pick_up_item(actor_struct *param_1); void __cdecl actor_0_eseq_29_hit_by_chimp_cb(int param_1); void __cdecl FUN_0040b21a(short param_1); undefined4 __stdcall actor_0_process_cb(void); undefined2 __stdcall actor_1_process_cb_null(void); void __stdcall player_after_transition_screen(void); void __stdcall player_prepare_transition_screen(void); void __stdcall load_eseq_4500_3(void); void __stdcall free_eseq_4500_3(void); void __stdcall banana_after_transition_screen(void); void __stdcall set_up_actors_01(void); void __cdecl xxx_maybe_throw_banana(short param_1,short param_2); void __stdcall actor_01_reset_xxx(void); void __cdecl alert_message(char *param_1); void __cdecl draw_msg_to_main_window(short param_1,short param_2,char *param_3); void __cdecl fatal_message(char *param_1); void __stdcall electricity_puzzle_on_load(void); void __stdcall electricity_puzzle_on_remove(void); void __stdcall electricity_puzzle_on_periodic(void); void __stdcall FUN_0040bed6(void); void __stdcall FUN_0040beff(void); void __stdcall FUN_0040c128(void); uint __cdecl FUN_0040c185(int param_1); void __cdecl FUN_0040c65c(short param_1,short param_2,short param_3,short param_4); void __cdecl FUN_0040c836(short param_1,undefined2 param_2,short param_3); void __cdecl FUN_0040c8b5(short param_1,short param_2,short param_3); void __cdecl FUN_0040c93b(short param_1,short param_2); void __cdecl FUN_0040ca43(short param_1,short param_2); void __stdcall electricity_load_puzzle(short param_1); void __stdcall FUN_00410427(void); void __stdcall FUN_004104cc(void); void __stdcall FUN_0041055b(void); void __stdcall FUN_0041057c(void); undefined4 __cdecl FUN_004105fe(short param_1,int param_2,short param_3); undefined4 __cdecl FUN_0041062e(short param_1,int param_2,short param_3,short param_4,int param_5); undefined4 __cdecl FUN_0041068a(int param_1,short param_2); void __cdecl FUN_004106e0(int param_1,short param_2,undefined2 param_3); undefined2 __cdecl FUN_0041073d(short param_1); void __stdcall FUN_00410bca(void); undefined4 __cdecl FUN_00410c0e(short param_1); void __cdecl FUN_004110ae(short param_1,short param_2); void __stdcall FUN_00411160(void); undefined4 __cdecl FUN_004112e3(short param_1,short param_2,short param_3,short param_4,short param_5,short param_6); void __cdecl FUN_004113cc(short param_1); void __cdecl FUN_004114fd(short param_1,short param_2); void __stdcall FUN_004115b0(void); undefined4 __cdecl FUN_004115e3(short param_1,short param_2,short param_3); void __cdecl FUN_004116cf(short param_1); void __cdecl FUN_0041183c(short param_1); void __stdcall FUN_004118bd(void); void __cdecl FUN_00411a37(short param_1); undefined4 __cdecl FUN_00411c81(short param_1,short param_2,short param_3,short param_4,short param_5,short param_6,short param_7,short param_8); void __stdcall FUN_00411df1(void); undefined4 __stdcall FUN_00411f53(void); undefined4 __cdecl FUN_004120bd(short param_1,short param_2,short param_3,short param_4,short param_5,short param_6); void __cdecl FUN_00412104(short param_1); void __cdecl FUN_00412203(word param_1,word param_2); void __cdecl FUN_00412296(short param_1,short param_2); undefined4 __stdcall FUN_00412752(void); short __stdcall FUN_00412788(void); void __stdcall FUN_004128fa(void); void __stdcall FUN_004129d4(void); void __stdcall FUN_00412af9(void); void __stdcall FUN_00412bae(void); undefined4 __stdcall FUN_00412bcd(void); void __cdecl FUN_00412c17(short param_1); void __stdcall clear_cursor_override_regions(void); void __stdcall FUN_00412d3e(void); void __stdcall FUN_00412d4b(void); void __stdcall energy_puzzle_on_load(void); void __stdcall energy_puzzle_on_remove(void); void __stdcall energy_puzzle_on_periodic(void); void __stdcall energy_puzzle_draw_text(void); void __stdcall energy_setup_mouse_regions(void); void __stdcall energy_puzzle_go_back(void); int __stdcall energy_puzzle_draw_mode(void); int __stdcall energy_puzzle_erase_mode(void); void __stdcall energy_puzzle_check(void); int __stdcall FUN_00413c8b(void); int __stdcall energy_puzzle_mouse_on_bg(void); void __cdecl energy_puzzle_bubbles_mouse_handler(int param_1); void __cdecl FUN_0041425f(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5); void __stdcall energy_puzzle_clean_up_and_redraw(void); void __cdecl FUN_00414394(undefined4 param_1,undefined4 param_2); void __cdecl energy_puzzle_load_puzzle(short param_1); void __cdecl FUN_0041654c(short param_1,short param_2,short param_3,short param_4); undefined4 __cdecl FUN_00416668(short param_1,short param_2); int __stdcall FUN_00416695(void); void __stdcall FUN_004166d6(void); void __stdcall FUN_004167ac(void); void __stdcall FUN_004167cd(void); undefined4 __cdecl FUN_00416874(short param_1,short param_2,short param_3,short param_4,short param_5,short param_6); void __stdcall energy_draw_matches_left_to_use(void); undefined4 __stdcall energy_puzzle_is_complete(void); void __stdcall energy_puzzle_reset_structs(void); void __stdcall FUN_00416a9e(void); undefined4 __stdcall FUN_00416c5b(void); void __stdcall energy_puzzle_hint(void); void __stdcall FUN_00416e98(void); void __stdcall FUN_00416f16(void); void __cdecl FUN_00416fa8(short param_1,short param_2,short param_3,short param_4,undefined4 param_5,short param_6); void __cdecl FUN_004170f4(short param_1,short param_2); void __stdcall FUN_0041711b(void); void __cdecl energy_puzzle_set_cursor_regions(short param_1); void __stdcall clear_cursor_override_regions(void); void __stdcall energy_puzzle_set_cursor_regions_wrap(void); void __stdcall FUN_00417590(void); void __stdcall setup_keyboard_buffer(void); void __stdcall FUN_004175dc(void); void __stdcall wait_for_key(void); void __stdcall pump_messages_and_get_key(void); bool __stdcall pump_messages_and_has_key(void); void __stdcall pump_some_messages_(void); void __cdecl key_down_handler_buffered(word param_1); undefined4 __stdcall get_key_from_buffer(void); void __cdecl open_windows_relative(char *param_1,ushort param_2); void __cdecl FUN_00417767(int *param_1); int __cdecl FUN_00417775(int *param_1,char *param_2,uint param_3); int __cdecl FUN_00417798(int *param_1,byte *param_2,uint param_3); void __stdcall force_puzzle_on_load(void); void __stdcall force_puzzle_on_remove(void); void __stdcall force_puzzle_on_periodic(void); void __stdcall FUN_00417ecb(void); void __cdecl force_puzzle_change_gravity(int param_1); void __stdcall force_puzzle_redraw_gfx(void); void __stdcall force_puzzle_load_gfx(void); void __stdcall FUN_00418378(void); void __stdcall FUN_0041845e(void); void __stdcall FUN_00418583(void); void __stdcall force_puzzle_move_plunger(void); void __stdcall force_puzzle_select_puzzle(void); void __stdcall force_puzzle_make_mouse_regions(void); void __stdcall FUN_0041aabd(void); void __cdecl mouse_region_main_mouse_handler(int param_1); void __stdcall force_puzzle_mouse_on_bg(void); void __stdcall force_puzzle_compute_distance(void); undefined4 __stdcall force_puzzle_is_cleared(void); void __stdcall FUN_0041bba7(void); void __stdcall FUN_0041bc1d(void); void __cdecl force_puzzle_setup_cur_override_regions(short param_1); void __stdcall clear_cursor_override_regions(void); void __stdcall force_puzzle_setup_cur_override_regions_wrap(void); void __stdcall FUN_0041bcba(void); undefined4 __stdcall FUN_0041bcd0(void); void init_new_save_file_big(undefined4 param_1); short __cdecl open_ssgwin_dat(ushort param_1,short param_2); void __cdecl readdatfile(char *param_1,ushort param_2,short param_3); void __stdcall FUN_0041bee6(void); bool __cdecl write_save_file_and_xxx(byte *param_1,ushort param_2); void __stdcall close_ssgwin_dat(void); void __cdecl load_save_5999_xxx(ushort param_1); bool __stdcall write_save_big_xxx(void); void __cdecl rand_shuffle_array(short param_1,short *param_2); undefined4 * __cdecl actor_parts_find_held_by(undefined4 *param_1,short param_2,ushort param_3); void __cdecl get_rank_for_score(uint param_1); void __stdcall gear_puzzle_on_load(void); void __stdcall gear_puzzle_on_remove(void); void __stdcall gear_puzzle_on_periodic(void); void __stdcall FUN_0041c668(void); void __stdcall FUN_0041c69b(void); void __stdcall gear_puzzle_setup_mouse_regions(void); void __stdcall FUN_0041cab0(void); uint __cdecl gear_puzzle_mouse_handler(int param_1); void __stdcall gear_puzzle_do_cranking(void); void __cdecl gear_puzzle_do_cranking_inner(short param_1); void __stdcall gear_draw_counts_on_left(void); void __cdecl gear_puzzle_setup_structs(short param_1); void __cdecl gear_pick_up_from_left(short param_1); void __stdcall FUN_0041d587(void); void __stdcall FUN_0041d620(void); void __cdecl gear_update_anim_states_and_maybe_play_sound(short param_1); void __cdecl gear_handle_interactions(short param_1); void __cdecl gear_pick_up_from_board(short param_1); void __cdecl FUN_0041e070(short param_1,short param_2); undefined4 __cdecl gear_to_gear_handler(short param_1,short param_2); undefined4 __cdecl gear_h_struct_interact_handler(short param_1,short param_2); undefined4 __cdecl gear_h_to_button_interact_handler(short param_1,short param_2); undefined4 __cdecl gear_v_to_button_interaction_handler(short param_1,short param_2); undefined4 __cdecl gear_v_struct_interact_handler(short param_1,short param_2); undefined4 __cdecl gear_to_h_teeth_handler(short param_1,short param_2); undefined4 __cdecl gear_h_teeth_to_gear_handler(short param_1,short param_2); undefined4 __cdecl gear_to_v_teeth_handler(short param_1,short param_2); undefined4 __cdecl gear_v_teeth_to_gear_handler(short param_1,short param_2); void __cdecl load_gear(short param_1); void __cdecl gfx_outer_draw_circle(short param_1,short param_2); void __stdcall load_gear_obj0_pos(void); void __cdecl gfx_outer_draw_h_line(short param_1,undefined2 param_2,short param_3); void __stdcall gear_puzzle_count_xminus99(void); void __stdcall gear_puzzle_setup_objs(void); void __stdcall gear_puzzle_draw(void); undefined4 __stdcall gear_puzzle_count_buttons_pressed(void); void __stdcall gear_shuffle_some_fields(void); void __stdcall gear_shuffle_some_fields_bbb(void); void __stdcall gear_shuffle_some_fields_ccc(void); void __stdcall FUN_0041fde7(void); void __stdcall FUN_0041fef3(void); void __stdcall FUN_0041ff6d(void); void __stdcall gear_puzzle_hint_maybe(void); void __cdecl gear_puzzle_setup_hand_cursor(short param_1); void __stdcall clear_cursor_override_regions(void); void __stdcall gear_puzzle_setup_hand_cursor_and_free_memory(void); void __stdcall FUN_0042012f(void); void __stdcall exit_game_on_periodic_(void); undefined4 __cdecl custom_anim_command_handler(int param_1,short param_2,short param_3,ushort param_4); void __stdcall FUN_00420284(void); void __stdcall enable_all_menus(void); void __stdcall setup_default_enable_menus(void); void __stdcall enter_building(void); void __stdcall pre_puzzle_choosing_on_load(void); void __stdcall pre_puzzle_choosing_on_periodic(void); void __stdcall into_warehouse_modeswitch_onload(void); void __stdcall from_warehouse_modeswitch_on_load(void); void __stdcall process_cheats(void); void __stdcall warehouse_platforming_on_load(void); void __stdcall warehouse_platforming_on_remove(void); void __stdcall warehouse_platforming_on_periodic(void); void __stdcall get_parts_on_vehicle(void); void __stdcall switch_to_correct_race(void); void __stdcall nullsub(void); void __cdecl increment_score(short param_1,short param_2); void __cdecl give_bananas(short param_1); bool __cdecl show_yesno_dialog(short param_1,short param_2); void __stdcall FUN_00420b6e(void); void __stdcall file_start_another_game(void); void __stdcall file_go_to_tech_center(void); undefined4 __stdcall exit_game_handler(void); void __stdcall FUN_00420c4c(void); void __stdcall nullsub(void); void __stdcall exit_game_on_periodic(void); void __stdcall on_activate_handler(void); void __stdcall on_deactivate_handler(void); undefined4 __cdecl char_filter_xxx(short param_1); void __stdcall nullsub(void); void __stdcall nullsub(void); void __cdecl set_cursor_wait_arrow(short param_1); void __stdcall tear_down_lots_of_stuff(void); undefined4 __stdcall load_and_set_up_stuff(void); undefined4 load_wing32(undefined4 param_1); void __stdcall free_wing32(void); void __stdcall wing_bitblt_wrap(void); void __stdcall stretchdibits_wrap(void); void __cdecl gfxish_init_framebuffer(short param_1,short param_2,short param_3); void __cdecl gfxish_free_framebuffer(short param_1); void __cdecl other_paint_func(HDC param_1,RECT *param_2); undefined4 gfxish_initialize(undefined4 param_1,undefined4 param_2,undefined4 param_3,short param_4,short param_5,short param_6); void __stdcall gfxish_teardown(void); void __cdecl gr_initialize(short param_1,short param_2,byte param_3); void __stdcall gfxish_uninvalidate_all(void); undefined4 __cdecl gfxish_set_invalidate(undefined4 *param_1); void __cdecl gfxish_invalidate_rect(short *param_1); void __cdecl gfxish_uninvalidate_rect(short *param_1); void __cdecl gfxish_invalidate_rect_wrap(short param_1,undefined2 param_2,undefined2 param_3,undefined2 param_4); void __cdecl FUN_004218f4(short param_1,undefined2 param_2,undefined2 param_3,undefined2 param_4,byte param_5); undefined4 __stdcall gfxish_do_a_paint(void); void __stdcall gfxish_copy_dest_to_otherbuf_wrap(void); void __cdecl gfxish_copy_otherbuf_to_dest_and_invalidate(short param_1,undefined2 param_2,undefined2 param_3,undefined2 param_4); void __stdcall FUN_00421c0c(void); void __cdecl load_rrgb_palette(short param_1,short param_2,undefined2 *param_3); void __cdecl load_rrgb_1(short param_1); void __cdecl load_rrgb_2(short param_1,short param_2,short param_3,short param_4); void __cdecl FUN_00421ea4(short param_1); void __stdcall FUN_00421ecc(void); int __stdcall FUN_00422098(void); void __stdcall FUN_0042211c(void); void __stdcall FUN_00422170(void); undefined1 * __cdecl FUN_00422198(short param_1); void __stdcall set_gfxish_dest(void); void __stdcall set_gfxish_dest_other(void); void __cdecl gfxish_copy_between_rect_xxx(undefined4 param_1,undefined4 param_2,short *param_3); void __cdecl gfxish_set_px_wrapped(short param_1,undefined2 param_2); void __cdecl gfxish_draw_sprite_bounds_checked(short param_1,short param_2,int param_3); void __cdecl FUN_004225bc(short param_1,short param_2,int param_3); int gfxish_fb_get_xy_ptr(int param_1,undefined4 param_2,undefined4 param_3,short param_4,short param_5); void __cdecl gfxish_line_h_wrap(short param_1,undefined2 param_2,undefined2 param_3,ushort param_4); void __cdecl gfxish_line_v_wrap(short param_1,undefined2 param_2,undefined2 param_3,ushort param_4); void __cdecl gfxish_fill_rect_wrap(short param_1,undefined2 param_2,undefined2 param_3,undefined2 param_4,ushort param_5); void __cdecl gfx_draw_box(short param_1,short param_2,short param_3,short param_4,ushort param_5); void __stdcall nullsub(void); short __cdecl gfx_data_probably_hit_test(short param_1,short param_2,int param_3); undefined4 __cdecl zomg_intersect_rect(short *param_1,short *param_2); void __cdecl gfxish_init_draw_sprite_bounds(short param_1,short param_2,short param_3,short param_4); bool __stdcall is_16_colors(void); bool __stdcall is_256_color(void); ushort __cdecl clamp_color_idx(ushort param_1); void __cdecl FUN_00422b9d(undefined2 *param_1,undefined2 *param_2); int __cdecl gfxish_calc_sz(short param_1,short param_2); void __cdecl FUN_00422bc9(undefined4 param_1); void __cdecl set_paint_offs(undefined2 param_1,undefined2 param_2); void __stdcall help_prev_page_button_click(void); void __stdcall help_next_page_button_click(void); void __stdcall help_done_button_click(void); void __stdcall FUN_00422cd2(void); void __cdecl help_draw_page(undefined4 *param_1); void __cdecl help_clean_up_page(int param_1); void __stdcall help_key_handler(void); void __stdcall help_press_esc(void); void __stdcall help_on_load(void); void __stdcall help_on_remove(void); void __stdcall help_on_periodic(void); void __stdcall jigsaw_puzzle_on_load(void); void __stdcall FUN_004234d8(void); void __stdcall jigsaw_puzzle_on_remove(void); void __stdcall jigsaw_puzzle_on_periodic(void); void __stdcall FUN_004236ef(void); void __stdcall FUN_00423734(void); void __stdcall FUN_0042378c(void); void __stdcall FUN_004238b1(void); void __stdcall jigsaw_make_mouse_regions(void); void __stdcall FUN_00423a16(void); void __stdcall FUN_00423a29(void); void __stdcall jigsaw_load_stuff(void); int __cdecl jigsaw_mouse_handler(int param_1); void __stdcall FUN_00423c67(void); void __stdcall FUN_00423d35(void); void __cdecl jigsaw_load_puzzle(short param_1); void __cdecl FUN_00424646(short param_1,short param_2); void __stdcall FUN_00424814(void); undefined4 __stdcall FUN_00424ad0(void); void __cdecl FUN_00424bca(short param_1); void __stdcall jigsaw_redraw_xxx(void); void __stdcall FUN_00424da0(void); void __stdcall FUN_00424df2(void); void __cdecl FUN_00424e09(short param_1); void __stdcall clear_cursor_override_regions(void); void __stdcall FUN_00424e75(void); void __stdcall FUN_00424e82(void); void __stdcall FUN_00424ed3(void); void __stdcall FUN_00424f23(void); uint __stdcall get_certain_keys_down(void); uint __stdcall get_keys_and_coll_actor0(void); int __cdecl FUN_0042507c(int param_1); void __cdecl actor_go_to_state(short param_1,short param_2); short * __cdecl load_eseq(short param_1,int param_2,undefined4 *param_3,undefined4 *param_4); void __cdecl actor_xxx_eseq_select(short param_1,short param_2); void __stdcall aseq_4508_skip_draw_cb(void); undefined2 __cdecl actor_process_eseq(short param_1); void __stdcall draw_all_actors(void); void __stdcall actors_load_stuff(void); void __stdcall FUN_00425b5a(void); bool __cdecl actor_give_part(short param_1,short param_2); int __cdecl actor_take_part(short param_1,short param_2,short param_3); undefined2 __stdcall process_all_actors(void); void __cdecl write_actors(int param_1); void __cdecl parse_save_actor_state(int param_1); void __stdcall aseq_4508_override_timing(void); undefined4 __cdecl deref_next_if_not_null(undefined4 *param_1); undefined4 __cdecl deref_prev_if_not_null(int param_1); undefined4 __cdecl deref_next(undefined4 *param_1); undefined4 __cdecl deref_prev(int param_1); undefined4 * __cdecl linked_list_index(undefined4 *param_1,ushort param_2); void __cdecl linked_list_insert_sorted(int *param_1,undefined4 *param_2,undefined *param_3); void __cdecl linked_list_insert(int *param_1,undefined4 *param_2,ushort param_3); void __cdecl linked_list_unlink(int *param_1,int *param_2); int * __cdecl FUN_004260b3(int *param_1,ushort param_2); int __cdecl linked_list_sz(undefined4 *param_1); void __stdcall alloc_linked_list_marker(void); void __cdecl free_tracked_heap_block_(int param_1); void __cdecl linked_list_head_zero(undefined4 *param_1); void __cdecl FUN_00426182(undefined2 param_1); undefined2 __stdcall FUN_00426191(void); void __stdcall magnet_puzzle_on_load(void); void __stdcall magnet_puzzle_on_remove(void); void __stdcall magnet_puzzle_on_periodic(void); void __stdcall FUN_004266a0(void); void __stdcall FUN_004266dc(void); void __stdcall FUN_00426811(void); void __stdcall FUN_0042683f(void); int __cdecl FUN_00426a87(int param_1); void __stdcall FUN_00426b61(void); void __stdcall FUN_00426be8(void); void __cdecl magnet_puzzle_load_stuff(short param_1); void __cdecl FUN_00429c14(short param_1); void __stdcall FUN_00429ca1(void); void FUN_00429d59(short param_1); void __stdcall FUN_00429ddd(void); void __stdcall FUN_0042a13e(void); undefined4 __cdecl FUN_0042a1a3(short param_1,short param_2,short param_3,short param_4,short param_5,short param_6,short param_7,short param_8); void __stdcall FUN_0042a313(void); void __cdecl FUN_0042a32e(short param_1); void __stdcall FUN_0042a448(void); void __cdecl FUN_0042a5aa(short param_1); undefined2 __cdecl FUN_0042a6cc(short param_1); undefined4 __cdecl FUN_0042a94a(short param_1); undefined4 __cdecl FUN_0042aa73(short param_1); undefined4 __cdecl FUN_0042ac84(short param_1,short param_2); undefined4 __cdecl FUN_0042af5d(short param_1,short param_2,short param_3); void __cdecl FUN_0042b140(ushort param_1,short param_2,short param_3,short param_4,short param_5); int __cdecl FUN_0042b38b(short param_1); uint __cdecl FUN_0042b3a4(uint param_1); undefined4 __stdcall FUN_0042b3fc(void); void __stdcall generate_cordcode_c(void); void __stdcall FUN_0042b6a2(void); undefined4 __stdcall FUN_0042b72d(void); undefined4 __cdecl FUN_0042b76d(short param_1); void __stdcall FUN_0042b7ce(void); void __stdcall FUN_0042b812(void); void __cdecl FUN_0042b82e(short param_1); void __stdcall clear_cursor_override_regions(void); void __stdcall FUN_0042b89a(void); void __stdcall FUN_0042b8a7(void); short __stdcall FUN_0042b8ed(void); undefined4 * __cdecl menu_struct_find(short param_1,short *param_2); undefined4 * __cdecl menu_item_find(short param_1,ushort param_2); void __stdcall create_main_win_menu(void); void __stdcall destroy_main_menu(void); undefined4 __cdecl FUN_0042ba3a(LPCSTR param_1,undefined2 param_2,ushort param_3); undefined4 __cdecl enable_menu_item(short param_1,ushort param_2); undefined4 __cdecl disable_menu_item(short param_1,ushort param_2); undefined4 __cdecl FUN_0042bb80(short param_1,ushort param_2,short param_3); short __cdecl create_structs_for_menu_rsrc(ushort param_1); undefined4 __cdecl delete_menu(short param_1); undefined4 __stdcall ret0(void); undefined4 __cdecl FUN_0042be28(short param_1,ushort param_2); short __cdecl FUN_0042be8e(short param_1,short param_2,LPCSTR param_3,undefined4 param_4); undefined4 __cdecl FUN_0042bf34(short param_1); undefined4 __cdecl FUN_0042bf91(short param_1); void __stdcall FUN_0042bfee(void); void __stdcall FUN_0042c01f(void); void __cdecl on_wmcommand_handler(int param_1); void __cdecl menu_item_set_cb(short param_1,ushort param_2,undefined4 param_3); void __cdecl FUN_0042c0d2(short param_1,undefined4 *param_2); void __stdcall delete_all_menus(void); int __cdecl FUN_0042c14a(ushort param_1); void __cdecl clip_cursor_enable(short param_1,short param_2,short param_3,short param_4); void __stdcall clip_cursor_disable(void); void __stdcall FUN_0042c2af(void); void __stdcall FUN_0042c2cf(void); short __stdcall hide_sys_cursor(void); short __stdcall restore_sys_cursor(void); void __cdecl custom_cursor_main_cb(short param_1); void __cdecl set_custom_cursor(undefined4 *param_1); void __stdcall cursor_restore_fb(void); int __cdecl aseq_setup_as_cursor(int param_1,undefined2 param_2,undefined2 param_3); void __stdcall unset_custom_cursor(void); undefined4 __cdecl aseq_free_cursor(int param_1); void __stdcall free_cur_cursor(void); void __stdcall cursor_cb_after(void); void __stdcall custom_cursor_setup(void); void __cdecl set_cursor_override_regions(int param_1,undefined2 param_2); void __stdcall save_unset_custom_cursor(void); void __stdcall restore_cursor_override_regions(void); void __cdecl mouse_cursor_get_dx_dy(undefined2 *param_1,undefined2 *param_2); void __cdecl show_toggle_dialog(short param_1,short param_2,short param_3,ushort *param_4); void __stdcall options_sound_and_music(void); void __stdcall options_voice(void); void __stdcall help_about_the_game(void); void __stdcall options_puzzle_customization(void); void __stdcall help_moving_around(void); void __stdcall help_building_vehicles(void); void __stdcall help_finding_paths(void); void __stdcall help_solving_puzzles(void); void __stdcall help_challenge_races(void); void __stdcall help_educational_focus(void); void __stdcall on_sys_about(void); void __stdcall setup_menus(void); void __stdcall nullsub(void); void __cdecl disable_menus(byte param_1,ushort param_2,short param_3); void __cdecl restore_enable_menus(byte param_1,ushort param_2,short param_3); uint __cdecl FUN_0042d06c(short param_1,short param_2); void __cdecl init_tracked_heap_blocks(uint param_1); void __stdcall free_tracked_heap_blocks(void); int __cdecl alloc_tracked_heap_block(uint param_1); void __cdecl free_tracked_heap_block(int param_1); void __stdcall nullsub(void); void __stdcall nullsub(void); void __stdcall nullishsub(void); void __stdcall nullishsub(void); undefined4 __cdecl FUN_0042d20c(int param_1,int param_2); void __stdcall init_new_player_hints(void); void __cdecl enqueue_new_player_hint(short param_1,ushort param_2,short *param_3); void __cdecl FUN_0042d2ea(int param_1); undefined4 __stdcall process_new_player_hints(void); void __stdcall tear_down_new_player_hints(void); void __stdcall options_new_player_hints(void); void __cdecl new_player_hint(short param_1); void __stdcall debug_dump_new_player_hint(void); undefined4 __stdcall ret0(void); void __stdcall FUN_0042d51f(void); void __stdcall FUN_0042d56b(void); void __stdcall FUN_0042d579(void); void __stdcall title_screen_onload(void); void __stdcall title_screen_onremove(void); void __stdcall title_screen_onperiodic(void); void __stdcall FUN_0042d96b(void); void __stdcall FUN_0042da39(void); void __stdcall FUN_0042da7b(void); void __stdcall FUN_0042daf4(void); void __stdcall FUN_0042db67(void); void __stdcall FUN_0042db8d(void); void __cdecl FUN_0042dc11(short *param_1); void __stdcall FUN_0042dc77(void); void __stdcall FUN_0042dd5f(void); void __stdcall FUN_0042ddda(void); void __stdcall FUN_0042e0bd(void); void __stdcall FUN_0042e138(void); void __stdcall FUN_0042e18d(void); void __stdcall FUN_0042e43e(void); void __stdcall FUN_0042e4d5(void); void __stdcall FUN_0042e512(void); void __stdcall FUN_0042e55e(void); void __stdcall FUN_0042e5db(void); void __stdcall FUN_0042e5e5(void); short __stdcall load_area_parts(void); void __stdcall free_part_xxx(void); undefined4 __cdecl part_get_slot(short param_1); undefined4 __cdecl part_get_anim_idx_for_status_bar(short param_1); undefined4 __cdecl part_get_aseq_for_conveyor(short param_1); undefined4 __cdecl part_get_aseq_for_vehicle(short param_1); undefined4 __cdecl part_get_is_not_decoration(short param_1); int __cdecl part_get_chunk_by_file_idx(short param_1); void __cdecl shuffle_parts_related_array(short param_1); undefined4 __stdcall get_parts_related_array_item(void); int __cdecl part_linked_list_find_given_slot(undefined4 *param_1,short param_2,undefined2 *param_3); undefined2 __cdecl actor_parts_find_by_slot(undefined4 *param_1,short param_2); int __cdecl actor_count_held_parts(short param_1); undefined4 __stdcall part_get_num_parts_needed(void); void __cdecl part_find_next_skipping_second(?)(undefined4 *param_1); void __cdecl part_find_prev_skipping_second(?)(int param_1); void __cdecl write_parts_fields(undefined2 *param_1); void __cdecl parse_save_big_part_related(short *param_1); void __stdcall cheat_give_all_parts(void); void __cdecl race_1_calc_parts_result(int param_1,short *param_2); void __cdecl race_1_rdat_animate(int param_1,undefined4 param_2); void __cdecl race_1_calc_step_delta(int param_1); uint __cdecl race_1_process_path(int param_1); void __stdcall FUN_0042efc4(void); void __stdcall race_1_on_load(void); void __stdcall race_1_on_unload(void); uint __stdcall race_1_on_periodic(void); void __stdcall FUN_0042fb68(void); void __stdcall FUN_0042fb9d(void); undefined2 __cdecl FUN_0042fbf7(int param_1); void __stdcall FUN_004300e0(void); void __stdcall FUN_0043012b(void); void __cdecl FUN_004301cf(undefined4 param_1); void __cdecl FUN_0043020b(int param_1,short param_2,short param_3,short param_4,byte param_5); void __cdecl FUN_004304bc(byte *param_1,short *param_2,short param_3); void __stdcall puzzle_choosing_onload_xxx(void); void __stdcall puzzle_choosing_onremove_xxx(void); void __stdcall go_to_puzzle(void); void __stdcall FUN_00430803(void); void __cdecl FUN_004308da(int param_1); void __stdcall FUN_00430a39(void); void __stdcall FUN_00430aa3(void); void __stdcall pick_random_puzzle(void); undefined4 __stdcall check_low_on_puzzles(void); short __stdcall choose_rand_puzzle_type(void); int __cdecl get_three_possible_puzzles(short param_1); void __stdcall inc_score_by_400(void); void __cdecl solved_the_puzzle(short param_1); void __stdcall FUN_00430def(void); void __cdecl FUN_00430e33(short param_1); void __cdecl load_waves_from_list(int param_1); void __cdecl FUN_00430ef4(int param_1); void __stdcall no_more_chosen_puzzles(void); void __stdcall draw_score_digits(void); void __stdcall FUN_00431029(void); void __stdcall load_and_draw_score(void); undefined4 __cdecl FUN_004310e9(short param_1); void __stdcall puzzle_change_state_1_to_0(void); undefined4 __stdcall FUN_00431167(void); bool __cdecl load_resource(int param_1); undefined4 __stdcall init_resources_list(void); void __stdcall free_all_resources(void); undefined4 __cdecl load_dat_file(char *param_1); void __cdecl free_dat_file_maybe(char *param_1); uint __cdecl load_rsrc_4cc(undefined1 *param_1); undefined4 __cdecl load_resource_item(short param_1,int *param_2); void __cdecl load_resource_item_0(short param_1,int *param_2); void __cdecl load_resource_item_1(short param_1,int *param_2); void __cdecl free_resource_with_hglobal(int param_1); void __cdecl free_resource_item_with_idx_fourcc(short param_1,undefined1 *param_2); void __cdecl free_resource_item_with_data(int param_1); undefined4 __cdecl hglobal_for_resource_item_data(int param_1); undefined4 __cdecl get_handle_for_resource(ushort param_1,int *param_2); void __stdcall free_all_resource_items(void); undefined4 __cdecl find_and_alert_rs32(undefined4 *param_1); undefined4 __cdecl find_resource_item(short param_1,undefined1 *param_2); void __stdcall balance_puzzle_make_mouse_regions(void); void __stdcall balance_puzzle_on_load(void); void __stdcall balance_puzzle_on_remove(void); void __stdcall balance_puzzle_on_periodic(void); void __stdcall FUN_00432316(void); void __stdcall balance_tilting_right(void); void __stdcall balance_tilting_left(void); void __stdcall FUN_0043242a(void); int balance_find_new_slot(undefined4 param_1,int param_2); void __cdecl balance_puzzle_click_item_on_balance(int param_1); void __cdecl balance_puzzle_click_sidebar(int param_1); void __stdcall FUN_004327ac(void); void __stdcall balance_draw_sidebar(void); void __cdecl balance_position_weight(short param_1,short param_2,short param_3); void __stdcall balance_position_all_weights(void); short __stdcall compute_balance_lhs(void); short __stdcall compute_balance_rhs(void); void __stdcall balanct_tilt_towards_center(void); undefined4 __stdcall balance_compute_tilt(void); void __stdcall balance_puzzle_load_level(void); void __stdcall FUN_00434706(void); void __stdcall FUN_00434734(void); void __stdcall FUN_0043479b(void); void __stdcall FUN_004347b2(void); void __cdecl FUN_00434813(short param_1); void __stdcall clear_cursor_override_regions(void); void __stdcall FUN_0043487f(void); void __cdecl balance_draw_lhs_blue_xxx(short param_1); void __stdcall balance_position_all_weights_wrap(void); void __cdecl FUN_0043497c(short param_1,short param_2); void __cdecl FUN_0043499b(short *param_1); void __cdecl FUN_00434a80(short *param_1,short param_2); void __cdecl FUN_00434ab5(short *param_1,short param_2); void __cdecl FUN_00434aea(short *param_1,uint param_2); void __stdcall file_select_load_scroll_widget_aseq(void); void __stdcall FUN_00434d1a(void); bool __stdcall FUN_00434d44(void); void __cdecl FUN_00434d58(word param_1); word __stdcall FUN_00434db0(void); void __stdcall FUN_00434e19(void); void __stdcall FUN_00434e2a(void); void __cdecl file_select_button_cb(int param_1); void __cdecl FUN_00434e8d(short param_1); void __cdecl FUN_00434ec0(int param_1); void __stdcall FUN_00434f3a(void); void __stdcall FUN_00434f3b(void); undefined4 __stdcall load_or_remake_save(void); void __stdcall load_save_beginning(void); void __stdcall write_save_header(void); void __stdcall file_select_load_background(void); void __stdcall file_select_load_background_wrap(void); bool __cdecl FUN_0043510b(short param_1); void __stdcall FUN_00435488(int param_1); void __stdcall FUN_0043548e(void); void __cdecl FUN_004354fc(short param_1,short param_2,short param_3); undefined4 __cdecl FUN_004358b5(ushort param_1); void __stdcall file_select_load_buttons(void); void __stdcall FUN_00436185(void); void __stdcall FUN_004361d2(void); void __stdcall file_select_onload(void); void __stdcall file_select_onremove(void); void __stdcall file_select_on_periodic(void); undefined2 __stdcall ask_about_chimps(void); undefined2 __stdcall ask_remove_player(void); void __cdecl wavemix_error(undefined4 param_1); void __cdecl wave_out_error(MMRESULT param_1); undefined2 __cdecl _return_arg0(undefined2 param_1); LRESULT __stdcall SoundWndProc(HWND param_1,UINT param_2,uint param_3,LPARAM param_4); short __cdecl find_play_slot(short param_1); void __cdecl wave_find_data(int param_1); void __cdecl find_wave(short param_1,ushort param_2); void __stdcall FUN_00436a36(void); void __stdcall FUN_00436a5a(void); bool __stdcall load_wavemix(void); void __stdcall FUN_00436b67(void); undefined4 __stdcall load_dsound(void); ushort __stdcall create_sound_window(void); void __stdcall FUN_00436d8b(void); void __cdecl load_wave_xxx(ushort param_1,ushort param_2); void __cdecl load_wave_flag_1(ushort param_1); void __cdecl load_midi(short param_1); void __cdecl load_wave_flag_2(ushort param_1); void __cdecl free_wave(short param_1,ushort param_2); void __cdecl free_wave_flag_1(short param_1); void __cdecl free_midi(short param_1); void __stdcall FUN_004371de(void); void __cdecl free_wave_flag_2(short param_1); void __stdcall FUN_00437219(void); void __cdecl play_wave(int param_1); void __cdecl play_wave_flag1(short param_1,short param_2,ushort param_3); void __cdecl midi_play(int param_1); void __cdecl midi_stop_and_play(short param_1,word param_2); void __cdecl play_wave_flag2(short param_1); void __stdcall nullsub(void); void __cdecl FUN_0043767e(ushort param_1); void __cdecl FUN_004376bc(undefined4 *param_1); void __stdcall FUN_0043771a(void); void __stdcall FUN_00437767(void); void __cdecl stop_wave_now(int param_1); void __cdecl mci_stop(int param_1); void __cdecl stop_playing_wave(int param_1,short param_2); void __cdecl stop_playing_wave_by_id_type1(short param_1); void __cdecl mark_sound_not_playing(int param_1); void __cdecl midi_stop(short param_1); void __cdecl stop_playing_wave_by_id_type2(short param_1); void __stdcall stop_playing_all_waves(void); void __stdcall midi_stop_current(void); void __stdcall stop_playing_voice_slot1(void); void __cdecl FUN_00437afd(short param_1); void __stdcall FUN_00437b2c(void); void __stdcall FUN_00437b5b(void); void __cdecl pause_wave(int param_1); void __stdcall FUN_00437c1c(void); void __stdcall FUN_00437c30(void); void __cdecl restart_sound(int param_1); void __cdecl midi_pause(int param_1); void __stdcall midi_pause_current(void); void __cdecl midi_replay(int param_1); void __cdecl restart_current_midi(short param_1); void __stdcall FUN_00437dcb(void); undefined4 __cdecl wave_is_playing(short param_1); undefined4 __stdcall FUN_00437e22(void); void __cdecl wave_is_playing_(short param_1); undefined4 __stdcall FUN_00437e7b(void); undefined4 __cdecl midi_is_playing(short param_1); void __cdecl wave_is_playing_(short param_1); undefined4 __stdcall FUN_00437f0f(void); void __cdecl set_sfx_enabled(short param_1); void __cdecl set_bgm_enabled(short param_1); word __stdcall is_bgm_enabled(void); word __stdcall are_sfx_enabled(void); word __stdcall are_voices_enabled(void); void __cdecl set_voices_enabled(short param_1); void __stdcall open_midimap(void); ushort __cdecl sound_initialize(short param_1); int __cdecl load_wave_by_ints(short param_1); undefined4 __cdecl free_waves_from_list(int param_1); void __cdecl set_midi_type(undefined2 param_1); void __stdcall FUN_004383d4(void); void __cdecl unpause_all_sounds(short param_1); void __stdcall pause_all_sounds(void); uint __cdecl FUN_00438554(int param_1); void __cdecl FUN_00438570(short param_1); void __cdecl FUN_0043858b(short param_1); void __stdcall FUN_004385a6(void); void __cdecl set_midi_path(char *param_1); void __cdecl FUN_0043860d(ushort param_1); void __cdecl FUN_0043863f(ushort param_1); void __stdcall nullsub(void); void __cdecl FUN_0043866f(short param_1); void __cdecl FUN_0043868c(short param_1); void __cdecl FUN_004386a9(short param_1); void __cdecl free_all_sounds(short param_1); void __stdcall problem_with_wavemix(void); void __stdcall simple_machines_puzzle_on_load(void); void __stdcall simple_machines_puzzle_on_remove(void); void __stdcall simple_machines_puzzle_on_periodic(void); void __stdcall simple_machines_go_back(void); void __stdcall simple_machines_set_up_mouse_regions(void); void __stdcall FUN_004390de(void); int __cdecl simple_machines_mouse_handler(int param_1); void __stdcall simple_machines_check(void); int __stdcall simple_machines_mouse_on_bg(void); void __stdcall simple_machines_hint(void); void __stdcall FUN_00439440(void); undefined4 __stdcall simple_machine_beat_game(void); void __stdcall FUN_0043950b(void); void __cdecl simple_machine_load_puzzle(short param_1); void __stdcall simple_machine_draw_sidebar_icons(void); void __stdcall simple_machine_draw_sidebar_counts(void); void __cdecl simple_machine_calc_mouse_xxxxx(short param_1,short param_2); void __stdcall FUN_0043bb28(void); int __cdecl simple_machine_check_against_reference(short param_1); undefined4 __cdecl point_within_rect(short param_1,short param_2,short param_3,short param_4,short param_5,short param_6); void __cdecl FUN_0043bcf5(short param_1); void __stdcall FUN_0043be57(void); void __stdcall FUN_0043bebe(void); void __stdcall FUN_0043beda(void); void __cdecl simple_machine_setup_mouse_shape_regions(short param_1); void __stdcall clear_cursor_override_regions(void); void __stdcall simple_machine_setup_mouse_shape_regions_wrap(void); void __stdcall FUN_0043c05f(void); void __stdcall xxxfunc_run(void); void __cdecl xxxfunc_set(xxxfunc_funcset *param_1); void __cdecl xxxfunc_add_funcset(xxxfunc_funcset *param_1); void __stdcall xxxfunc_remove(void); void __cdecl xxxfunc_setup(short param_1,xxxfunc_funcset *param_2); void __cdecl xxxfunc_set_disable(undefined2 param_1); void __stdcall xxxfunc_tear_down(void); undefined4 __stdcall dialog_proc_2(HWND param_1,short param_2,ushort param_3); void __cdecl open_dialog_box_2(ushort param_1); undefined4 __stdcall load_ini_settings(void); void __stdcall set_ini_wavemix(void); void __stdcall FUN_0043c734(void); void __stdcall go_file_select(void); void __stdcall go_building_1(void); void __stdcall go_building_2(void); void __stdcall go_building_0(void); void __stdcall save_loaded_parking_lot_on_load(void); void __stdcall save_loaded_parking_lot_on_remove(void); void __stdcall save_loaded_parking_lot_on_periodic(void); void __cdecl FUN_0043cba0(int param_1,short param_2,short param_3,short param_4,byte param_5); void __stdcall dialog_btn_0_click(void); void __stdcall dialog_btn_1_click(void); int __cdecl FUN_0043cf25(char *param_1); void __stdcall dialog_keyboard_handler(void); void __stdcall dialog_stop_playing_sounds(void); void __stdcall dialog_bottom_click(void); void __stdcall new_yesno_dialog(void); void __stdcall new_no_buttons_dialog(void); short __cdecl show_dialog(undefined2 *param_1); void __cdecl show_dialog_wait_continue_with_ids(short param_1,undefined2 param_2); void __cdecl show_dialog_wait_continue(undefined4 param_1,undefined2 param_2); void __cdecl FUN_0043d7c1(undefined4 param_1); void __stdcall FUN_0043d7ce(void); void __cdecl time_begin_period(short param_1); void __stdcall time_end_period(void); int __stdcall get_time_ms(void); void __stdcall nullsub(void); undefined2 __stdcall time_get_secs_mul(void); int __cdecl time_get_secs_count(short param_1); uint __cdecl time_get_one_over_secs_count(short param_1); int __cdecl get_new_time_ms(int param_1); bool __cdecl time_not_yet_reached_ms(uint param_1); void __cdecl FUN_0043d8ce(uint param_1); void __stdcall timers_pause(void); void __stdcall timers_resume(void); void __cdecl FUN_0043d90d(int param_1); void __cdecl FUN_0043d92e(int param_1); void __stdcall FUN_0043d940(void); void __cdecl find_nfnt(short param_1); void __cdecl free_nfnt(short param_1); ushort __cdecl FUN_0043d9cf(ushort param_1); undefined4 __cdecl nfnt_get_max_asc(short param_1); undefined4 __cdecl nfnt_get_max_height(short param_1); void __cdecl load_nfnt(short param_1); int __cdecl nfnt_get_width_offset_table(int param_1); int __cdecl nfnt_get_bitmap_location_table_maybe(int param_1); int __cdecl nfnt_get_bit_image_table(int param_1); void __cdecl nfnt_get_bit_image_info(int param_1,int *param_2); short __cdecl nfnt_get_text_width(short param_1,byte *param_2); void __cdecl FUN_0043dbb3(short param_1,byte *param_2,short param_3,short param_4,ushort param_5); void __cdecl FUN_0043dc0b(short param_1,byte *param_2,ushort param_3,short param_4,ushort param_5); undefined4 __cdecl FUN_0043dc8c(short param_1,byte param_2,ushort param_3,short param_4,ushort param_5); undefined1 __cdecl nfnt_get_width_offs(short param_1,byte param_2); void __stdcall nullsub(void); void __cdecl FUN_0043ddd5(int param_1,ushort param_2,short param_3,short param_4,short param_5,short param_6,short param_7,short param_8,ushort param_9); undefined2 __cdecl set_default_nfnt(undefined2 param_1); undefined2 __cdecl FUN_0043e1b5(ushort param_1); void __stdcall setup_nfnt(void); void __stdcall free_all_nfnt(void); int __cdecl FUN_0043e266(short param_1,ushort param_2,short param_3,short param_4,byte *param_5); short __cdecl FUN_0043e3fb(short param_1,byte *param_2,short *param_3,short *param_4); void __cdecl FUN_0043e4a1(ushort param_1,short param_2,byte *param_3); undefined2 __stdcall FUN_0043e4d6(void); undefined2 __cdecl FUN_0043e4dd(undefined2 param_1); void __cdecl FUN_0043e4f3(undefined2 param_1); void __cdecl fill_rect_anim_w_h(int param_1); void __cdecl FUN_0043e538(short param_1); void __stdcall nullsub(void); void __cdecl FUN_0043e5e8(short param_1); void __cdecl part_find_all_on_conveyors(undefined4 *param_1); int __cdecl part_get_other_part_in_slot(int param_1); void __stdcall FUN_0043e749(void); void __stdcall workshop_load_blueprint_expand(void); void __cdecl paint_vehicle_piece(int param_1,short param_2,short param_3); void __cdecl workshop_load_parts_for_conveyor(short param_1,short param_2); void __stdcall FUN_0043e940(void); short __cdecl workshop_veh_parts_sort(int param_1,int param_2); void __cdecl workshop_pick_up_item_from_veh(int param_1); void __cdecl workshop_pick_up_item_from_conveyor(int param_1); void __stdcall workshop_go_race(void); void __stdcall workshop_recycle_part(void); void __stdcall workshop_put_part_on_vehicle(void); void __cdecl workshop_populate_veh_parts_struct(int param_1); int __cdecl workshop_remove_parts_from_veh(short param_1); void __stdcall workshop_veh_parts_load_aseqs(void); void __stdcall workshop_veh_parts_free_aseqs(void); void __stdcall workshop_conveyor_parts_position_aseqs(void); undefined4 __stdcall FUN_0043f14c(void); bool __stdcall FUN_0043f24b(void); void __cdecl workshop_setup_mouse_regions_for_items_on_conveyor(int param_1); void __cdecl workshop_pick_up_item_inner(int param_1); void __stdcall FUN_0043f47a(void); void __cdecl FUN_0043f4f8(int param_1); void __cdecl load_blue(short param_1); void __stdcall free_blue(void); void __stdcall FUN_0043f890(void); void __stdcall blue_xxx_load_aseq_stuff(void); void __stdcall workshop_clean_up_blue(void); void __stdcall workshop_new_veh_parts_list(void); void __stdcall workshop_roll_conveyor_left(void); void __stdcall workshop_roll_conveyor_right(void); void __stdcall workshop_open_blueprint(void); void __stdcall workshop_go_through_pipe(void); void __stdcall workshop_key_handler(void); void __stdcall workshop_on_load(void); void __stdcall workshop_on_remove(void); void __stdcall FUN_0044029d(void); void __stdcall FUN_0044031e(void); void __stdcall FUN_00440376(void); void __stdcall workshop_on_periodic(void); void __cdecl FUN_00440880(int *param_1,short param_2,short param_3); void __cdecl FUN_004408a7(int *param_1,short param_2,short param_3); bool __cdecl FUN_004408ce(short *param_1,int *param_2); void __cdecl get_mouse_xy_relative(short *param_1); ushort __stdcall is_left_button_down(void); uint __cdecl get_mouse_buttons(uint param_1); void __cdecl FUN_0044099f(short *param_1,ushort param_2); short __cdecl FUN_004409cf(short *param_1); short __cdecl FUN_004409e0(int param_1); void __stdcall FUN_004409f2(void); undefined2 __cdecl deref_word(undefined2 *param_1); undefined4 __cdecl read_word_and_inc(int *param_1); undefined2 __cdecl FUN_00440a21(undefined2 *param_1); short __cdecl FUN_00440a2c(byte *param_1); void __cdecl FUN_00440a44(undefined1 *param_1,short param_2); void __cdecl endian_swap_words(undefined1 *param_1,short param_2); void __cdecl FUN_00440a96(undefined1 *param_1,short param_2); void __cdecl endian_swap_dwords(undefined1 *param_1,short param_2); void __cdecl FUN_00440b00(undefined1 *param_1); void __cdecl endian_swap_one_word(undefined1 *param_1); void __cdecl endian_swap_one_dword(undefined1 *param_1); char * __cdecl FUN_00440b44(char *param_1,char param_2,int param_3); undefined4 * __cdecl memcpy(undefined4 *param_1,undefined4 *param_2,uint param_3); undefined4 * __cdecl memmove_maybe(undefined4 *param_1,undefined4 *param_2,uint param_3); undefined4 * __cdecl memset(undefined4 *param_1,undefined1 param_2,uint param_3); char * __cdecl strcat(char *param_1,char *param_2); char * __cdecl FUN_00440c40(char *param_1,char param_2); int __cdecl strcmp2(char *param_1,char *param_2); char * __cdecl strcpy(char *param_1,char *param_2); int __cdecl strlen(char *param_1); char * __cdecl FUN_00440ce0(char *param_1,char *param_2,uint param_3); int __cdecl memcmp(byte *param_1,byte *param_2,int param_3); undefined4 * __cdecl FUN_00440d70(undefined4 *param_1,char *param_2,uint param_3); int __cdecl FUN_00440dc0(char *param_1,char *param_2,int param_3); char * __cdecl strrchr(char *param_1,char param_2); char * __cdecl strcmp(char *param_1,char *param_2); int __cdecl str_copy_ret_end(undefined4 *param_1,char *param_2); void __JumpToCatch__(undefined *UNRECOVERED_JUMPTABLE); char * __cdecl __typeIDname(int param_1); void __stdcall @__debuggerExcListChange$qv(void); undefined4 __cdecl __isSameTypeID(int *param_1,int *param_2); undefined4 __cdecl FUN_004410f4(int param_1,int *param_2,undefined4 param_3,int param_4); undefined4 __cdecl __isCompatTypeID(int *param_1,int *param_2,int param_3,undefined4 param_4); uint * __cdecl allocExceptMem(uint param_1); void __cdecl freeExceptMem(int param_1); bool __cdecl typeIDcaught(int *param_1,undefined4 param_2,int *param_3,byte param_4); void __cdecl callCopyConstr(undefined4 param_1,undefined4 param_2,undefined *param_3,uint param_4); void __cdecl callDestructor(undefined4 param_1,int param_2,undefined *param_3,uint param_4,int param_5); void __cdecl callMemberFunc(undefined4 param_1,undefined *param_2,uint param_3); void __cdecl tossAnException(uint *param_1,undefined4 *param_2,uint param_3,undefined *param_4,uint param_5,uint param_6,uint param_7,uint param_8,undefined4 param_9,int param_10); void __cdecl@_ThrowException$qpvt1t1t1uiuiuipuc(uint *param_1,undefined4 *param_2,uint param_3,undefined *param_4,uint param_5,uint param_6,uint param_7,uint param_8); void __cdecl @_ReThrowException$quipuc(uint param_1,uint param_2); void __cdecl _Global_unwind(PVOID param_1,PEXCEPTION_RECORD param_2); void __cdecl destThrownValue(undefined4 param_1,int param_2,undefined *param_3,uint param_4); void __cdecl exceptionHandled(int param_1); void __stdcall @_CatchCleanup$qv(void); undefined4 __cdecl locateBaseClass(undefined4 *param_1,int param_2,int *param_3,int *param_4); int __cdecl __adjustClassAdr(int param_1,int param_2,int *param_3); void __cdecl initCatchArg(int param_1,undefined4 param_2,int param_3,int *param_4,int param_5); void __cdecl local_unwind(int param_1); void __cdecl _Local_unwind(int param_1); void __cdecl _Return_unwind(undefined4 *param_1); int * __cdecl findMatchingHandler(int param_1,int param_2); undefined4 __stdcall _ExceptionHandler(_EXCEPTION_RECORD *param_1,REGREC_BC *param_2,_CONTEXT *param_3,undefined *param_4); undefined4 __stdcall FUN_00441f21(void); void __cdecl destroyOneObject(undefined4 param_1,int param_2,int param_3); void __cdecl destroyBases(int param_1,int *param_2,int *param_3); void __cdecl destroyVariable(int param_1,int param_2,uint param_3,int param_4); void __cdecl destroyArray(int param_1,int param_2,uint param_3); int __cdecl findTrueTypeAndAddr(int param_1,int *param_2); undefined4 __cdecl dtorCleanup(int *param_1,int param_2,int param_3,int param_4); uint __cdecl _CurrExcContext(int param_1); undefined4 __stdcall @__ThrowFileName$qv(void); undefined4 __stdcall @__ThrowLineNumber$qv(void); undefined4 __stdcall @__ThrowExceptionName$qv(void); undefined4 * __cdecl @typeinfo@$bctr$qrx8typeinfo(undefined4 *param_1); undefined4 __cdecl @typeinfo@$basg$qrx8typeinfo(undefined4 param_1); void __cdecl @typeinfo@$bdtr$qv(undefined4 *param_1,byte param_2); bool __cdecl @typeinfo@$beql$xqrx8typeinfo(int param_1,int param_2); bool __cdecl @typeinfo@$bneq$xqrx8typeinfo(int param_1,int param_2); bool __cdecl @typeinfo@before$xqrx8typeinfo(int param_1,int param_2); void __cdecl @typeinfo@name$xqv(int param_1); int __cdecl @__GetTypeInfo$qpvt1t1t1(int param_1,int param_2,undefined4 param_3,int param_4); undefined4 * __cdecl FUN_00442a54(int param_1,int *param_2,undefined4 *param_3,int *param_4,int param_5,int *param_6,uint *param_7,int param_8); undefined4 * __cdecl@__DynamicCast$qpvt1t1t1i(int param_1,int param_2,int *param_3,int *param_4,int param_5); void __InitExceptBlock(int param_1); void __stdcall @terminate$qv(void); undefined4 __cdecl @set_terminate$qpqv$v(int param_1); void __stdcall __call_terminate(void); void __stdcall @unexpected$qv(void); undefined4 __cdecl @set_unexpected$qpqv$v(int param_1); void __stdcall __call_unexpected(void); undefined4 __cdecl @__GetPolymorphicDTC$qpvui(int param_1,int param_2); void __cdecl _ExceptInit(int param_1); void __stdcall nullsub(void); void __cdecl _GetExceptDLLinfoInternal(undefined4 *param_1); void __stdcall @__lockDebuggerData$qv(void); void __stdcall @__unlockDebuggerData$qv(void); undefined4 __stdcall __DefHandler(void); LONG __cdecl ExcHandler(PEXCEPTION_RECORD param_1,PVOID param_2,PCONTEXT param_3,PVOID param_4); void __cdecl _setexc(undefined4 *param_1); void __cdecl _unsetexc(undefined4 *param_1); undefined * __cdecl _SetUserHandler(undefined *param_1); void __stdcall _unsetuserhandler(void); void __stdcall _init_except(void); void __stdcall _exit_except(void); void __stdcall _InitDefaultHander(void); void __doGlobalUnwind(PVOID param_1,PEXCEPTION_RECORD param_2); void __stdcall invokeHnd(void); void __cdecl _SetExceptionHandler(undefined4 *param_1); void __cdecl _UnsetExceptionHandler(undefined4 *param_1); void __stdcall RtlUnwind(PVOID TargetFrame,PVOID TargetIp,PEXCEPTION_RECORD ExceptionRecord,PVOID ReturnValue); int __stdcall flushall(void); undefined4 __cdecl _allocbuf(int *param_1,uint *param_2,int param_3,uint param_4); undefined4 __cdecl fclose(int *param_1); undefined4 __cdecl fflush(int *param_1); int __stdcall _flushout(void); void __cdecl _initfmode(undefined *param_1); uint __cdecl CheckOpenType(char *param_1,uint *param_2,undefined4 *param_3); int * __cdecl __topenfp(int *param_1,LPCSTR param_2,char *param_3,uint param_4); undefined4 * __stdcall FUN_00443588(void); int * __cdecl fopen(LPCSTR param_1,char *param_2); void __cdecl fprintf(undefined4 param_1,char *param_2); char * __cdecl FUN_00443600(byte *param_1,char *param_2,int *param_3); uint __cdecl FUN_004436d4(byte *param_1,int *param_2); char * __cdecl FUN_00443714(char *param_1,char *param_2,int *param_3); uint __cdecl fread(char *param_1,int param_2,int param_3,int *param_4); int __cdecl Displacement(undefined4 *param_1); undefined4 __cdecl fseek(int *param_1,LONG param_2,int param_3); DWORD __cdecl FUN_00443938(undefined4 *param_1); uint __cdecl fwrite(byte *param_1,uint param_2,uint param_3,int *param_4); void __cdecl get_config_xxx_path_0(uint *param_1,uint param_2); void __stdcall FUN_00443a04(void); undefined4 __cdecl FUN_00443a38(undefined4 *param_1); void __cdecl FUN_00443a9c(int *param_1); uint __cdecl FUN_00443ab0(int *param_1); uint __cdecl FUN_00443b80(byte param_1,int *param_2); char * __cdecl make_temp_path(char *param_1,char *param_2,ushort param_3); char * __cdecl make_temp(char *param_1,ushort *param_2); undefined4 __cdecl setvbuf(int *param_1,uint *param_2,int param_3,uint param_4); uint __cdecl FUN_00443dd8(undefined4 *param_1,uint param_2,int *param_3); void __cdecl sprintf(undefined1 *param_1); void __cdecl FUN_00443e24(undefined1 *param_1,char *param_2); void __cdecl vsprintf(undefined1 *param_1,char *param_2,uint *param_3); void __stdcall _init_streams(void); void __stdcall FUN_00443f34(void); void __cdecl FUN_00443f84(int param_1); void __cdecl FUN_00443fb4(undefined1 param_1,int param_2); void __cdecl FUN_00443fdc(uint param_1,int param_2); undefined4 __cdecl printfish(undefined4 param_1,undefined4 param_2,char *param_3,uint *param_4); void __stdcall _xfclose(void); void __stdcall _xfflush(void); int __stdcall _flushall(void); uint __cdecl FUN_00444718(uint param_1); uint __cdecl FUN_00444730(uint param_1); char * __cdecl FUN_004447b8(char *param_1,int param_2); char * __cdecl FUN_00444824(uint param_1,char *param_2,char *param_3); int __cdecl FUN_00444954(char *param_1,int *param_2,undefined4 *param_3,int param_4); char * __cdecl __write(uint param_1,char *param_2,char *param_3); uint * __cdecl get_config_xxx_path(int param_1,uint *param_2,uint param_3); int __cdecl _get_handle(HANDLE param_1,dword param_2); uint __cdecl FUN_00444c68(uint param_1,uint param_2,HANDLE param_3); void __cdecl FUN_00444cd0(uint param_1); int __cdecl FUN_00444cec(int *param_1); void __stdcall fds_init(void); undefined4 __cdecl __IOerror(int param_1); void __stdcall __NTerror(void); undefined4 __cdecl read(uint param_1,LPVOID param_2,DWORD param_3); void __cdecl FUN_00444f8c(uint param_1,LPVOID param_2,DWORD param_3); undefined4 __cdecl _rtl_write(uint param_1,LPCVOID param_2,DWORD param_3); void __cdecl FUN_00444ff0(uint param_1,LPCVOID param_2,DWORD param_3); undefined4 __cdecl check_file_attribs(LPCSTR param_1,byte param_2); undefined4 __cdecl close(uint param_1); bool __cdecl isatty(uint param_1); bool __cdecl __isatty_osfhandle(HANDLE param_1); DWORD __cdecl __lseek(uint param_1,LONG param_2,int param_3); int __cdecl ___topen(LPCSTR param_1,uint param_2,uint param_3); undefined4 __cdecl delete_file(LPCSTR param_1); uint __cdecl toupper(uint param_1); undefined2 __stdcall _clear87(void); void __stdcall _control87(void); void __stdcall thunk_FUN_0044546c(void); void __stdcall thunk_FUN_0044546c(void); void __stdcall _fpreset(void); int __cdecl FUN_00445400(char *param_1); void __cdecl FUN_0044545c(char *param_1); void __stdcall FUN_0044546c(void); char * __cdecl int_to_str_helper(uint param_1,char *param_2,uint param_3,char param_4,char param_5); void __cdecl int_to_dec(uint param_1,char *param_2); void __cdecl itoa(uint param_1,char *param_2,uint param_3); void __cdecl int_to_dec_signed(uint param_1,char *param_2,uint param_3); undefined4 __cdecl _matherr(int *param_1); undefined4 __cdecl _matherrl(int *param_1); void __cdecl _initmatherr(undefined *param_1,undefined *param_2); void __cdecl srand(undefined4 param_1); uint __stdcall rand(void); uint * __cdecl calloc(int param_1,int param_2); void __stdcall _table_init(void); undefined4 __cdecl _vheapadd(uint *param_1,uint param_2,uint param_3); undefined4 __cdecl _heapresize(uint *param_1,uint param_2); undefined4 __cdecl _get_more_heap(int param_1); undefined4 __cdecl _release_heap_at(uint *param_1); void __cdecl free(int param_1); uint * __cdecl malloc(uint param_1); SIZE_T __stdcall _phys_avail(void); void __stdcall FUN_004460b0(void); void __stdcall FUN_0044611c(void); void __cdecl @$bdele$qpv(int param_1); void __cdecl FUN_00446138(int param_1); undefined4 __cdecl _virt_reserve(int param_1,undefined4 *param_2,uint *param_3); undefined4 __cdecl _virt_commit(LPVOID param_1,int param_2); undefined4 __cdecl _virt_decommit(LPVOID param_1,SIZE_T param_2); undefined4 __cdecl _virt_release(LPVOID param_1); undefined4 __stdcall threadHasWnd(undefined4 param_1,undefined4 *param_2); undefined4 __stdcall mbModalFlag(void); void __cdecl _ErrorMessage(char *param_1); void __cdecl __ErrorMessage(char *param_1); void __cdecl _ErrorExit(char *param_1); undefined * __stdcall DateTime(void); void __cdecl _ErrorMessageHelper(LPCSTR param_1,char *param_2); void __stdcall FUN_00446478(void); void __stdcall _abort(void); void __stdcall abort(void); undefined4 __cdecl atexit(undefined4 param_1); void __stdcall nullsub(void); void __cdecl __exit(int param_1,int param_2,UINT param_3); void __cdecl exit(UINT param_1); void __cdecl _exit(UINT param_1); char * __cdecl FUN_004465cc(char *param_1); void __stdcall _initwild(void); void __stdcall FUN_00446674(void); undefined4 __stdcall _texpandblock(void); void __stdcall _setenvp(void); int __cdecl GetIndex(int param_1); undefined4 __cdecl ExcHandler(int *param_1,undefined4 param_2,int param_3); undefined4 __stdcall controlc(int param_1); undefined4 __cdecl signal(int param_1,undefined *param_2); undefined4 __cdecl raise(int param_1); undefined4 __stdcall _create_shmem(void); undefined4 __stdcall FUN_00446a7c(void); undefined4 __cdecl _init_exit_proc(int *param_1,uint param_2); void __cdecl _startup(int param_1); void __stdcall _cleanup(void); void __stdcall _terminate(UINT param_1); void __stdcall nullsub(void); undefined4 * __stdcall FUN_00446d24(void); bool __cdecl FUN_00446eb4(uint param_1,uint param_2,uint param_3,uint param_4); int __cdecl FUN_00446fc8(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6); void __cdecl getdate(uint *param_1); void __cdecl gettime(undefined1 *param_1); void __cdecl time(int *param_1); HGLOBAL __stdcall GlobalAlloc(UINT uFlags,SIZE_T dwBytes); void __stdcall ExitProcess(UINT uExitCode); void __stdcall GetLocalTime(LPSYSTEMTIME lpSystemTime); HGLOBAL __stdcall LoadResource(HMODULE hModule,HRSRC hResInfo); BOOL __stdcall FreeLibrary(HMODULE hLibModule); BOOL __stdcall GlobalUnlock(HGLOBAL hMem); DWORD __stdcall GetFileType(HANDLE hFile); void __stdcall GlobalMemoryStatus(LPMEMORYSTATUS lpBuffer); HMODULE __stdcall LoadLibraryA(LPCSTR lpLibFileName); void __stdcall GetStartupInfoA(LPSTARTUPINFOA lpStartupInfo); DWORD __stdcall SetFilePointer(HANDLE hFile,LONG lDistanceToMove,PLONG lpDistanceToMoveHigh,DWORD dwMoveMethod); void __stdcall RtlUnwind(PVOID TargetFrame,PVOID TargetIp,PEXCEPTION_RECORD ExceptionRecord,PVOID ReturnValue); DWORD __stdcall GetModuleFileNameA(HMODULE hModule,LPSTR lpFilename,DWORD nSize); HGLOBAL __stdcall GlobalFree(HGLOBAL hMem); void __stdcall InitializeCriticalSection(LPCRITICAL_SECTION lpCriticalSection); LPVOID __stdcall GlobalLock(HGLOBAL hMem); UINT __stdcall GetWindowsDirectoryA(LPSTR lpBuffer,UINT uSize); void __stdcall LeaveCriticalSection(LPCRITICAL_SECTION lpCriticalSection); HFILE __stdcall _lopen(LPCSTR lpPathName,int iReadWrite); LPVOID __stdcall VirtualAlloc(LPVOID lpAddress,SIZE_T dwSize,DWORD flAllocationType,DWORD flProtect); HFILE __stdcall _lclose(HFILE hFile); BOOL __stdcall VirtualFree(LPVOID lpAddress,SIZE_T dwSize,DWORD dwFreeType); LONG __stdcall UnhandledExceptionFilter(_EXCEPTION_POINTERS *ExceptionInfo); HANDLE __stdcall GetStdHandle(DWORD nStdHandle); UINT __stdcall SetErrorMode(UINT uMode); UINT __stdcall GetPrivateProfileIntA(LPCSTR lpAppName,LPCSTR lpKeyName,INT nDefault,LPCSTR lpFileName); HMODULE __stdcall GetModuleHandleA(LPCSTR lpModuleName); LPVOID __stdcall LockResource(HGLOBAL hResData); LPSTR __stdcall GetCommandLineA(void); HANDLE __stdcall CreateFileA(LPCSTR lpFileName,DWORD dwDesiredAccess,DWORD dwShareMode,LPSECURITY_ATTRIBUTES lpSecurityAttributes,DWORD dwCreationDisposition,DWORD dwFlagsAndAttributes,HANDLE hTemplateFile); void __stdcall EnterCriticalSection(LPCRITICAL_SECTION lpCriticalSection); HRSRC __stdcall FindResourceA(HMODULE hModule,LPCSTR lpName,LPCSTR lpType); DWORD __stdcall GetLastError(void); DWORD __stdcall GetLogicalDrives(void); SIZE_T __stdcall GlobalSize(HGLOBAL hMem); DWORD __stdcall GetFullPathNameA(LPCSTR lpFileName,DWORD nBufferLength,LPSTR lpBuffer,LPSTR *lpFilePart); BOOL __stdcall CloseHandle(HANDLE hObject); BOOL __stdcall FreeResource(HGLOBAL hResData); DWORD __stdcall GetCurrentDirectoryA(DWORD nBufferLength,LPSTR lpBuffer); BOOL __stdcall GetVersionExA(LPOSVERSIONINFOA lpVersionInformation); DWORD __stdcall GetVersion(void); UINT __stdcall _lread(HFILE hFile,LPVOID lpBuffer,UINT uBytes); DWORD __stdcall GetCurrentThreadId(void); DWORD __stdcall GetTimeZoneInformation(LPTIME_ZONE_INFORMATION lpTimeZoneInformation); BOOL __stdcall WritePrivateProfileStringA(LPCSTR lpAppName,LPCSTR lpKeyName,LPCSTR lpString,LPCSTR lpFileName); BOOL __stdcall WriteFile(HANDLE hFile,LPCVOID lpBuffer,DWORD nNumberOfBytesToWrite,LPDWORD lpNumberOfBytesWritten,LPOVERLAPPED lpOverlapped); UINT __stdcall GetDriveTypeA(LPCSTR lpRootPathName); BOOL __stdcall DeleteFileA(LPCSTR lpFileName); FARPROC __stdcall GetProcAddress(HMODULE hModule,LPCSTR lpProcName); UINT __stdcall SetHandleCount(UINT uNumber); LPCH __stdcall GetEnvironmentStrings(void); DWORD __stdcall GetPrivateProfileStringA(LPCSTR lpAppName,LPCSTR lpKeyName,LPCSTR lpDefault,LPSTR lpReturnedString,DWORD nSize,LPCSTR lpFileName); LONG __stdcall _llseek(HFILE hFile,LONG lOffset,int iOrigin); BOOL __stdcall SetConsoleCtrlHandler(PHANDLER_ROUTINE HandlerRoutine,BOOL Add); DWORD __stdcall GetFileAttributesA(LPCSTR lpFileName); BOOL __stdcall ReadFile(HANDLE hFile,LPVOID lpBuffer,DWORD nNumberOfBytesToRead,LPDWORD lpNumberOfBytesRead,LPOVERLAPPED lpOverlapped); void __stdcall RaiseException(DWORD dwExceptionCode,DWORD dwExceptionFlags,DWORD nNumberOfArguments,ULONG_PTR *lpArguments); BOOL __stdcall DeleteDC(HDC hdc); HPALETTE __stdcall CreatePalette(LOGPALETTE *plpal); HBRUSH __stdcall CreateSolidBrush(COLORREF color); int __stdcall GetDeviceCaps(HDC hdc,int index); BOOL __stdcall DeleteObject(HGDIOBJ ho); HGDIOBJ __stdcall GetStockObject(int i); int __stdcall StretchDIBits(HDC hdc,int xDest,int yDest,int DestWidth,int DestHeight,int xSrc,int ySrc,int SrcWidth,int SrcHeight,void *lpBits,BITMAPINFO *lpbmi,UINT iUsage,DWORD rop); UINT __stdcall SetPaletteEntries(HPALETTE hpal,UINT iStart,UINT cEntries,PALETTEENTRY *pPalEntries); HPALETTE __stdcall SelectPalette(HDC hdc,HPALETTE hPal,BOOL bForceBkgd); HGDIOBJ __stdcall SelectObject(HDC hdc,HGDIOBJ h); UINT __stdcall RealizePalette(HDC hdc); UINT __stdcall GetSystemPaletteUse(HDC hdc); BOOL __stdcall TextOutA(HDC hdc,int x,int y,LPCSTR lpString,int c); UINT __stdcall GetSystemPaletteEntries(HDC hdc,UINT iStart,UINT cEntries,LPPALETTEENTRY pPalEntries); HWND __stdcall SetActiveWindow(HWND hWnd); BOOL __stdcall ScreenToClient(HWND hWnd,LPPOINT lpPoint); BOOL __stdcall RemoveMenu(HMENU hMenu,UINT uPosition,UINT uFlags); ATOM __stdcall RegisterClassExA(WNDCLASSEXA *param_1); ATOM __stdcall RegisterClassA(WNDCLASSA *lpWndClass); void __stdcall PostQuitMessage(int nExitCode); BOOL __stdcall PeekMessageA(LPMSG lpMsg,HWND hWnd,UINT wMsgFilterMin,UINT wMsgFilterMax,UINT wRemoveMsg); int __stdcall MessageBoxA(HWND hWnd,LPCSTR lpText,LPCSTR lpCaption,UINT uType); int __stdcall LoadStringA(HINSTANCE hInstance,UINT uID,LPSTR lpBuffer,int cchBufferMax); HMENU __stdcall LoadMenuA(HINSTANCE hInstance,LPCSTR lpMenuName); HICON __stdcall LoadIconA(HINSTANCE hInstance,LPCSTR lpIconName); HCURSOR __stdcall LoadCursorA(HINSTANCE hInstance,LPCSTR lpCursorName); BOOL __stdcall IsIconic(HWND hWnd); BOOL __stdcall IntersectRect(LPRECT lprcDst,RECT *lprcSrc1,RECT *lprcSrc2); BOOL __stdcall InsertMenuA(HMENU hMenu,UINT uPosition,UINT uFlags,UINT_PTR uIDNewItem,LPCSTR lpNewItem); BOOL __stdcall GetWindowRect(HWND hWnd,LPRECT lpRect); HMENU __stdcall GetSystemMenu(HWND hWnd,BOOL bRevert); HMENU __stdcall GetSubMenu(HMENU hMenu,int nPos); int __stdcall GetMenuStringA(HMENU hMenu,UINT uIDItem,LPSTR lpString,int cchMax,UINT flags); UINT __stdcall GetMenuItemID(HMENU hMenu,int nPos); int __stdcall GetMenuItemCount(HMENU hMenu); BOOL __stdcall GetKeyboardState(PBYTE lpKeyState); UINT __stdcall GetDlgItemTextA(HWND hDlg,int nIDDlgItem,LPSTR lpString,int cchMax); HWND __stdcall GetDesktopWindow(void); HDC __stdcall GetDC(HWND hWnd); BOOL __stdcall GetCursorPos(LPPOINT lpPoint); BOOL __stdcall GetClipCursor(LPRECT lpRect); SHORT __stdcall GetAsyncKeyState(int vKey); HWND __stdcall GetActiveWindow(void); HWND __stdcall FindWindowA(LPCSTR lpClassName,LPCSTR lpWindowName); UINT __stdcall GetMenuState(HMENU hMenu,UINT uId,UINT uFlags); int __stdcall FillRect(HDC hDC,RECT *lprc,HBRUSH hbr); BOOL __stdcall EnumThreadWindows(DWORD dwThreadId,WNDENUMPROC lpfn,LPARAM lParam); BOOL __stdcall EndPaint(HWND hWnd,PAINTSTRUCT *lpPaint); int __stdcall GetSystemMetrics(int nIndex); BOOL __stdcall EndDialog(HWND hDlg,INT_PTR nResult); BOOL __stdcall EnableMenuItem(HMENU hMenu,UINT uIDEnableItem,UINT uEnable); BOOL __stdcall DrawMenuBar(HWND hWnd); BOOL __stdcall InvalidateRect(HWND hWnd,RECT *lpRect,BOOL bErase); LRESULT __stdcall DispatchMessageA(MSG *lpMsg); INT_PTR __stdcall DialogBoxParamA(HINSTANCE hInstance,LPCSTR lpTemplateName,HWND hWndParent,DLGPROC lpDialogFunc,LPARAM dwInitParam); BOOL __stdcall DestroyWindow(HWND hWnd); BOOL __stdcall DestroyMenu(HMENU hMenu); BOOL __stdcall DestroyCursor(HCURSOR hCursor); BOOL __stdcall DeleteMenu(HMENU hMenu,UINT uPosition,UINT uFlags); LRESULT __stdcall DefWindowProcA(HWND hWnd,UINT Msg,WPARAM wParam,LPARAM lParam); BOOL __stdcall PostMessageA(HWND hWnd,UINT Msg,WPARAM wParam,LPARAM lParam); HWND __stdcall CreateWindowExA(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam); BOOL __stdcall ClipCursor(RECT *lpRect); DWORD __stdcall CheckMenuItem(HMENU hMenu,UINT uIDCheckItem,UINT uCheck); int __stdcall ReleaseDC(HWND hWnd,HDC hDC); HDC __stdcall BeginPaint(HWND hWnd,LPPAINTSTRUCT lpPaint); BOOL __stdcall ClientToScreen(HWND hWnd,LPPOINT lpPoint); BOOL __stdcall AppendMenuA(HMENU hMenu,UINT uFlags,UINT_PTR uIDNewItem,LPCSTR lpNewItem); HCURSOR __stdcall SetCursor(HCURSOR hCursor); HMENU __stdcall CreateMenu(void); BOOL __stdcall UpdateWindow(HWND hWnd); BOOL __stdcall UnregisterClassA(LPCSTR lpClassName,HINSTANCE hInstance); BOOL __stdcall TranslateMessage(MSG *lpMsg); BOOL __stdcall ShowWindow(HWND hWnd,int nCmdShow); int __stdcall ShowCursor(BOOL bShow); BOOL __stdcall SetWindowPos(HWND hWnd,HWND hWndInsertAfter,int X,int Y,int cx,int cy,UINT uFlags); BOOL __stdcall SetRect(LPRECT lprc,int xLeft,int yTop,int xRight,int yBottom); BOOL __stdcall SetMenu(HWND hWnd,HMENU hMenu); BOOL __stdcall SetForegroundWindow(HWND hWnd); BOOL __stdcall SetDlgItemTextA(HWND hDlg,int nIDDlgItem,LPCSTR lpString); MMRESULT __stdcall waveOutWrite(HWAVEOUT hwo,LPWAVEHDR pwh,UINT cbwh); MMRESULT __stdcall waveOutUnprepareHeader(HWAVEOUT hwo,LPWAVEHDR pwh,UINT cbwh); MMRESULT __stdcall waveOutRestart(HWAVEOUT hwo); MMRESULT __stdcall waveOutPrepareHeader(HWAVEOUT hwo,LPWAVEHDR pwh,UINT cbwh); MMRESULT __stdcall waveOutPause(HWAVEOUT hwo); MMRESULT __stdcall waveOutOpen(LPHWAVEOUT phwo,UINT uDeviceID,LPCWAVEFORMATEX pwfx,DWORD_PTR dwCallback,DWORD_PTR dwInstance,DWORD fdwOpen); UINT __stdcall waveOutGetNumDevs(void); MMRESULT __stdcall waveOutGetErrorTextA(MMRESULT mmrError,LPSTR pszText,UINT cchText); MMRESULT __stdcall waveOutClose(HWAVEOUT hwo); DWORD __stdcall timeGetTime(void); MMRESULT __stdcall timeGetDevCaps(LPTIMECAPS ptc,UINT cbtc); MMRESULT __stdcall timeEndPeriod(UINT uPeriod); MMRESULT __stdcall waveOutReset(HWAVEOUT hwo); MMRESULT __stdcall timeBeginPeriod(UINT uPeriod); UINT __stdcall midiOutGetNumDevs(void); MMRESULT __stdcall midiOutGetDevCapsA(UINT_PTR uDeviceID,LPMIDIOUTCAPSA pmoc,UINT cbmoc); MCIERROR __stdcall mciSendCommandA(MCIDEVICEID mciId,UINT uMsg,DWORD_PTR dwParam1,DWORD_PTR dwParam2);