Skip to content

Commit

Permalink
Update for Transformice 1.804
Browse files Browse the repository at this point in the history
  • Loading branch information
friedkeenan committed Feb 29, 2024
1 parent 3f18567 commit aa90d12
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions src/leakers/TransformiceLeaker.as
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,9 @@ package leakers {

private function get_socket_method_name(description: XML) : String {
for each (var method: * in description.elements("method")) {
var parameters: * = method.elements("parameter");

if (parameters.length() != 1) {
continue;
}

if (parameters[0].attribute("type") != "int") {
continue;
if (method.attribute("returnType") == "flash.net::Socket") {
return method.attribute("name");
}

if (method.attribute("returnType") != "*") {
continue;
}

return method.attribute("name");
}

return null;
Expand Down

0 comments on commit aa90d12

Please sign in to comment.