Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve deobfuscateAppleGPU #78

Merged
merged 7 commits into from
Dec 17, 2021

Conversation

puckey
Copy link
Collaborator

@puckey puckey commented Aug 13, 2021

see #77

@puckey puckey mentioned this pull request Aug 13, 2021
@puckey puckey force-pushed the chore/improve-ios-deobfuscation branch from 7da7d92 to 1695891 Compare August 13, 2021 14:12
@puckey puckey changed the title Improve deobfuscateAppleGPU [WIP] Improve deobfuscateAppleGPU Aug 13, 2021
puckey added 4 commits August 16, 2021 14:30
- include missing chipsets that support ios >= 13
- when magic pixel value is missing in our lookup, default to both newer and older models
- with multiple results of the same resolution, pick the one with the lowest fps
- when apple's fixing of deobfuscation is detected, eliminate all devices that do not support ios 14.x
- export ipad benchmark data seperately allows client code simplifications
- extract apple deobfuscation pixel logic
- refactor all outer anonymous arrow function to named functions
- throw when benchmark data is out of date
- bump major version
@puckey puckey force-pushed the chore/improve-ios-deobfuscation branch from 164c3c9 to 00b4c61 Compare August 16, 2021 12:32
@@ -1,4 +1,4 @@
export const getGPUVersion = (model: string) => {
export function getGPUVersion(model: string) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the const to function changes stylistic or do they serve a purpose?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The primary difference between function declarations and function expressions is that declarations are hoisted to the top of the scope in which they are defined, which allows you to write code that uses the function before its declaration.

(I can revert if wanted)

@puckey puckey changed the title [WIP] Improve deobfuscateAppleGPU Improve deobfuscateAppleGPU Aug 24, 2021
@alexkowel
Copy link

alexkowel commented Oct 12, 2021

Sorry for bothering you guys, but is there any chance to get this PR merged?

…-gpu into chore/improve-ios-deobfuscation

# Conflicts:
#	benchmarks.tar.gz
#	benchmarks/d-adreno.json
#	benchmarks/d-amd.json
#	benchmarks/d-apple.json
#	benchmarks/d-geforce.json
#	benchmarks/d-intel.json
#	benchmarks/d-nvidia.json
#	benchmarks/d-radeon.json
#	benchmarks/m-adreno.json
#	benchmarks/m-apple.json
#	benchmarks/m-intel.json
#	benchmarks/m-mali-t.json
#	benchmarks/m-mali.json
#	benchmarks/m-nvidia.json
#	benchmarks/m-powervr.json
#	package.json
@puckey puckey merged commit 36d90d6 into pmndrs:master Dec 17, 2021
@puckey puckey mentioned this pull request Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants