Skip to content

jsc decompiler, SpiderMonkey, modify for decoding cocos2d jsc file. On ubuntu 14.04 LTS

License

Notifications You must be signed in to change notification settings

yeyiqun/cocos2d-jsc-decompiler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpiderMonkey VM

SpiderMonkey is Mozilla's JavaScript engine.

About this repository

  • This is NOT the official SpiderMonkey standalone project. Official repo is here
  • Only contains the SpiderMonkey source code and needed files to compile it
  • Contains a few patches to make it compile on iOS (device and simulator)
  • Contains build scripts for iOS, Android, Win32 and OS X
  • Add code for decoding jsc file

About build jsc decompiler

About run jsc decoder

  • ./decjsc -e jsfile encode jsfile to jscfile named jsfile.jsc
  • ./decjsc -d jscfile decode jscfile to assemblefile named jscfile.jsdec

About builds

iOS

  • JIT is disabled
  • Device only: compiled in RELEASE mode
  • Simulator only: compiled in DEBUG mode

Android

  • JIT is enabled
  • compiled in RELEASE mode

OS X

  • JIT is enabled
  • compiled in DEBUG mode

Windows

  • JIT is enabled
  • compiled in RELEASE mode

Linux

  • JIT is enabled
  • compiled in RELEASE mode

About the patches

About

jsc decompiler, SpiderMonkey, modify for decoding cocos2d jsc file. On ubuntu 14.04 LTS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 40.6%
  • JavaScript 19.7%
  • C 19.2%
  • HTML 11.3%
  • Python 2.8%
  • Java 1.9%
  • Other 4.5%