[T]utorial [A]bout




#
#  Panoramix 1 Dec 19:18 
#  Decompiled source of 0x04b2582c70a1537202033e7F3265D38f4680109e
# 
#  Let's make the world open source 
# 
#
#  I failed with these: 
#  - unknownbd7d0d51(?)
#  All the rest is below.
#

#  Storage definitions and getters

def storage:
  stor0.0 is uint8 # mask(8, 0) at storage #0
  stor0.8 is uint8 # mask(8, 8) at storage #0



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

def unknown0cf96406(?) payable: 
  require stor0.8
  if not stor0.0:
      call addr(cd[4]) with:	# withdraw / default function
           gas gas_remaining - 34050 wei
         value call.value wei
      require ext_call.success
      call caller with:	# withdraw / default function
           gas gas_remaining - 34050 wei
         value call.value wei

def unknown0f9668b8(?) payable: 
  return bool(stor0.8)

def forked() payable: 
  return bool(stor0.0)

def unknownc46470c6(?) payable: 
  require stor0.8
  if stor0.0:
      call addr(cd[4]) with:	# withdraw / default function
           gas gas_remaining - 34050 wei
         value call.value wei
      require ext_call.success
      call caller with:	# withdraw / default function
           gas gas_remaining - 34050 wei
         value call.value wei