MCPcopy Create free account
hub / github.com/MJx0/KittyMemoryEx / is64BitSupported

Method is64BitSupported

KittyMemoryEx/KittyUtils.cpp:63–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 bool Android::is64BitSupported()
64 {
65 static bool once = false;
66 static bool is64 = false;
67 if (!once)
68 {
69 char value[0xff]{};
70 if (__system_property_get("ro.product.cpu.abilist", value) == 0)
71 __system_property_get("ro.product.cpu.abi", value);
72
73 std::string abi = value;
74 is64 = abi.find("64") != std::string::npos;
75 once = true;
76 }
77 return is64;
78 }
79
80 std::string Android::getAppInternalDataDir(const std::string &packageName)
81 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected