/* This file has been generated by the Hex-Rays decompiler. Copyright (c) 2007-2017 Hex-Rays Detected compiler: Visual C++ */ #include #include //------------------------------------------------------------------------- // Function declarations #define __thiscall __cdecl // Test compile in C mode int __cdecl sub_6FAD1000(int a1, int a2); int __thiscall sub_6FAD1080(_DWORD *this); signed int __cdecl sub_6FAD1170(int a1, int a2, int a3); signed int __thiscall sub_6FAD13E0(_DWORD *this, int a2); BOOL __thiscall sub_6FAD1420(_DWORD *this); signed int __cdecl sub_6FAD1460(int a1, int a2, signed int a3); int __cdecl sub_6FAD14C0(int a1, int a2, int a3); int __cdecl sub_6FAD1500(_BYTE *a1); unsigned __int8 *__stdcall sub_6FAD1520(unsigned __int8 *a1, int a2); int __stdcall sub_6FAD1590(int a1, unsigned __int8 *a2, int a3); _DWORD *__thiscall sub_6FAD15C0(_DWORD *this, int a2, int a3); _DWORD *__thiscall sub_6FAD1640(_DWORD *this); _DWORD *__thiscall sub_6FAD1660(_DWORD *this); _DWORD *__thiscall sub_6FAD1680(_DWORD *this); _DWORD *__thiscall sub_6FAD16A0(_DWORD *this); // int __userpurge sub_6FAD16C0@(int a1@, int a2@, int a3, unsigned __int8 *a4); int __thiscall sub_6FAD1720(_DWORD *this, _DWORD *a2, int a3, int a4); int __thiscall sub_6FAD1900(_DWORD *this, _DWORD *a2, int a3, int a4); int __thiscall sub_6FAD1950(_DWORD **this, int a2, int a3, int a4, int a5); void *sub_6FAD1C70(); int sub_6FAD1C80(int a1, int a2, ...); int sub_6FAD1FC0(int a1, ...); int __stdcall sub_6FAD20D0(_DWORD, _DWORD, _DWORD); // weak int *__thiscall sub_6FAD2300(int *this, int a2, unsigned int a3); int sub_6FAD25A0(); int __thiscall sub_6FAD2740(int *this, int a2, _DWORD *a3); // void __usercall __noreturn sub_6FAD28A0(int a1@); int sub_6FAD2970(); // int __usercall sub_6FAD2BBE@(int a1@, int a2@, int a3@, int ecx0@, char a4); int __cdecl sub_6FAD2BCF(void *a1); int __cdecl sub_6FAD2BFF(int a1); // signed int __userpurge sub_6FAD2C16@(int a1@, int a2@, int a3@, int a4, int a5, int a6); // signed int __usercall sub_6FAD2C69@(int a1@, int a2@, int a3, int a4); // BOOL __usercall sub_6FAD2D73@(int a1@, int a2@, int a3@, int a4); int __cdecl sub_6FAD2E05(int, int, int); // weak signed int __stdcall sub_6FAD2F0B(int a1, int a2, int a3); int __cdecl sub_6FAD2F59(_DWORD); // weak int __cdecl sub_6FAD2F60(int a1); // int __usercall sub_6FAD2F88@(int a1@, int a2@, int a3@, char a4); _DWORD *__fastcall sub_6FAD3081(_DWORD *a1, int a2, int a3); _DWORD *__thiscall sub_6FAD309C(_DWORD *this); _DWORD *__fastcall sub_6FAD30B4(_DWORD *a1, int a2, int a3); _DWORD *__thiscall sub_6FAD30CF(_DWORD *this); _DWORD *__fastcall sub_6FAD30E7(_DWORD *a1, int a2, int a3); int __thiscall sub_6FAD3113(_DWORD *this); void __noreturn sub_6FAD3151(); void __noreturn sub_6FAD316E(); // weak int __thiscall sub_6FAD3198(void *this); void sub_6FAD31E5(); // int __usercall sub_6FAD3230@(int a1@); int sub_6FAD323C(); void *sub_6FAD3248(); _DWORD *sub_6FAD324E(); int __cdecl sub_6FAD326B(int a1, unsigned int a2); char sub_6FAD32AF(); char sub_6FAD32E1(); // bool __usercall sub_6FAD330C@(int a1@, int a2@); char sub_6FAD331A(); char sub_6FAD3339(); int __cdecl sub_6FAD3346(int a1, int a2, int a3, void (__stdcall *a4)(int, int, int), int a5); int sub_6FAD337A(); char sub_6FAD339D(); char __cdecl sub_6FAD33AA(int a1); // char __usercall sub_6FAD33E3@(int a1@, int a2@, int a3); bool __cdecl sub_6FAD3488(int a1); signed __int32 __cdecl sub_6FAD351C(char a1); char __cdecl sub_6FAD3539(int a1, char a2); void *sub_6FAD3561(); // void __usercall sub_6FAD3567(int a1@, int a2@, int a3@, unsigned int a4); void sub_6FAD3681(); // int __usercall sub_6FAD3689@(int a1@); // int __usercall sub_6FAD36B5@(int a1@); int sub_6FAD374B(); int __thiscall nullsub_1(_DWORD, _DWORD, _DWORD, _DWORD); // weak int sub_6FAD3792(); signed int sub_6FAD3929(); BOOL sub_6FAD392D(); int __thiscall sub_6FAD3939(void *this, int a2, int a3, int a4); int __cdecl sub_6FAD393F(_DWORD, _DWORD, _DWORD); // weak int sub_6FAD3945(); int __fastcall sub_6FAD394B(int a1, int a2, int a3); int __cdecl sub_6FAD3951(int a1); int __fastcall sub_6FAD3957(int a1, int a2, int a3); int __cdecl sub_6FAD395D(_DWORD); // weak int sub_6FAD3963(); int __thiscall sub_6FAD3969(void *this, int a2, int a3); int __thiscall sub_6FAD396F(void *this, int a2, int a3); int __cdecl sub_6FAD3975(_DWORD, _DWORD); // weak // int __usercall sub_6FAD397B@(int a1@); int __cdecl sub_6FAD3987(int a1); int __cdecl sub_6FAD398D(_DWORD); // weak int __cdecl sub_6FAD3993(int a1); int __cdecl sub_6FAD3999(_DWORD); // weak int sub_6FAD399F(); int sub_6FAD39AB(); char sub_6FAD39B1(); int sub_6FAD39B4(); int sub_6FAD39B7(); // void __usercall sub_6FAD39C0(int a1@, int a2@); void sub_6FAD39CB(); int __thiscall SEH_6FAD1CB0(void *this, int a2, int a3, int a4); //------------------------------------------------------------------------- // Data declarations _UNKNOWN loc_6FAD22B0; // weak char algn_6FAD2434[12] = { 'Ì', 'Ì', 'Ì', 'Ì', 'Ì', 'Ì', 'Ì', 'Ì', 'Ì', 'Ì', 'Ì', 'Ì' }; // weak char algn_6FAD28AB[5] = { 'Ì', 'Ì', 'Ì', 'Ì', 'Ì' }; // weak _UNKNOWN loc_6FAD318B; // weak _UNKNOWN unk_6FAD40F8; // weak _UNKNOWN unk_6FAD40FC; // weak char byte_6FAD4120[] = { '\0' }; // weak int (__thiscall *off_6FAD4224[1026])(_DWORD, int, int, unsigned __int8 *) = { &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5201, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5202, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5203, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1204, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1D05, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x906, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x907, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5208, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5209, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x520A, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x520B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x120C, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1D0D, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x90E, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x90F, &sub_6FAD1A50, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5210, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5211, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5212, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5213, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1214, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1D15, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x916, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x917, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5218, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5219, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x521A, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x521B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x121C, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1D1D, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x91E, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x91F, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5220, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5221, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5222, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5223, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1224, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1D25, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x926, &sub_6FAD1900, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x927, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5228, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5229, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x522A, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x522B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x122C, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1D2D, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x92E, &sub_6FAD1900, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x92F, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5230, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5231, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5232, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5233, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1234, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1D35, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x936, &sub_6FAD1900, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x937, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5238, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5239, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x523A, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x523B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x123C, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1D3D, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x93E, &sub_6FAD1900, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x93F, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x940, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x941, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x942, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x943, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x944, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x945, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x946, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x947, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x948, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x949, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x94A, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x94B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x94C, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x94D, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x94E, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x94F, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x950, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x951, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x952, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x953, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x954, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x955, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x956, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x957, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x958, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x959, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x95A, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x95B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x95C, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x95D, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x95E, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x95F, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x960, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x961, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5262, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5263, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x964, &sub_6FAD1900, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x965, &sub_6FAD1900, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x966, &sub_6FAD1AA0, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x967, &sub_6FAD1AD0, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1D68, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x6669, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x126A, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5B6B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x96C, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x96D, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x96E, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x96F, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21270, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21271, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21272, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21273, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21274, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21275, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21276, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21277, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21278, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21279, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x2127A, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x2127B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x2127C, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x2127D, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x2127E, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x2127F, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5B80, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x6681, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1282, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5B83, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5284, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5285, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5286, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5287, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5288, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5289, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x528A, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x528B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x528C, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x528D, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x528E, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x528F, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x990, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x991, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x992, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x993, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x994, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x995, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x996, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x997, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x998, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x999, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x102F9A, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x99B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x99C, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x99D, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x99E, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x99F, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x201DA0, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x201DA1, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x201DA2, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x201DA3, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9A4, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9A5, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9A6, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9A7, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12A8, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1DA9, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9AA, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9AB, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9AC, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9AD, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9AE, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9AF, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12B0, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12B1, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12B2, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12B3, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12B4, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12B5, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12B6, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12B7, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1DB8, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1DB9, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1DBA, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1DBB, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1DBC, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1DBD, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1DBE, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1DBF, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5BC0, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5BC1, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1BC2, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9C3, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52C4, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52C5, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5BC6, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x66C7, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x24C8, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9C9, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x101BCA, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1009CB, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1009CC, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1012CD, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1009CE, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1009CF, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52D0, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52D1, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52D2, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52D3, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12D4, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12D5, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9D6, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9D7, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52D8, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52D9, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52DA, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52DB, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52DC, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52DD, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52DE, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52DF, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x4212E0, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x4212E1, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x4212E2, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x212E3, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12E4, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12E5, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12E6, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12E7, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21DE8, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21DE9, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x102FEA, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x212EB, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9EC, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9ED, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9EE, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9EF, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9F0, &sub_6FAD1900, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9F1, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9F2, &sub_6FAD1900, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9F3, &sub_6FAD1900, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9F4, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9F5, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0xF6, &sub_6FAD1B00, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0xF7, &sub_6FAD1B60, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9F8, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9F9, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9FA, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9FB, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9FC, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9FD, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52FE, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0xFF, &sub_6FAD1BC0, NULL, NULL, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5200, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5201, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5202, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5203, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x904, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x905, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1206, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x907, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1208, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1209, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x90A, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x120B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x90C, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x90D, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x90E, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x90F, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x910, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x911, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x912, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x913, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x914, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x915, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x916, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x917, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x918, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x919, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x91A, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x91B, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x91C, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x91D, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x91E, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x91F, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5220, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5221, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5222, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5223, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x924, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x925, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x926, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x927, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x928, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x929, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x92A, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x92B, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x92C, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x92D, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x92E, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x92F, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1230, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1231, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1232, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1233, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1234, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1235, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x936, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x937, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x938, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x939, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x93A, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x93B, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x93C, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x93D, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x93E, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x93F, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5240, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5241, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5242, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5243, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5244, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5245, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5246, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5247, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5248, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5249, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x524A, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x524B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x524C, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x524D, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x524E, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x524F, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x950, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x951, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x952, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x953, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x954, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x955, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x956, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x957, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x958, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x959, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x95A, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x95B, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x95C, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x95D, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x95E, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x95F, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5260, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x961, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5262, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5263, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5264, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5265, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5266, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5267, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5268, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5269, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x526A, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x526B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x96C, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x96D, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x526E, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x526F, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x970, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5B71, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5B72, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5B73, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5274, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5275, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5276, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x1277, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x978, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x979, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x97A, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x97B, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x97C, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x97D, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x527E, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x527F, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D80, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D81, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D82, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D83, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D84, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D85, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D86, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D87, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D88, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D89, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D8A, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D8B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D8C, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D8D, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D8E, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x21D8F, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5290, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5291, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5292, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5293, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5294, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5295, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5296, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5297, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5298, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5299, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x529A, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x529B, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x529C, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x529D, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x529E, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x529F, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12A0, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12A1, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12A2, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52A3, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5BA4, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52A5, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9A6, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9A7, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12A8, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12A9, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12AA, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52AB, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5BAC, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52AD, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52AE, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52AF, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52B0, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52B1, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52B2, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52B3, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52B4, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52B5, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52B6, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52B7, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9B8, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9B9, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x5BBA, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52BB, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52BC, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52BD, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52BE, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52BF, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52C0, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52C1, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9C2, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9C3, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9C4, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9C5, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9C6, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52C7, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12C8, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12C9, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12CA, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12CB, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12CC, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12CD, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12CE, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x12CF, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9D0, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52D1, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52D2, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52D3, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9D4, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52D5, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9D6, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9D7, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52D8, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52D9, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9DA, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52DB, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52DC, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52DD, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9DE, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52DF, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9E0, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52E1, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52E2, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9E3, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9E4, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52E5, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9E6, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9E7, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52E8, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52E9, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9EA, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52EB, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52EC, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52ED, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9EE, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52EF, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9F0, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52F1, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52F2, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52F3, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9F4, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52F5, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9F6, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9F7, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52F8, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52F9, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52FA, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9FB, &sub_6FAD1A30, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52FC, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52FD, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x52FE, &sub_6FAD1720, (int (__thiscall *)(_DWORD, int, int, unsigned __int8 *))0x9FF, &sub_6FAD1A30, NULL }; // idb _UNKNOWN unk_6FAD5234; // weak _UNKNOWN unk_6FAD5240; // weak _UNKNOWN std::bad_alloc::`vftable'; // weak _UNKNOWN std::bad_array_new_length::`vftable'; // weak _UNKNOWN unk_6FAD58D8; // weak _UNKNOWN unk_6FAD58E0; // weak int dword_6FAD70B0 = 957004427; // weak int dword_6FAD70B4 = 3337962868; // weak int dword_6FAD70C0 = 47; // weak int dword_6FAD70C4 = 1; // weak int dword_6FAD7148 = 1; // weak int dword_6FAD7150 = 0; // weak int dword_6FAD7154 = 0; // weak int dword_6FAD715C = 0; // weak int dword_6FAD7160 = 0; // weak int dword_6FAD7164 = 0; // weak int dword_6FAD71A0 = 0; // weak __int16 word_6FAD722C = 0; // weak __int16 word_6FAD7230 = 0; // weak __int16 word_6FAD7234 = 0; // weak __int16 word_6FAD7238 = 0; // weak int dword_6FAD723C = 0; // weak int dword_6FAD7240 = 0; // weak int dword_6FAD7244 = 0; // weak int dword_6FAD7248 = 0; // weak int dword_6FAD724C = 0; // weak int dword_6FAD7250 = 0; // weak int dword_6FAD7254 = 0; // weak int dword_6FAD7258 = 0; // weak __int16 word_6FAD725C = 0; // weak int dword_6FAD7260 = 0; // weak int dword_6FAD7264 = 0; // weak __int16 word_6FAD7268 = 0; // weak _UNKNOWN unk_6FAD7470; // weak _UNKNOWN unk_6FAD7478; // weak int dword_6FAD7480 = 2; // weak _UNKNOWN unk_6FAD7484; // weak char byte_6FAD7488 = '\x01'; // weak char byte_6FAD7489 = '\x01'; // weak _DWORD dword_6FAD748C[3] = { 999117892, 999117892, 999117892 }; // idb _DWORD dword_6FAD7498[3] = { 999117892, 999117892, 999117892 }; // idb int dword_6FAD74A4 = 0; // weak int dword_6FAD74A8 = 5; // weak int dword_6FAD74AC = 2; // weak _UNKNOWN unk_6FAD7DB8; // weak char aDKernfiestaZon_0[32] = "D:\\KeRnFiesta\\Zone06\\..\\Key.sze"; // weak _UNKNOWN unk_6FAD85D8; // weak _UNKNOWN unk_6FAE3F02; // weak _UNKNOWN unk_6FAE758A; // weak _UNKNOWN unk_6FB4F823; // weak _UNKNOWN unk_6FB56DFE; // weak _UNKNOWN unk_6FB59ECA; // weak _UNKNOWN unk_6FB5EB5A; // weak _UNKNOWN unk_6FB7463F; // weak _UNKNOWN unk_6FBF77BB; // weak _UNKNOWN unk_6FC05005; // weak _UNKNOWN unk_6FC9A928; // weak _UNKNOWN unk_6FC9C99A; // weak _UNKNOWN unk_6FCC3A8E; // weak _UNKNOWN unk_6FCF257A; // weak _UNKNOWN unk_6FD26910; // weak _UNKNOWN unk_6FD42672; // weak _UNKNOWN unk_6FD467B4; // weak _UNKNOWN unk_6FD4D2B4; // weak _UNKNOWN unk_6FD64C38; // weak _UNKNOWN unk_6FD6B9D1; // weak _UNKNOWN unk_6FD6E4BE; // weak _UNKNOWN unk_6FD751A8; // weak _UNKNOWN unk_6FD8534F; // weak _UNKNOWN unk_6FD8669E; // weak _UNKNOWN unk_6FD8BCAB; // weak _UNKNOWN unk_6FD9DB79; // weak _UNKNOWN unk_6FDB1785; // weak _UNKNOWN unk_6FDBEA4A; // weak _UNKNOWN unk_6FE40449; // weak _UNKNOWN unk_6FE64E56; // weak _UNKNOWN unk_6FE6B962; // weak _UNKNOWN unk_6FE7DED9; // weak _UNKNOWN unk_6FEA65B1; // weak _UNKNOWN unk_6FEDE026; // weak _UNKNOWN unk_6FEFD900; // weak _UNKNOWN unk_6FF01202; // weak _UNKNOWN unk_6FF044AC; // weak _UNKNOWN unk_6FF2EDAA; // weak _UNKNOWN unk_6FF30AD7; // weak _UNKNOWN unk_6FF38687; // weak _UNKNOWN unk_6FF40497; // weak //----- (6FAD1000) -------------------------------------------------------- int __cdecl sub_6FAD1000(int a1, int a2) { _DWORD *v2; // ecx int savedregs; // [esp+4h] [ebp+0h] v2[1] = a1; v2[2] = a2; v2[3] = 0; return ((int (__stdcall *)(_DWORD *, int))unk_6FF01202)(v2, savedregs); } //----- (6FAD1080) -------------------------------------------------------- int __thiscall sub_6FAD1080(_DWORD *this) { int result; // eax _DWORD *v2; // [esp+0h] [ebp-8h] int v3; // [esp+4h] [ebp-4h] v2 = this; result = (int)this; if ( this[3] && this[1] && this[2] ) { v3 = 0; result = ((int (__stdcall *)(_DWORD, _DWORD, _DWORD, _DWORD))unk_6FF30AD7)(*this, *this, this[1], this[2]); if ( result ) result = ((int (__stdcall *)(_DWORD, _DWORD, _DWORD, _DWORD, int *))unk_6FDB1785)(v2[1], v2[1], v2[2], v2[3], &v3); } return result; } //----- (6FAD1170) -------------------------------------------------------- signed int __cdecl sub_6FAD1170(int a1, int a2, int a3) { signed int result; // eax int v4; // [esp+18h] [ebp-3Ch] unsigned __int8 *v5; // [esp+1Ch] [ebp-38h] unsigned __int8 v6; // [esp+23h] [ebp-31h] int v7; // [esp+24h] [ebp-30h] int v8; // [esp+28h] [ebp-2Ch] char v9; // [esp+2Ch] [ebp-28h] unsigned __int8 *v10; // [esp+3Ch] [ebp-18h] char v11; // [esp+40h] [ebp-14h] unsigned __int8 *v12; // [esp+50h] [ebp-4h] v10 = (unsigned __int8 *)a1; v7 = 0; do { if ( v7 >= 5 ) break; v5 = v10; v6 = *v10; v10 = (unsigned __int8 *)sub_6FAD1590(0, v10, 0); v7 = (int)&v10[-a1]; if ( v6 == 233 || v6 == 224 || v6 == 194 || v6 == 195 || v6 == 255 && v5[1] == 37 ) break; } while ( v6 != 38 && v6 != 46 && v6 != 54 && v6 != 62 && v6 != 100 && v6 != 101 || v5[1] != 255 || v5[2] != 37 ); if ( v7 < 5 ) return 0; if ( v7 > 26 ) return 0; sub_6FAD1000(a2, 32); sub_6FAD1000(a1, v7); if ( sub_6FAD13E0(&v9, 64) ) { if ( sub_6FAD1420(&v11) ) { v12 = (unsigned __int8 *)a1; v8 = a2; v4 = 0; while ( v4 < v7 ) { v12 = (unsigned __int8 *)sub_6FAD1590(v8, v12, 0); v4 = (int)&v12[-a1]; v8 = (int)&v12[a2 - a1]; } if ( v4 == v7 ) { if ( sub_6FAD1460(v8, v7 + a1, 5) ) { *(_BYTE *)(a2 + 31) = v7; if ( sub_6FAD1460(a1, a3, v7) ) { sub_6FAD1080(&v11); sub_6FAD1080(&v9); result = 1; } else { sub_6FAD1080(&v11); sub_6FAD1080(&v9); result = 0; } } else { sub_6FAD1080(&v11); sub_6FAD1080(&v9); result = 0; } } else { sub_6FAD1080(&v11); sub_6FAD1080(&v9); result = 0; } } else { sub_6FAD1080(&v11); sub_6FAD1080(&v9); result = 0; } } else { sub_6FAD1080(&v11); sub_6FAD1080(&v9); result = 0; } return result; } //----- (6FAD13E0) -------------------------------------------------------- signed int __thiscall sub_6FAD13E0(_DWORD *this, int a2) { if ( !this[3] || !this[1] || !this[2] ) return 0; this[3] = a2; return 1; } //----- (6FAD1420) -------------------------------------------------------- BOOL __thiscall sub_6FAD1420(_DWORD *this) { return this[1] && this[2] && this[3]; } //----- (6FAD1460) -------------------------------------------------------- signed int __cdecl sub_6FAD1460(int a1, int a2, signed int a3) { _BYTE *v4; // [esp+8h] [ebp+8h] int i; // [esp+10h] [ebp+10h] if ( a3 < 5 ) return 0; v4 = (_BYTE *)sub_6FAD14C0(a1, a2, 0); for ( i = a3 - 5; i > 0; --i ) v4 = (_BYTE *)sub_6FAD1500(v4); return 1; } //----- (6FAD14C0) -------------------------------------------------------- int __cdecl sub_6FAD14C0(int a1, int a2, int a3) { if ( !a3 ) a3 = a1; *(_BYTE *)a1 = -23; *(_DWORD *)(a1 + 1) = a2 - (a3 + 5); return a1 + 5; } //----- (6FAD1500) -------------------------------------------------------- int __cdecl sub_6FAD1500(_BYTE *a1) { *a1 = -52; return (int)(a1 + 1); } //----- (6FAD1520) -------------------------------------------------------- unsigned __int8 *__stdcall sub_6FAD1520(unsigned __int8 *a1, int a2) { if ( !a1 ) return 0; if ( *a1 == 255 && a1[1] == 37 ) return **(unsigned __int8 ***)(a1 + 2); if ( *a1 == 233 ) { if ( a2 ) a1 += *(_DWORD *)(a1 + 1) + 5; } return a1; } //----- (6FAD1590) -------------------------------------------------------- int __stdcall sub_6FAD1590(int a1, unsigned __int8 *a2, int a3) { _DWORD *v3; // eax char v5; // [esp+0h] [ebp-58h] v3 = sub_6FAD15C0(&v5, a3, 0); return sub_6FAD16C0((int)v3, (int)&v5, a1, a2); } //----- (6FAD15C0) -------------------------------------------------------- _DWORD *__thiscall sub_6FAD15C0(_DWORD *this, int a2, int a3) { int v4; // [esp+0h] [ebp-Ch] int v5; // [esp+4h] [ebp-8h] _DWORD *v6; // [esp+8h] [ebp-4h] v6 = this; sub_6FAD1660(this); sub_6FAD16A0(v6); if ( a2 ) v5 = a2; else v5 = (int)(v6 + 5); v6[2] = v5; if ( a3 ) v4 = a3; else v4 = (int)(v6 + 4); v6[3] = v4; *(_DWORD *)v6[2] = 0; *(_DWORD *)v6[3] = 0; return v6; } //----- (6FAD1640) -------------------------------------------------------- _DWORD *__thiscall sub_6FAD1640(_DWORD *this) { _DWORD *result; // eax result = this; *this = 1; return result; } //----- (6FAD1660) -------------------------------------------------------- _DWORD *__thiscall sub_6FAD1660(_DWORD *this) { _DWORD *result; // eax result = this; *this = 0; return result; } //----- (6FAD1680) -------------------------------------------------------- _DWORD *__thiscall sub_6FAD1680(_DWORD *this) { _DWORD *result; // eax result = this; this[1] = 1; return result; } //----- (6FAD16A0) -------------------------------------------------------- _DWORD *__thiscall sub_6FAD16A0(_DWORD *this) { _DWORD *result; // eax result = this; this[1] = 0; return result; } //----- (6FAD16C0) -------------------------------------------------------- int __userpurge sub_6FAD16C0@(int a1@, int a2@, int a3, unsigned __int8 *a4) { if ( !a3 ) { a1 = a2 + 24; a3 = a2 + 24; } if ( a4 ) return off_6FAD4224[2 * *a4](a2, 8 * *a4 + 1873625632, a3, a4); ((void (__stdcall *)(int, signed int))unk_6FD6B9D1)(a1, 13); return 0; } //----- (6FAD1720) -------------------------------------------------------- int __thiscall sub_6FAD1720(_DWORD *this, _DWORD *a2, int a3, int a4) { int v5; // [esp+0h] [ebp-1Ch] int v6; // [esp+4h] [ebp-18h] int v7; // [esp+8h] [ebp-14h] _DWORD **v8; // [esp+Ch] [ebp-10h] char v9; // [esp+12h] [ebp-Ah] unsigned __int8 v10; // [esp+13h] [ebp-9h] int v11; // [esp+18h] [ebp-4h] v8 = (_DWORD **)this; if ( (*a2 >> 20) & 2 ) { if ( this[1] ) v7 = (*a2 >> 11) & 7; else v7 = (*a2 >> 8) & 7; v6 = v7; } else { if ( *this ) v5 = (*a2 >> 11) & 7; else v5 = (*a2 >> 8) & 7; v6 = v5; } v11 = v6; if ( (*a2 >> 14) & 7 ) { v10 = *(_BYTE *)(a4 + ((*a2 >> 14) & 7)); v9 = byte_6FAD4120[v10]; if ( v9 & 0x10 && (*(_BYTE *)(a4 + ((*a2 >> 14) & 7) + 1) & 7) == 5 ) { if ( v10 & 0xC0 ) { if ( (v10 & 0xC0) == 64 ) { v11 = v6 + 1; } else if ( (v10 & 0xC0) == 128 ) { v11 = v6 + 4; } } else { v11 = v6 + 4; } } v11 += v9 & 0xF; } sub_6FAD3945(); if ( *a2 << 12 >> 29 ) *v8[2] = sub_6FAD1950(v8, a3, a4, v6, *a2 << 12 >> 29); if ( (*a2 >> 20) & 4 ) *v8[3] = -*v8[3]; if ( (*a2 >> 20) & 1 ) *v8[2] = -1; return v11 + a4; } //----- (6FAD1900) -------------------------------------------------------- int __thiscall sub_6FAD1900(_DWORD *this, _DWORD *a2, int a3, int a4) { _DWORD *v4; // ST0C_4 v4 = this; sub_6FAD1720(this, a2, a3, a4); return ((int (__thiscall **)(_DWORD *, int, int, unsigned __int8 *))off_6FAD4224)[2 * *(unsigned __int8 *)(a4 + 1)]( v4, 8 * *(unsigned __int8 *)(a4 + 1) + 1873625632, a3 + 1, (unsigned __int8 *)(a4 + 1)); } //----- (6FAD1950) -------------------------------------------------------- int __thiscall sub_6FAD1950(_DWORD **this, int a2, int a3, int a4, int a5) { int v6; // [esp+4h] [ebp-1Ch] char *v7; // [esp+Ch] [ebp-14h] int v8; // [esp+10h] [ebp-10h] int v9; // [esp+14h] [ebp-Ch] int v10; // [esp+18h] [ebp-8h] v8 = a4 - a5; v7 = (char *)(a5 + a2); v9 = 0; v6 = a4 - a5; if ( a4 - a5 == 1 ) { v9 = *v7; *this[3] = 3; } else if ( v6 == 2 ) { v9 = *(signed __int16 *)v7; *this[3] = 2; } else if ( v6 == 4 ) { v9 = *(_DWORD *)v7; *this[3] = 0; } v10 = v9 - (a2 - a3); switch ( v8 ) { case 1: *v7 = v10; break; case 2: *(_WORD *)v7 = v10; break; case 4: *(_DWORD *)v7 = v10; break; } return v9 + a4 + a3; } //----- (6FAD1C70) -------------------------------------------------------- void *sub_6FAD1C70() { return &unk_6FAD7DB8; } //----- (6FAD1C80) -------------------------------------------------------- int sub_6FAD1C80(int a1, int a2, ...) { _DWORD *v2; // eax int savedregs; // [esp+0h] [ebp+0h] va_list va; // [esp+10h] [ebp+10h] va_start(va, a2); v2 = sub_6FAD1C70(); return ((int (__stdcall *)(_DWORD, _DWORD, int, int, _DWORD, char *, int))unk_6FAE758A)( *v2, v2[1], a1, a2, 0, va, savedregs); } //----- (6FAD1CB0) -------------------------------------------------------- #error "6FAD1CEA: call analysis failed (funcsize=21)" //----- (6FAD1FC0) -------------------------------------------------------- int sub_6FAD1FC0(int a1, ...) { _DWORD *v1; // eax int savedregs; // [esp+0h] [ebp+0h] va_list va; // [esp+Ch] [ebp+Ch] va_start(va, a1); v1 = sub_6FAD1C70(); return ((int (__stdcall *)(int, _DWORD, char *, signed int, int, _DWORD, char *, int))unk_6FEA65B1)( *v1 | 2, v1[1], aDKernfiestaZon_0, 2048, a1, 0, va, savedregs); } //----- (6FAD2300) -------------------------------------------------------- int *__thiscall sub_6FAD2300(int *this, int a2, unsigned int a3) { int *v3; // esi unsigned int v4; // ecx int *v5; // ebx unsigned int v7; // ebx unsigned int v8; // edx unsigned int v9; // ecx void *v10; // eax int v11; // eax int v12; // ecx unsigned int v13; // eax int v14; // eax unsigned int v15; // [esp+Ch] [ebp-Ch] unsigned int v16; // [esp+14h] [ebp-4h] v3 = this; v4 = this[5]; v15 = v4; if ( a3 > v4 ) { if ( a3 > 0x7FFFFFFF ) { LABEL_27: sub_6FAD25A0(); JUMPOUT(*(_DWORD *)algn_6FAD2434); } v7 = a3 | 0xF; if ( (a3 | 0xF) <= 0x7FFFFFFF ) { v8 = v4 >> 1; if ( v4 <= 0x7FFFFFFF - (v4 >> 1) ) { if ( v7 < v8 + v4 ) v7 = v8 + v4; } else { v7 = 0x7FFFFFFF; } } else { v7 = 0x7FFFFFFF; } v9 = (v7 + 1) | -__CFADD__(v7, 1); if ( v9 < 0x1000 ) { if ( v9 ) v13 = sub_6FAD2BCF((void *)((v7 + 1) | -__CFADD__(v7, 1))); else v13 = 0; } else { v10 = (void *)(v9 + 35); if ( v9 + 35 <= v9 ) v10 = (void *)-1; v11 = sub_6FAD2BCF(v10); v12 = v11; if ( !v11 ) { LABEL_26: ((void (__stdcall *)(int))unk_6FD8BCAB)(v12); goto LABEL_27; } v13 = (v11 + 35) & 0xFFFFFFE0; *(_DWORD *)(v13 - 4) = v12; } v16 = v13; v3[4] = a3; v3[5] = v7; sub_6FAD3945(); *(_BYTE *)(a3 + v16) = 0; if ( v15 < 0x10 ) { LABEL_25: *v3 = v16; return v3; } v14 = *v3; if ( v15 + 1 < 0x1000 ) { LABEL_24: sub_6FAD2BFF(v14); goto LABEL_25; } v12 = v15 + 36; if ( (unsigned int)(v14 - *(_DWORD *)(v14 - 4) - 4) <= 0x1F ) { v14 = *(_DWORD *)(v14 - 4); goto LABEL_24; } goto LABEL_26; } v5 = v3; if ( v4 >= 0x10 ) v5 = (int *)*v3; v3[4] = a3; sub_6FAD39B7(); *((_BYTE *)v5 + a3) = 0; return v3; } //----- (6FAD25A0) -------------------------------------------------------- int sub_6FAD25A0() { return ((int (__stdcall *)(const char *))unk_6FF2EDAA)("string too long"); } //----- (6FAD2740) -------------------------------------------------------- int __thiscall sub_6FAD2740(int *this, int a2, _DWORD *a3) { int *v3; // edi int v4; // ebx int v5; // eax unsigned int v6; // esi unsigned int v7; // ecx unsigned int v8; // edx unsigned int v9; // eax unsigned int v10; // ecx void *v11; // eax int v12; // eax int v13; // ecx unsigned int v14; // esi int v15; // ecx int v16; // ebx int v17; // ST08_4 int v18; // eax unsigned int v19; // ecx int v21; // [esp+Ch] [ebp-10h] int v22; // [esp+10h] [ebp-Ch] v3 = this; v4 = (a2 - *this) >> 2; v5 = (this[1] - *this) >> 2; if ( v5 == 0x3FFFFFFF ) sub_6FAD28A0(v4); v6 = v5 + 1; v22 = v5 + 1; v7 = (this[2] - *this) >> 2; v8 = v7 >> 1; if ( v7 <= 0x3FFFFFFF - (v7 >> 1) ) { v9 = v8 + v7; if ( v8 + v7 < v6 ) v9 = v6; } else { v9 = v5 + 1; } v10 = 4 * v9; v21 = 4 * v9; if ( v9 <= 0x3FFFFFFF ) { if ( v10 < 0x1000 ) { if ( v10 ) v14 = sub_6FAD2BCF((void *)(4 * v9)); else v14 = 0; goto LABEL_16; } } else { v10 = -1; } v11 = (void *)(v10 + 35); if ( v10 + 35 <= v10 ) v11 = (void *)-1; v12 = sub_6FAD2BCF(v11); if ( !v12 ) return ((int (__thiscall *)(int))unk_6FD9DB79)(v13); v14 = (v12 + 35) & 0xFFFFFFE0; *(_DWORD *)(v14 - 4) = v12; LABEL_16: *(_DWORD *)(4 * v4 + v14) = *a3; v15 = *v3; if ( a2 == v3[1] ) { sub_6FAD39B7(); v16 = 4 * v4; } else { sub_6FAD39B7(); v17 = v3[1] - a2; v16 = 4 * v4; sub_6FAD39B7(); } v18 = *v3; if ( !*v3 ) goto LABEL_24; v19 = (v3[2] - v18) & 0xFFFFFFFC; if ( v19 < 0x1000 ) { LABEL_23: sub_6FAD2BFF(v18); LABEL_24: *v3 = v14; v3[1] = v14 + 4 * v22; v3[2] = v14 + v21; return v16 + *v3; } v13 = v19 + 35; if ( (unsigned int)(v18 - *(_DWORD *)(v18 - 4) - 4) <= 0x1F ) { v18 = *(_DWORD *)(v18 - 4); goto LABEL_23; } return ((int (__thiscall *)(int))unk_6FD9DB79)(v13); } //----- (6FAD28A0) -------------------------------------------------------- void __usercall __noreturn sub_6FAD28A0(int a1@) { ((void (__cdecl *)(int, const char *))unk_6FD26910)(a1, "vector too long"); JUMPOUT(*(_DWORD *)algn_6FAD28AB); } //----- (6FAD2970) -------------------------------------------------------- int sub_6FAD2970() { int result; // eax MEMORY[0x5A98E0]("Hook override success.\n(c) Saze - 2019-2020"); MEMORY[0x5AE560](); MEMORY[0x5AD970](); MEMORY[0x5AD910](); MEMORY[0x5AE4E0](); MEMORY[0x5ADCE0](); MEMORY[0x5B64E0](); MEMORY[0x5AD9A0](); MEMORY[0x5B0540](); MEMORY[0x5ADBD0](); MEMORY[0x5AE250](); MEMORY[0x5B6580](); MEMORY[0x5AEFF0](); MEMORY[0x5ADFA0](); MEMORY[0x5B67C0](); MEMORY[0x5B6640](); result = MEMORY[0x5B8C00](); MEMORY[0xDA50470] = 127; MEMORY[0xDA50474] = 33; return result; } //----- (6FAD2BBE) -------------------------------------------------------- int __usercall sub_6FAD2BBE@(int a1@, int a2@, int a3@, int ecx0@, char a4) { int result; // eax if ( ecx0 != dword_6FAD70B4 ) result = sub_6FAD2F88(a1, a2, a3, a4); return result; } // 6FAD70B4: using guessed type int dword_6FAD70B4; //----- (6FAD2BCF) -------------------------------------------------------- int __cdecl sub_6FAD2BCF(void *a1) { void *v1; // ecx int v2; // eax void *v3; // ST00_4 int result; // eax void *v5; // [esp-4h] [ebp-4h] int savedregs; // [esp+0h] [ebp+0h] int savedregsa; // [esp+0h] [ebp+0h] while ( 1 ) { result = sub_6FAD396F(v1, (int)a1, savedregs); if ( result ) break; v2 = sub_6FAD3969(v5, (int)a1, savedregsa); v1 = v3; if ( !v2 ) { JUMPOUT(a1, -1, sub_6FAD316E); sub_6FAD3151(); } } return result; } // 6FAD316E: using guessed type void __noreturn sub_6FAD316E(); //----- (6FAD2BFF) -------------------------------------------------------- int __cdecl sub_6FAD2BFF(int a1) { return sub_6FAD2F59(a1); } // 6FAD2F59: using guessed type int __cdecl sub_6FAD2F59(_DWORD); //----- (6FAD2C16) -------------------------------------------------------- signed int __userpurge sub_6FAD2C16@(int a1@, int a2@, int a3@, int a4, int a5, int a6) { signed int result; // eax switch ( a5 ) { case 0: return sub_6FAD2D73(a1, a2, a3, a6 != 0); case 1: return sub_6FAD2C69(a2, a3, a4, a6); case 2: LOBYTE(result) = sub_6FAD331A(); break; case 3: LOBYTE(result) = sub_6FAD3339(); break; default: return 1; } return (unsigned __int8)result; } //----- (6FAD2C69) -------------------------------------------------------- signed int __usercall sub_6FAD2C69@(int a1@, int a2@, int a3, int a4) { int v4; // ebp char v6; // bl void (__stdcall **v7)(int, int, int); // eax void (__stdcall **v8)(int, int, int); // esi void (__stdcall *v9)(int, int, int); // esi int v10; // ST00_4 int v11; // ST04_4 int v12; // ST08_4 char v13; // [esp+13h] [ebp-1Dh] if ( !sub_6FAD33AA(0) ) return 0; v13 = sub_6FAD32AF(); v6 = 1; if ( dword_6FAD7480 ) { sub_6FAD3567(1, a1, a2, 7u); __debugbreak(); JUMPOUT(*(_DWORD *)sub_6FAD2D73); } dword_6FAD7480 = 1; if ( sub_6FAD330C(1, a1) ) { sub_6FAD3689(a1); sub_6FAD3230(v4); sub_6FAD324E(); if ( !sub_6FAD397B(v4) ) { if ( sub_6FAD32E1() ) { sub_6FAD3975(&unk_6FAD40F8, &unk_6FAD40FC); dword_6FAD7480 = 2; v6 = 0; } } } sub_6FAD351C(v13); if ( v6 ) return 0; v7 = (void (__stdcall **)(int, int, int))sub_6FAD3561(); v8 = v7; if ( *v7 ) { if ( sub_6FAD3488((int)v7) ) { v9 = *v8; nullsub_1(v9, a3, 2, a4); v9(v10, v11, v12); } } ++dword_6FAD7148; return 1; } // 6FAD376E: using guessed type int __thiscall nullsub_1(_DWORD, _DWORD, _DWORD, _DWORD); // 6FAD3975: using guessed type int __cdecl sub_6FAD3975(_DWORD, _DWORD); // 6FAD7148: using guessed type int dword_6FAD7148; // 6FAD7480: using guessed type int dword_6FAD7480; //----- (6FAD2D73) -------------------------------------------------------- BOOL __usercall sub_6FAD2D73@(int a1@, int a2@, int a3@, int a4) { char v5; // [esp+10h] [ebp-1Ch] if ( dword_6FAD7148 <= 0 ) return 0; --dword_6FAD7148; v5 = sub_6FAD32AF(); if ( dword_6FAD7480 != 2 ) { sub_6FAD3567(a1, a2, a3, 7u); __debugbreak(); JUMPOUT(*(_DWORD *)sub_6FAD2E05); } sub_6FAD337A(); sub_6FAD323C(); sub_6FAD36B5(a2); dword_6FAD7480 = 0; sub_6FAD339D(); sub_6FAD351C(v5); return sub_6FAD3539(a4, 0) != 0; } // 6FAD2E05: using guessed type int __cdecl sub_6FAD2E05(int, int, int); // 6FAD7148: using guessed type int dword_6FAD7148; // 6FAD7480: using guessed type int dword_6FAD7480; //----- (6FAD2E05) -------------------------------------------------------- int __cdecl sub_6FAD2E05(int a1, int a2, int a3) { int v4; // ebx int v5; // esi int v6; // eax if ( !a2 && dword_6FAD7148 <= 0 ) return 0; if ( a2 != 1 && a2 != 2 ) { v4 = a3; LABEL_9: v6 = sub_6FAD20D0(a1, a2, v4); v5 = v6; if ( a2 == 1 && !v6 ) { sub_6FAD20D0(a1, 0, v4); sub_6FAD2C16(v4, 1, 0, a1, 0, v4); sub_6FAD2F0B(a1, 0, v4); } if ( !a2 || a2 == 3 ) { v5 = sub_6FAD2C16(v4, a2, v5, a1, a2, v4); if ( v5 ) v5 = sub_6FAD2F0B(a1, a2, v4); } return v5; } v4 = a3; v5 = sub_6FAD2F0B(a1, a2, a3); if ( v5 ) { v5 = sub_6FAD2C16(a3, a2, v5, a1, a2, a3); if ( v5 ) goto LABEL_9; } return v5; } // 6FAD20D0: using guessed type int __stdcall sub_6FAD20D0(_DWORD, _DWORD, _DWORD); // 6FAD2E05: using guessed type int __cdecl sub_6FAD2E05(int, int, int); // 6FAD7148: using guessed type int dword_6FAD7148; //----- (6FAD2F0B) -------------------------------------------------------- signed int __stdcall sub_6FAD2F0B(int a1, int a2, int a3) { return 1; } // 6FAD376E: using guessed type int __thiscall nullsub_1(_DWORD, _DWORD, _DWORD, _DWORD); //----- (6FAD2F60) -------------------------------------------------------- int __cdecl sub_6FAD2F60(int a1) { int v1; // ecx int savedregs; // [esp+0h] [ebp+0h] ((void (__stdcall *)(int, _DWORD, int))unk_6FC9C99A)(v1, 0, savedregs); return ((int (__stdcall *)(int))unk_6FB4F823)(a1); } //----- (6FAD2F88) -------------------------------------------------------- int __usercall sub_6FAD2F88@(int a1@, int a2@, int a3@, char a4) { int v4; // edx int v5; // ecx unsigned int v6; // et0 int vars0; // [esp+324h] [ebp+0h] int retaddr; // [esp+328h] [ebp+4h] if ( sub_6FAD39AB() ) __fastfail(2u); dword_6FAD7250 = 0; dword_6FAD724C = v5; dword_6FAD7248 = v4; dword_6FAD7244 = a1; dword_6FAD7240 = a3; dword_6FAD723C = a2; word_6FAD7268 = __SS__; word_6FAD725C = __CS__; word_6FAD7238 = __DS__; word_6FAD7234 = __ES__; word_6FAD7230 = __FS__; word_6FAD722C = __GS__; v6 = __readeflags(); dword_6FAD7260 = v6; dword_6FAD7254 = vars0; dword_6FAD7258 = retaddr; dword_6FAD7264 = (int)&a4; dword_6FAD71A0 = 65537; dword_6FAD715C = retaddr; dword_6FAD7150 = -1073740791; dword_6FAD7154 = 1; dword_6FAD7160 = 1; dword_6FAD7164 = 2; return sub_6FAD2F60((int)&unk_6FAD5234); } // 6FAD7150: using guessed type int dword_6FAD7150; // 6FAD7154: using guessed type int dword_6FAD7154; // 6FAD715C: using guessed type int dword_6FAD715C; // 6FAD7160: using guessed type int dword_6FAD7160; // 6FAD7164: using guessed type int dword_6FAD7164; // 6FAD71A0: using guessed type int dword_6FAD71A0; // 6FAD722C: using guessed type __int16 word_6FAD722C; // 6FAD7230: using guessed type __int16 word_6FAD7230; // 6FAD7234: using guessed type __int16 word_6FAD7234; // 6FAD7238: using guessed type __int16 word_6FAD7238; // 6FAD723C: using guessed type int dword_6FAD723C; // 6FAD7240: using guessed type int dword_6FAD7240; // 6FAD7244: using guessed type int dword_6FAD7244; // 6FAD7248: using guessed type int dword_6FAD7248; // 6FAD724C: using guessed type int dword_6FAD724C; // 6FAD7250: using guessed type int dword_6FAD7250; // 6FAD7254: using guessed type int dword_6FAD7254; // 6FAD7258: using guessed type int dword_6FAD7258; // 6FAD725C: using guessed type __int16 word_6FAD725C; // 6FAD7260: using guessed type int dword_6FAD7260; // 6FAD7264: using guessed type int dword_6FAD7264; // 6FAD7268: using guessed type __int16 word_6FAD7268; //----- (6FAD3081) -------------------------------------------------------- _DWORD *__fastcall sub_6FAD3081(_DWORD *a1, int a2, int a3) { _DWORD *v3; // esi v3 = a1; sub_6FAD30E7(a1, a2, a3); *v3 = &std::bad_alloc::`vftable'; return v3; } //----- (6FAD309C) -------------------------------------------------------- _DWORD *__thiscall sub_6FAD309C(_DWORD *this) { _DWORD *result; // eax this[1] = 0; result = this; this[2] = 0; this[1] = "bad allocation"; *this = &std::bad_alloc::`vftable'; return result; } //----- (6FAD30B4) -------------------------------------------------------- _DWORD *__fastcall sub_6FAD30B4(_DWORD *a1, int a2, int a3) { _DWORD *v3; // esi v3 = a1; sub_6FAD30E7(a1, a2, a3); *v3 = &std::bad_array_new_length::`vftable'; return v3; } //----- (6FAD30CF) -------------------------------------------------------- _DWORD *__thiscall sub_6FAD30CF(_DWORD *this) { _DWORD *result; // eax this[1] = 0; result = this; this[2] = 0; this[1] = "bad array new length"; *this = &std::bad_array_new_length::`vftable'; return result; } //----- (6FAD30E7) -------------------------------------------------------- _DWORD *__fastcall sub_6FAD30E7(_DWORD *a1, int a2, int a3) { _DWORD *v3; // esi _DWORD *v4; // eax v3 = a1; v4 = a1 + 1; *a1 = &unk_6FAD5240; *v4 = 0; v4[1] = 0; sub_6FAD394B((int)a1, a2, a3 + 4); return v3; } //----- (6FAD3113) -------------------------------------------------------- int __thiscall sub_6FAD3113(_DWORD *this) { *this = &unk_6FAD5240; return sub_6FAD3951((int)(this + 1)); } //----- (6FAD3151) -------------------------------------------------------- void __noreturn sub_6FAD3151() { int v0; // edx int v1; // ecx char v2; // [esp+0h] [ebp-Ch] sub_6FAD309C(&v2); sub_6FAD3957(v1, v0, (int)&v2); __debugbreak(); JUMPOUT(*(_DWORD *)sub_6FAD316E); } // 6FAD316E: using guessed type void __noreturn sub_6FAD316E(); //----- (6FAD316E) -------------------------------------------------------- void __noreturn sub_6FAD316E() { int v0; // edx int v1; // ecx char v2; // [esp+0h] [ebp-Ch] sub_6FAD30CF(&v2); sub_6FAD3957(v1, v0, (int)&v2); __debugbreak(); JUMPOUT(loc_6FAD318B); } // 6FAD316E: using guessed type void __noreturn sub_6FAD316E(); //----- (6FAD3198) -------------------------------------------------------- int __thiscall sub_6FAD3198(void *this) { int v2; // [esp-8h] [ebp-14h] int v3; // [esp-4h] [ebp-10h] int v4; // [esp+0h] [ebp-Ch] int v5; // [esp+8h] [ebp-4h] int savedregs; // [esp+Ch] [ebp+0h] ((void (__stdcall *)(void *, int *, int, int, _DWORD, _DWORD, int, int))unk_6FD64C38)( this, &v4, v2, v3, 0, 0, v5, savedregs); return ((int (*)(void))unk_6FD751A8)(); } //----- (6FAD31E5) -------------------------------------------------------- void sub_6FAD31E5() { int v0; // ecx int v1; // eax v0 = dword_6FAD70B4; if ( dword_6FAD70B4 == -1153374642 || !(dword_6FAD70B4 & 0xFFFF0000) ) { v1 = sub_6FAD3198((void *)dword_6FAD70B4); v0 = v1; if ( v1 == -1153374642 ) { v0 = -1153374641; } else if ( !(v1 & 0xFFFF0000) ) { v0 = ((v1 | 0x4711) << 16) | v1; } dword_6FAD70B4 = v0; } dword_6FAD70B0 = ~v0; } // 6FAD70B0: using guessed type int dword_6FAD70B0; // 6FAD70B4: using guessed type int dword_6FAD70B4; //----- (6FAD3230) -------------------------------------------------------- int __usercall sub_6FAD3230@(int a1@) { return ((int (__stdcall *)(int, void *))unk_6FC9A928)(a1, &unk_6FAD7470); } //----- (6FAD323C) -------------------------------------------------------- int sub_6FAD323C() { return sub_6FAD395D(&unk_6FAD7470); } // 6FAD395D: using guessed type int __cdecl sub_6FAD395D(_DWORD); //----- (6FAD3248) -------------------------------------------------------- void *sub_6FAD3248() { return &unk_6FAD7478; } //----- (6FAD324E) -------------------------------------------------------- _DWORD *sub_6FAD324E() { _DWORD *v0; // eax int v1; // ecx _DWORD *result; // eax int v3; // ecx v0 = sub_6FAD1C70(); v1 = v0[1]; *v0 |= 4u; v0[1] = v1; result = sub_6FAD3248(); v3 = result[1]; *result |= 2u; result[1] = v3; return result; } //----- (6FAD326B) -------------------------------------------------------- int __cdecl sub_6FAD326B(int a1, unsigned int a2) { int v2; // ecx int v3; // edx int v4; // esi v2 = a1 + *(_DWORD *)(a1 + 60); v3 = *(unsigned __int16 *)(v2 + 20) + v2 + 24; v4 = v3 + 40 * *(unsigned __int16 *)(v2 + 6); if ( v3 == v4 ) return 0; while ( a2 < *(_DWORD *)(v3 + 12) || a2 >= *(_DWORD *)(v3 + 12) + *(_DWORD *)(v3 + 8) ) { v3 += 40; if ( v3 == v4 ) return 0; } return v3; } //----- (6FAD32AF) -------------------------------------------------------- char sub_6FAD32AF() { signed __int32 v0; // edx signed __int32 v1; // eax if ( sub_6FAD392D() ) { v0 = *(_DWORD *)(__readfsdword(0x18u) + 4); while ( 1 ) { v1 = _InterlockedCompareExchange((volatile signed __int32 *)&unk_6FAD7484, v0, 0); if ( !v1 ) break; if ( v0 == v1 ) return 1; } } return 0; } //----- (6FAD32E1) -------------------------------------------------------- #error "6FAD3304: call analysis failed (funcsize=16)" //----- (6FAD330C) -------------------------------------------------------- bool __usercall sub_6FAD330C@(int a1@, int a2@) { return sub_6FAD33E3(a1, a2, 0) != 0; } //----- (6FAD331A) -------------------------------------------------------- char sub_6FAD331A() { if ( !sub_6FAD39B1() ) return 0; if ( !sub_6FAD39B1() ) { sub_6FAD39B1(); return 0; } return 1; } //----- (6FAD3339) -------------------------------------------------------- char sub_6FAD3339() { sub_6FAD39B1(); sub_6FAD39B1(); return 1; } //----- (6FAD3346) -------------------------------------------------------- int __cdecl sub_6FAD3346(int a1, int a2, int a3, void (__stdcall *a4)(int, int, int), int a5) { int v5; // ST00_4 int v6; // ST04_4 int v7; // ST08_4 if ( !sub_6FAD392D() && a2 == 1 ) { nullsub_1(a4, a1, 0, a3); a4(v5, v6, v7); } return sub_6FAD3987(a5); } // 6FAD376E: using guessed type int __thiscall nullsub_1(_DWORD, _DWORD, _DWORD, _DWORD); //----- (6FAD337A) -------------------------------------------------------- int sub_6FAD337A() { int result; // eax int v1; // edx if ( sub_6FAD392D() ) return sub_6FAD399F(); result = sub_6FAD39B4(); if ( !result ) { ((void (__cdecl *)(int))unk_6FD4D2B4)(v1); result = sub_6FAD39AB(); } return result; } //----- (6FAD339D) -------------------------------------------------------- char sub_6FAD339D() { sub_6FAD39B1(); return sub_6FAD39B1(); } //----- (6FAD33AA) -------------------------------------------------------- char __cdecl sub_6FAD33AA(int a1) { if ( !a1 ) byte_6FAD7488 = 1; sub_6FAD3792(); if ( !sub_6FAD39B1() ) return 0; if ( !sub_6FAD39B1() ) { sub_6FAD39B1(); return 0; } return 1; } // 6FAD7488: using guessed type char byte_6FAD7488; //----- (6FAD33E3) -------------------------------------------------------- char __usercall sub_6FAD33E3@(int a1@, int a2@, int a3) { char v4; // cl int v5; // eax int v6; // ST14_4 if ( byte_6FAD7489 ) return 1; if ( a3 && a3 != 1 ) { sub_6FAD3567(a1, a2, a3, 5u); __debugbreak(); JUMPOUT(*(_DWORD *)sub_6FAD3488); } if ( !sub_6FAD392D() || a3 ) { v4 = 32 - (dword_6FAD70B4 & 0x1F); v5 = dword_6FAD70B4 ^ __ROR4__(-1, v4); v6 = dword_6FAD70B4 ^ __ROR4__(-1, v4); dword_6FAD748C[0] = dword_6FAD70B4 ^ __ROR4__(-1, v4); dword_6FAD748C[1] = dword_6FAD70B4 ^ __ROR4__(-1, v4); dword_6FAD748C[2] = v6; dword_6FAD7498[0] = v5; dword_6FAD7498[1] = v5; dword_6FAD7498[2] = v5; } else if ( sub_6FAD3999(dword_6FAD748C) || sub_6FAD3999(dword_6FAD7498) ) { return 0; } byte_6FAD7489 = 1; return 1; } // 6FAD3999: using guessed type int __cdecl sub_6FAD3999(_DWORD); // 6FAD70B4: using guessed type int dword_6FAD70B4; // 6FAD7489: using guessed type char byte_6FAD7489; //----- (6FAD3488) -------------------------------------------------------- bool __cdecl sub_6FAD3488(int a1) { int v1; // eax bool result; // al result = 0; if ( MEMORY[0x6FAD0000] == 23117 && *(_DWORD *)(MEMORY[0x6FAD003C] + 1873608704) == 17744 && *(_WORD *)(MEMORY[0x6FAD003C] + 1873608728) == 267 ) { v1 = sub_6FAD326B(1873608704, a1 - 1873608704); if ( v1 ) { if ( *(_DWORD *)(v1 + 36) >= 0 ) result = 1; } } return result; } //----- (6FAD351C) -------------------------------------------------------- signed __int32 __cdecl sub_6FAD351C(char a1) { signed __int32 result; // eax result = sub_6FAD392D(); if ( result ) { if ( !a1 ) result = _InterlockedExchange((volatile signed __int32 *)&unk_6FAD7484, 0); } return result; } //----- (6FAD3539) -------------------------------------------------------- char __cdecl sub_6FAD3539(int a1, char a2) { if ( !byte_6FAD7488 || !a2 ) { sub_6FAD39B1(); sub_6FAD39B1(); } return 1; } // 6FAD7488: using guessed type char byte_6FAD7488; //----- (6FAD3561) -------------------------------------------------------- void *sub_6FAD3561() { return &unk_6FAD85D8; } //----- (6FAD3567) -------------------------------------------------------- void __usercall sub_6FAD3567(int a1@, int a2@, int a3@, unsigned int a4) { int v4; // ecx int v5; // edx unsigned int v6; // et0 int v7; // eax bool v8; // bl int v9; // [esp+Ch] [ebp-324h] __int16 v10; // [esp+98h] [ebp-298h] __int16 v11; // [esp+9Ch] [ebp-294h] __int16 v12; // [esp+A0h] [ebp-290h] __int16 v13; // [esp+A4h] [ebp-28Ch] int v14; // [esp+A8h] [ebp-288h] int v15; // [esp+ACh] [ebp-284h] int v16; // [esp+B0h] [ebp-280h] int v17; // [esp+B4h] [ebp-27Ch] int v18; // [esp+B8h] [ebp-278h] int v19; // [esp+BCh] [ebp-274h] int v20; // [esp+C0h] [ebp-270h] int v21; // [esp+C4h] [ebp-26Ch] __int16 v22; // [esp+C8h] [ebp-268h] unsigned int v23; // [esp+CCh] [ebp-264h] int *v24; // [esp+D0h] [ebp-260h] __int16 v25; // [esp+D4h] [ebp-25Ch] int v26; // [esp+2D8h] [ebp-58h] int v27; // [esp+2DCh] [ebp-54h] int v28; // [esp+2E4h] [ebp-4Ch] int *v29; // [esp+328h] [ebp-8h] int *v30; // [esp+32Ch] [ebp-4h] int savedregs; // [esp+330h] [ebp+0h] int retaddr; // [esp+334h] [ebp+4h] if ( sub_6FAD39AB() ) __fastfail(a4); sub_6FAD3681(); v19 = sub_6FAD393F(&v9, 0, 716); v18 = v4; v17 = v5; v16 = a1; v15 = a3; v14 = a2; v25 = __SS__; v22 = __CS__; v13 = __DS__; v12 = __ES__; v11 = __FS__; v10 = __GS__; v6 = __readeflags(); v23 = v6; v21 = retaddr; v24 = &retaddr; v9 = 65537; v20 = savedregs; sub_6FAD393F(&v26, 0, 80); v26 = 1073741845; v27 = 1; v28 = retaddr; v7 = ((int (__stdcall *)(int, signed int))unk_6FF40497)(a1, 23); v29 = &v26; v30 = &v9; v8 = v7 == 1; ((void (__stdcall *)(int *, _DWORD))unk_6FE6B962)(&savedregs, 0); if ( !((int (__stdcall *)(int, int **))unk_6FB59ECA)(a2, &v29) && !v8 ) sub_6FAD3681(); } // 6FAD393F: using guessed type int __cdecl sub_6FAD393F(_DWORD, _DWORD, _DWORD); //----- (6FAD3681) -------------------------------------------------------- void sub_6FAD3681() { dword_6FAD74A4 = 0; } // 6FAD74A4: using guessed type int dword_6FAD74A4; //----- (6FAD3689) -------------------------------------------------------- int __usercall sub_6FAD3689@(int a1@) { int (**v1)(void); // esi int (*v2)(void); // edi int result; // eax int v4; // [esp-4h] [ebp-Ch] int v5; // [esp+0h] [ebp-8h] int v6; // [esp+4h] [ebp-4h] v1 = (int (**)(void))&unk_6FAD58D8; if ( &unk_6FAD58D8 < &unk_6FAD58D8 ) { v4 = a1; do { v2 = *v1; if ( *v1 ) { nullsub_1(*v1, v4, v5, v6); result = v2(); } ++v1; } while ( v1 < (int (**)(void))&unk_6FAD58D8 ); } return result; } // 6FAD3689: could not find valid save-restore pair for edi // 6FAD376E: using guessed type int __thiscall nullsub_1(_DWORD, _DWORD, _DWORD, _DWORD); //----- (6FAD36B5) -------------------------------------------------------- int __usercall sub_6FAD36B5@(int a1@) { int (**v1)(void); // esi int (*v2)(void); // edi int result; // eax int v4; // [esp-4h] [ebp-Ch] int v5; // [esp+0h] [ebp-8h] int v6; // [esp+4h] [ebp-4h] v1 = (int (**)(void))&unk_6FAD58E0; if ( &unk_6FAD58E0 < &unk_6FAD58E0 ) { v4 = a1; do { v2 = *v1; if ( *v1 ) { nullsub_1(*v1, v4, v5, v6); result = v2(); } ++v1; } while ( v1 < (int (**)(void))&unk_6FAD58E0 ); } return result; } // 6FAD36B5: could not find valid save-restore pair for edi // 6FAD376E: using guessed type int __thiscall nullsub_1(_DWORD, _DWORD, _DWORD, _DWORD); //----- (6FAD374B) -------------------------------------------------------- int sub_6FAD374B() { return sub_6FAD3963(); } //----- (6FAD3792) -------------------------------------------------------- int sub_6FAD3792() { int v5; // edi int v11; // eax int v12; // edi int v13; // eax int v18; // eax int v20; // [esp+4h] [ebp-24h] int v21; // [esp+8h] [ebp-20h] int v22; // [esp+Ch] [ebp-1Ch] int v23; // [esp+10h] [ebp-18h] int v24; // [esp+14h] [ebp-14h] int v25; // [esp+18h] [ebp-10h] int v26; // [esp+1Ch] [ebp-Ch] int v27; // [esp+20h] [ebp-8h] int v28; // [esp+24h] [ebp-4h] dword_6FAD74A8 = 0; dword_6FAD70C0 |= 1u; if ( sub_6FAD39AB() ) { v25 = 0; _EAX = 0; dword_6FAD70C0 |= 2u; dword_6FAD74A8 = 1; __asm { cpuid } v26 = _EAX; v5 = _EBX ^ 0x756E6547; v27 = _EDX ^ 0x49656E69; v28 = _ECX ^ 0x6C65746E; _EAX = 1; __asm { cpuid } v20 = _EAX; v21 = _EBX; v22 = _ECX; v23 = _EDX; if ( v5 | v27 | v28 || (v11 = v20 & 0xFFF3FF0, (v20 & 0xFFF3FF0) != 67264) && v11 != 132704 && v11 != 132720 && v11 != 198224 && v11 != 198240 && v11 != 198256 ) { v12 = dword_6FAD74AC; } else { v12 = dword_6FAD74AC | 1; dword_6FAD74AC |= 1u; } v13 = v22; v28 = v22; if ( v26 < 7 ) { LOBYTE(_EBX) = v25; } else { _EAX = 7; __asm { cpuid } v20 = _EAX; v13 = v28; v21 = _EBX; v22 = _ECX; v23 = _EDX; if ( _EBX & 0x200 ) dword_6FAD74AC = v12 | 2; } if ( v13 & 0x100000 ) { dword_6FAD70C0 |= 4u; dword_6FAD74A8 = 2; if ( v13 & 0x8000000 ) { if ( v13 & 0x10000000 ) { __asm { xgetbv } v24 = v13; v25 = _EDX; if ( (v13 & 6) == 6 ) { v18 = dword_6FAD70C0 | 8; dword_6FAD74A8 = 3; dword_6FAD70C0 |= 8u; if ( _EBX & 0x20 ) { dword_6FAD74A8 = 5; dword_6FAD70C0 = v18 | 0x20; } } } } } } return 0; } // 6FAD70C0: using guessed type int dword_6FAD70C0; // 6FAD74A8: using guessed type int dword_6FAD74A8; // 6FAD74AC: using guessed type int dword_6FAD74AC; //----- (6FAD3929) -------------------------------------------------------- signed int sub_6FAD3929() { return 1; } //----- (6FAD392D) -------------------------------------------------------- BOOL sub_6FAD392D() { return dword_6FAD70C4 != 0; } // 6FAD70C4: using guessed type int dword_6FAD70C4; //----- (6FAD3939) -------------------------------------------------------- int __thiscall sub_6FAD3939(void *this, int a2, int a3, int a4) { ((void (__cdecl *)(void *))unk_6FD6E4BE)(this); return sub_6FAD393F(a2, a3, a4); } // 6FAD393F: using guessed type int __cdecl sub_6FAD393F(_DWORD, _DWORD, _DWORD); //----- (6FAD393F) -------------------------------------------------------- #error "6FAD393F: call analysis failed (funcsize=2)" //----- (6FAD3945) -------------------------------------------------------- int sub_6FAD3945() { return ((int (*)(void))unk_6FE7DED9)(); } //----- (6FAD394B) -------------------------------------------------------- int __fastcall sub_6FAD394B(int a1, int a2, int a3) { ((void (__thiscall *)(int, int))unk_6FB5EB5A)(a1, a2); return sub_6FAD3951(a3); } //----- (6FAD3951) -------------------------------------------------------- int __cdecl sub_6FAD3951(int a1) { int v1; // edx int v2; // ecx ((void (*)(void))unk_6FCC3A8E)(); return sub_6FAD3957(v2, v1, a1); } //----- (6FAD3957) -------------------------------------------------------- int __fastcall sub_6FAD3957(int a1, int a2, int a3) { ((void (__thiscall *)(int, int))unk_6FEDE026)(a1, a2); return sub_6FAD395D(a3); } // 6FAD395D: using guessed type int __cdecl sub_6FAD395D(_DWORD); //----- (6FAD395D) -------------------------------------------------------- #error "6FAD395D: call analysis failed (funcsize=2)" //----- (6FAD3963) -------------------------------------------------------- int sub_6FAD3963() { return ((int (*)(void))unk_6FD8669E)(); } //----- (6FAD3969) -------------------------------------------------------- int __thiscall sub_6FAD3969(void *this, int a2, int a3) { void *v3; // ecx ((void (__cdecl *)(void *))unk_6FE64E56)(this); return sub_6FAD396F(v3, a2, a3); } //----- (6FAD396F) -------------------------------------------------------- int __thiscall sub_6FAD396F(void *this, int a2, int a3) { ((void (__cdecl *)(void *))unk_6FEFD900)(this); return sub_6FAD3975(a2, a3); } // 6FAD3975: using guessed type int __cdecl sub_6FAD3975(_DWORD, _DWORD); //----- (6FAD3975) -------------------------------------------------------- #error "6FAD3975: call analysis failed (funcsize=2)" //----- (6FAD397B) -------------------------------------------------------- int __usercall sub_6FAD397B@(int a1@) { int v1; // ST00_4 ((void (__cdecl *)(int))unk_6FDBEA4A)(a1); return ((int (__stdcall *)(int))unk_6FD42672)(v1); } //----- (6FAD3987) -------------------------------------------------------- int __cdecl sub_6FAD3987(int a1) { ((void (*)(void))unk_6FAE3F02)(); return sub_6FAD398D(a1); } // 6FAD398D: using guessed type int __cdecl sub_6FAD398D(_DWORD); //----- (6FAD398D) -------------------------------------------------------- #error "6FAD398D: call analysis failed (funcsize=2)" //----- (6FAD3993) -------------------------------------------------------- int __cdecl sub_6FAD3993(int a1) { ((void (*)(void))unk_6FC05005)(); return sub_6FAD3999(a1); } // 6FAD3999: using guessed type int __cdecl sub_6FAD3999(_DWORD); //----- (6FAD3999) -------------------------------------------------------- #error "6FAD3999: call analysis failed (funcsize=2)" //----- (6FAD399F) -------------------------------------------------------- int sub_6FAD399F() { return ((int (*)(void))unk_6FB7463F)(); } //----- (6FAD39AB) -------------------------------------------------------- int sub_6FAD39AB() { return ((int (*)(void))unk_6FE40449)(); } //----- (6FAD39B1) -------------------------------------------------------- char sub_6FAD39B1() { return 1; } //----- (6FAD39B4) -------------------------------------------------------- int sub_6FAD39B4() { return 0; } //----- (6FAD39B7) -------------------------------------------------------- int sub_6FAD39B7() { return ((int (*)(void))unk_6FBF77BB)(); } //----- (6FAD39C0) -------------------------------------------------------- void __usercall sub_6FAD39C0(int a1@, int a2@) { int *v2; // esi unsigned int v3; // ecx int v4; // eax unsigned int v5; // ecx int v6; // ecx int v7; // [esp-4h] [ebp-4h] v7 = a2; v2 = (int *)(a1 - 296); v3 = *(_DWORD *)(a1 - 296 + 20); if ( v3 < 0x10 ) goto LABEL_6; v4 = *v2; v5 = v3 + 1; if ( v5 < 0x1000 ) { LABEL_5: sub_6FAD2BFF(v4); LABEL_6: v2[4] = 0; v2[5] = 15; *(_BYTE *)v2 = 0; return; } v6 = v5 + 35; if ( (unsigned int)(v4 - *(_DWORD *)(v4 - 4) - 4) <= 0x1F ) { v4 = *(_DWORD *)(v4 - 4); goto LABEL_5; } ((void (__thiscall *)(int, int))unk_6FD8534F)(v6, v7); } //----- (6FAD39CB) -------------------------------------------------------- void sub_6FAD39CB() { JUMPOUT(&loc_6FAD22B0); } //----- (6FAD39D6) -------------------------------------------------------- int __thiscall SEH_6FAD1CB0(void *this, int a2, int a3, int a4) { return sub_6FAD3939(this, a2, a3, a4); } #error "There were 7 decompilation failure(s) on 99 function(s)"