[T]utorial [A]bout




#
#  Panoramix 1 Dec 19:18 
#  Decompiled source of 0xEA1B4943F31777807Cdcd55b68D2Ba070E4A2d34
# 
#  Let's make the world open source 
# 

#  Storage definitions and getters

def storage:
  unknown88f0702b is addr => uint256 # mask(256, 0) at storage #1
  stor2 is uint256 # mask(256, 0) at storage #2
  stor3 is uint256 # mask(256, 0) at storage #3

def unknown88f0702b(?) payable: 
  return unknown88f0702b[caller]



#  Regular functions
#
#  cd[xx]      -- means calldata (function parameter) at position xx
#                 most of it will look better soon
#

def unknown0fb4b7cd(?) payable: 
  return (stor3 / cd[4])

def unknown3296e625(?) payable: 
  return (100 / (stor3 / cd[4]))

def unknown346bb3d9(?) payable: 
  return (block.hash(cd[4]) % stor3)

def unknownb682b754(?) payable: 
  if call.value < stor2:
      call caller with:	# withdraw / default function
           gas 0 wei
         value call.value wei
      return 0
  if (block.hash(block.number) % stor3) >= cd[4]:
      unknown88f0702b[caller] = unknown88f0702b[caller] - call.value
      return 0
  call caller with:	# withdraw / default function
       gas 0 wei
     value (call.value * (stor3 / cd[4])) wei
  unknown88f0702b[caller] = (call.value * (stor3 / cd[4])) + unknown88f0702b[caller]
  return 1