MCPcopy Create free account
hub / github.com/WrBug/dumpDex / get_old_open_function_addr

Function get_old_open_function_addr

app/src/main/cpp/util/deviceutils.cpp:150–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148/////////////////////
149
150void **get_old_open_function_addr() {
151 if (is_arm_64()) {
152 if (is_oreo()) {
153 return reinterpret_cast<void **>(&old_arm64_open_common);
154 } else {
155 return reinterpret_cast<void **>(&old_arm64_open_memory);
156
157 }
158 } else {
159 if (is_oreo()) {
160 return reinterpret_cast<void **>(&old_opencommon);
161 } else {
162 return reinterpret_cast<void **>(&old_nougat_open_memory);
163 }
164 }
165}
166
167void *get_new_open_function_addr() {
168 if (is_arm_64()) {

Callers 1

Calls 2

is_arm_64Function · 0.85
is_oreoFunction · 0.85

Tested by

no test coverage detected