Skip to content

Instantly share code, notes, and snippets.

@Li-blog
Created October 28, 2016 10:35
Show Gist options
  • Save Li-blog/0609f2c692e82442c39001f695f96da8 to your computer and use it in GitHub Desktop.
Save Li-blog/0609f2c692e82442c39001f695f96da8 to your computer and use it in GitHub Desktop.
- (void)StartUpload_hooked:(id)arg1 {
CMessageWrap *wrap = (CMessageWrap *)arg1;
if (wrap.m_uiGameType == 2) {
[self StartUpload_hooked:setDice(arg1, 6)];
} else if (wrap.m_uiGameType == 1) {
[self StartUpload_hooked:setJsb(arg1, 1)];
} else {
[self StartUpload_hooked:arg1];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment