diff --git a/android/app/src/main/cpp/l2c_fcr_hook.cpp b/android/app/src/main/cpp/l2c_fcr_hook.cpp index b32972e..ad76a8f 100644 --- a/android/app/src/main/cpp/l2c_fcr_hook.cpp +++ b/android/app/src/main/cpp/l2c_fcr_hook.cpp @@ -265,9 +265,9 @@ static bool hookLibrary(const char* libname) { findSymbolOffset(decompressed, "l2c_fcr_chk_chan_modes"); - uint64_t sdp_offset = + /* uint64_t sdp_offset = findSymbolOffset(decompressed, - "BTA_DmSetLocalDiRecord"); + "BTA_DmSetLocalDiRecord"); */ if (chk_offset) { void* target = @@ -280,7 +280,7 @@ static bool hookLibrary(const char* libname) { LOGI("Hooked l2c_fcr_chk_chan_modes"); } - if (sdp_offset) { + /*if (sdp_offset) { void* target = reinterpret_cast(base + sdp_offset); @@ -289,7 +289,7 @@ static bool hookLibrary(const char* libname) { (void**)&original_BTA_DmSetLocalDiRecord); LOGI("Hooked BTA_DmSetLocalDiRecord"); - } + }*/ return true; }