Skip to content

Instantly share code, notes, and snippets.

@endash
Created February 20, 2015 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save endash/3b389623d29898990478 to your computer and use it in GitHub Desktop.
Save endash/3b389623d29898990478 to your computer and use it in GitHub Desktop.
function _main($0,$1) {
$0 = $0|0;
$1 = $1|0;
var $2 = 0, $3 = 0, $4 = 0, $5 = 0, label = 0, sp = 0;
sp = STACKTOP;
_swift_once((_globalinit_33_1BDF70FFC18749BAB495A73B459ED2F0_token9|0),(1|0),(0|0));
HEAP32[__TvOSs7Process5_argcVSs5Int32>>2] = $0;
_swift_once((_globalinit_33_1BDF70FFC18749BAB495A73B459ED2F0_token10|0),(2|0),(0|0));
HEAP32[__TvOSs7Process11_unsafeArgvGVSs20UnsafeMutablePointerGS0_VSs4Int8__>>2] = $1;
$2 = 8;
$3 = $2;
HEAP32[$3>>2] = 5;
$4 = (($2) + 4)|0;
$5 = $4;
HEAP32[$5>>2] = 0;
STACKTOP = sp;return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment