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

Incorect decompilation result of 0xBCd3a47e4d0000cf170E25d1bD3d53F7C08be0A6 #75

Open
ytrezq opened this issue Jan 17, 2024 · 0 comments

Comments

@ytrezq
Copy link

ytrezq commented Jan 17, 2024

ꜱᴇᴠᴍ returns :

function 8024c73a() public payable {
    require(msg.value == 0);
    if (~(msg.sender == ((0x1 << 0xa0) - 0x1 & var_1))) {
        undefined local2 = 0x80; // #refs 2
    }
    if (~(var_2 > 0x0)) {
        undefined local2 = 0x80; // #refs 2
    }
    if (~(address(this).balance < var_2) == 0) {
        undefined local2 = 0x80; // #refs 2
    }
    undefined local4 = 0x80; // #refs 2
}

whereas the real 0x8024c function contains code for transferring funds as shown by https://etherscan.io/tx/0x481bdf2b92655f98b8918f3eba1ae0562f8d471f8f71fb9714dc6ec80a335387.

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

No branches or pull requests

1 participant