static void* datapack = nullptr; static void( __thiscall* dump_datapack_paths )( void* ) = 0; if ( !dump_datapack_paths ) dump_datapack_paths = decltype( dump_datapack_paths )( Sig( "client.dll", "55 8B EC 8B 49 04 83 EC 7C" ) ); if ( !datapack ) datapack = *( void** )( Sig( "client.dll", "C7 05 ? ? ? ? ? ? ? ? E8 ? ? ? ? A1 ? ? ? ? 83 F8 10" ) + 2 ); dump_datapack_paths( datapack );