Skip to content

Commit

Permalink
移除Dobby
Browse files Browse the repository at this point in the history
使用xdl处理api
打印缺失的api信息
  • Loading branch information
Perfare committed Jan 3, 2023
1 parent 7ec0c4c commit 93a2cb2
Show file tree
Hide file tree
Showing 445 changed files with 2,015 additions and 74,258 deletions.
19 changes: 6 additions & 13 deletions module/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@ else ()
project(${MODULE_NAME})
endif ()

set(DobbyHome Dobby)
include_directories(
${DobbyHome}/include
)
macro(SET_OPTION option value)
set(${option} ${value} CACHE INTERNAL "" FORCE)
endmacro()
SET_OPTION(DOBBY_DEBUG OFF)
SET_OPTION(DOBBY_GENERATE_SHARED OFF)
add_subdirectory(${DobbyHome} dobby)

message("Build type: ${CMAKE_BUILD_TYPE}")

set(CMAKE_CXX_STANDARD 20)
Expand All @@ -38,8 +27,12 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${C_FLAGS} ${CXX_FLAGS}")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${LINKER_FLAGS}")
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${LINKER_FLAGS}")

add_library(${MODULE_NAME} SHARED main.cpp hook.cpp il2cpp_dump.cpp)
target_link_libraries(${MODULE_NAME} log dobby)
include_directories(xdl/include)

aux_source_directory(xdl xdl-src)

add_library(${MODULE_NAME} SHARED main.cpp hack.cpp il2cpp_dump.cpp ${xdl-src})
target_link_libraries(${MODULE_NAME} log)

if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
add_custom_command(TARGET ${MODULE_NAME} POST_BUILD
Expand Down
18 changes: 0 additions & 18 deletions module/src/main/cpp/Dobby/.clang-format

This file was deleted.

80 changes: 0 additions & 80 deletions module/src/main/cpp/Dobby/.gitignore

This file was deleted.

Loading

0 comments on commit 93a2cb2

Please sign in to comment.