LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BlockChainImpl::BlockChainImpl(char const*)
BlockChainImpl(const char *rootPath)
	{
		sprintf(mRootDir,"%s",rootPath);
		mCurrentBlockData = mBlockDataBuffer;	// scratch buffers to read in up to 3 block.
		mTransactionCount = 0;
		mBlockIndex = 0;
		mBlockBase = 0;
		mReadCount = 0;
		for (uint32_t i=0; i<MAX_BLOCK_FILES; i++)
		{
			mBlockChain[i] = NULL;
		}
		mBlockCount = 0;
		mScanCount = 0;
		mBlockHeaders = NULL;
		mLastBlockHeaderCount = 0;
		mLastBlockHeader = NULL;
		mTotalInputCount = 0;
		mTotalOutputCount = 0;
		mTotalTransactionCount = 0;
		openBlock();	// open the input file
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
callq 0x1a0e0
movq -0x30(%rbp), %rdi
leaq 0x1ead8(%rip), %rax     # 0x38a10
movq %rax, (%rdi)
addq $0x1240, %rdi           # imm = 0x1240
callq 0x1a100
movq -0x30(%rbp), %rdi
addq $0x16f12f0, %rdi        # imm = 0x16F12F0
movq %rdi, -0x38(%rbp)
callq 0x1a1e0
movq -0x30(%rbp), %rdi
addq $0x36f1328, %rdi        # imm = 0x36F1328
movq %rdi, -0x28(%rbp)
callq 0x1a240
jmp 0x19f71
movq -0x30(%rbp), %rdi
addq $0x3771338, %rdi        # imm = 0x3771338
movq %rdi, -0x40(%rbp)
callq 0x1a2a0
jmp 0x19f87
movq -0x30(%rbp), %rdi
addq $0x8, %rdi
movq -0x10(%rbp), %rdx
leaq 0x16e89(%rip), %rsi     # 0x30e23
movb $0x0, %al
callq 0x2060
movq -0x30(%rbp), %rax
movq %rax, %rcx
addq $0x2f12e8, %rcx         # imm = 0x2F12E8
movq %rcx, 0x2f12e0(%rax)
movl $0x0, 0x16f12e8(%rax)
movl $0x0, 0x1208(%rax)
movl $0x0, 0x1238(%rax)
movl $0x0, 0x2f12d8(%rax)
movl $0x0, -0x20(%rbp)
cmpl $0x200, -0x20(%rbp)     # imm = 0x200
jae 0x1a02b
movq -0x30(%rbp), %rax
movl -0x20(%rbp), %ecx
movq $0x0, 0x208(%rax,%rcx,8)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x19fe5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x1a0ac
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x1a0a3
movq -0x30(%rbp), %rdi
movl $0x0, 0x36f1314(%rdi)
movl $0x0, 0x36f1310(%rdi)
movq $0x0, 0x36f1320(%rdi)
movl $0x0, 0x36f1300(%rdi)
movq $0x0, 0x36f1318(%rdi)
movl $0x0, 0x36f1308(%rdi)
movl $0x0, 0x36f130c(%rdi)
movl $0x0, 0x36f1304(%rdi)
callq 0x1a5e0
jmp 0x1a088
addq $0x40, %rsp
popq %rbp
retq
movq -0x40(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
callq 0x1a780
movq -0x28(%rbp), %rdi
callq 0x1a880
movq -0x38(%rbp), %rdi
callq 0x1a8b0
movq -0x18(%rbp), %rdi
callq 0x2260
nop
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: SimpleHash<FileLocation, 4194304u, 40000000u>::SimpleHash()
SimpleHash(void)
	{
		mEntries = NULL;
		mHashTableCount = 0;
		for (uint32_t i = 0; i < hashTableSize; i++)
		{
			mHashTable[i] = NULL;
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq $0x0, 0x2000008(%rax)
movl $0x0, 0x2000000(%rax)
movl $0x0, -0xc(%rbp)
cmpl $0x400000, -0xc(%rbp)   # imm = 0x400000
jae 0x1a22f
movq -0x18(%rbp), %rax
movl -0xc(%rbp), %ecx
movq $0x0, (%rax,%rcx,8)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x1a20c
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BlockChainImpl::openBlock()
bool openBlock(void)
	{
		bool ret = false;

		char scratch[512];
#ifdef _MSC_VER
		sprintf(scratch,"%s\\blk%05d.dat", mRootDir, mBlockIndex );	// get the filename
#else
		sprintf(scratch,"%s/blk%05d.dat", mRootDir, mBlockIndex );	// get the filename
#endif
		FILE *fph = fopen(scratch,"rb");
		if ( fph )
		{
			fseek(fph,0L,SEEK_END);
			mFileLength = ftell(fph);
			fseek(fph,0L,SEEK_SET);
			mBlockChain[mBlockIndex] = fph;
			ret = true;
			printf("Successfully opened block-chain input file '%s'\r\n", scratch );
		}
		else
		{
			printf("Failed to open block-chain input file '%s'\r\n", scratch );
		}
		if ( mBlockHeaderMap.size() )
		{
			printf("Scanned %s block headers so far, %s since last time.\r\n", formatNumber(mBlockHeaderMap.size()), formatNumber(mBlockHeaderMap.size()-mLastBlockHeaderCount));
		}

		mLastBlockHeaderCount = mBlockHeaderMap.size();

		return ret;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x230, %rsp            # imm = 0x230
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x220(%rbp)
movb $0x0, -0x9(%rbp)
leaq -0x210(%rbp), %rdi
movq %rax, %rdx
addq $0x8, %rdx
movl 0x1208(%rax), %ecx
leaq 0x1689c(%rip), %rsi     # 0x30eb5
movb $0x0, %al
callq 0x2060
leaq -0x210(%rbp), %rdi
leaq 0x16896(%rip), %rsi     # 0x30ec4
callq 0x2190
movq %rax, -0x218(%rbp)
cmpq $0x0, -0x218(%rbp)
je 0x1a6bf
movq -0x218(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0x2, %edx
callq 0x2170
movq -0x218(%rbp), %rdi
callq 0x2030
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, 0x1210(%rax)
movq -0x218(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq 0x2170
movq -0x220(%rbp), %rax
movq -0x218(%rbp), %rdx
movl 0x1208(%rax), %ecx
movq %rdx, 0x208(%rax,%rcx,8)
movb $0x1, -0x9(%rbp)
leaq -0x210(%rbp), %rsi
leaq 0x16811(%rip), %rdi     # 0x30ec7
movb $0x0, %al
callq 0x2050
jmp 0x1a6d4
leaq -0x210(%rbp), %rsi
leaq 0x1682c(%rip), %rdi     # 0x30ef9
movb $0x0, %al
callq 0x2050
movq -0x220(%rbp), %rdi
addq $0x36f1328, %rdi        # imm = 0x36F1328
callq 0x1c5d0
cmpl $0x0, %eax
je 0x1a74c
movq -0x220(%rbp), %rdi
addq $0x36f1328, %rdi        # imm = 0x36F1328
callq 0x1c5d0
movl %eax, %edi
callq 0x19c20
movq -0x220(%rbp), %rdi
movq %rax, -0x228(%rbp)
addq $0x36f1328, %rdi        # imm = 0x36F1328
callq 0x1c5d0
movl %eax, %edi
movq -0x220(%rbp), %rax
subl 0x36f1300(%rax), %edi
callq 0x19c20
movq -0x228(%rbp), %rsi
movq %rax, %rdx
leaq 0x167e1(%rip), %rdi     # 0x30f26
movb $0x0, %al
callq 0x2050
movq -0x220(%rbp), %rdi
addq $0x36f1328, %rdi        # imm = 0x36F1328
callq 0x1c5d0
movl %eax, %ecx
movq -0x220(%rbp), %rax
movl %ecx, 0x36f1300(%rax)
movb -0x9(%rbp), %al
andb $0x1, %al
addq $0x230, %rsp            # imm = 0x230
popq %rbp
retq
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinTransactionFactory::~BitcoinTransactionFactory()
~BitcoinTransactionFactory(void)
	{
		delete []mBlocks;
		delete []mTransactions;
		delete []mInputs;
		delete []mOutputs;
		delete []mTransactionReferences;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq 0x2000040(%rax), %rax
movq %rax, -0x10(%rbp)
cmpq $0x0, %rax
je 0x1a7ae
movq -0x10(%rbp), %rdi
callq 0x21d0
movq -0x18(%rbp), %rax
movq 0x2000020(%rax), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
je 0x1a7cc
movq -0x20(%rbp), %rdi
callq 0x21d0
movq -0x18(%rbp), %rax
movq 0x2000028(%rax), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, %rax
je 0x1a7ea
movq -0x28(%rbp), %rdi
callq 0x21d0
movq -0x18(%rbp), %rax
movq 0x2000030(%rax), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, %rax
je 0x1a808
movq -0x30(%rbp), %rdi
callq 0x21d0
movq -0x18(%rbp), %rax
movq 0x2000048(%rax), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, %rax
je 0x1a826
movq -0x38(%rbp), %rdi
callq 0x21d0
movq -0x18(%rbp), %rax
addq $0x2000058, %rax        # imm = 0x2000058
movq %rax, -0x48(%rbp)
addq $0xd5de0, %rax          # imm = 0xD5DE0
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rdi
addq $-0x190, %rdi           # imm = 0xFE70
movq %rdi, -0x50(%rbp)
callq 0x1c4f0
movq -0x48(%rbp), %rcx
movq -0x50(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x40(%rbp)
jne 0x1a83e
movq -0x18(%rbp), %rdi
callq 0x1c580
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BlockChainImpl::printBlockHeaders()
virtual void printBlockHeaders(void) 
	{
		for (uint32_t i=0; i<mBlockCount; i++)
		{
			BlockHeader &h = *mBlockHeaders[i];
			printf("Block #%d : prevBlockHash:", i );
			printReverseHash(h.mPreviousBlockHash);
			printf("\r\n");
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movl $0x0, -0xc(%rbp)
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x36f1314(%rcx), %eax
jae 0x1a97b
movq -0x20(%rbp), %rax
movq 0x36f1320(%rax), %rax
movl -0xc(%rbp), %ecx
movq (%rax,%rcx,8), %rax
movq %rax, -0x18(%rbp)
movl -0xc(%rbp), %esi
leaq 0x16616(%rip), %rdi     # 0x30f60
movb $0x0, %al
callq 0x2050
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rsi
addq $0x2c, %rsi
callq 0x1c5f0
leaq 0x16ab3(%rip), %rdi     # 0x3141c
movb $0x0, %al
callq 0x2050
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x1a91b
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BlockChainImpl::readBlock(unsigned int)
virtual const Block *readBlock(uint32_t blockIndex)
	{
		Block *ret = NULL;

		if ( readBlock(mSingleBlock,blockIndex) )
		{
			ret = &mSingleBlock;
		}

		return ret;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
movq $0x0, -0x18(%rbp)
movq %rdi, %rsi
addq $0x1240, %rsi           # imm = 0x1240
movl -0xc(%rbp), %edx
movq (%rdi), %rax
callq *0xb0(%rax)
testb $0x1, %al
jne 0x1b43b
jmp 0x1b449
movq -0x20(%rbp), %rax
addq $0x1240, %rax           # imm = 0x1240
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BlockChainImpl::reportCounts()
virtual void reportCounts(void)
	{
		printf("Total Blocks: %s\r\n", formatNumber(mBlockCount) );
		printf("Total Transactions: %s\r\n", formatNumber(mTotalTransactionCount));
		printf("Total Inputs: %s\r\n", formatNumber(mTotalInputCount));
		printf("Total Outputs: %s\r\n", formatNumber(mTotalOutputCount));
		mTransactionFactory.reportCounts();
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movl 0x36f1314(%rax), %edi
callq 0x19c20
movq %rax, %rsi
leaq 0x16869(%rip), %rdi     # 0x32242
movb $0x0, %al
callq 0x2050
movq -0x10(%rbp), %rax
movl 0x36f1304(%rax), %edi
callq 0x19c20
movq %rax, %rsi
leaq 0x1685c(%rip), %rdi     # 0x32255
movb $0x0, %al
callq 0x2050
movq -0x10(%rbp), %rax
movl 0x36f1308(%rax), %edi
callq 0x19c20
movq %rax, %rsi
leaq 0x16855(%rip), %rdi     # 0x3226e
movb $0x0, %al
callq 0x2050
movq -0x10(%rbp), %rax
movl 0x36f130c(%rax), %edi
callq 0x19c20
movq %rax, %rsi
leaq 0x16848(%rip), %rdi     # 0x32281
movb $0x0, %al
callq 0x2050
movq -0x10(%rbp), %rdi
addq $0x3771338, %rdi        # imm = 0x3771338
callq 0x21cc0
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BlockChainImpl::readBlockHeaders(unsigned int, unsigned int&)
virtual bool readBlockHeaders(uint32_t maxBlock,uint32_t &blockCount)
	{
		if ( readBlockHeader() && mScanCount < maxBlock )
		{
			mScanCount++;
			blockCount = mScanCount;
			return true;	// true means there are more blocks to read..
		}

		return false;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x28(%rbp)
callq 0x22220
testb $0x1, %al
jne 0x1bab6
jmp 0x1baea
movq -0x28(%rbp), %rax
movl 0x36f1310(%rax), %eax
cmpl -0x14(%rbp), %eax
jae 0x1baea
movq -0x28(%rbp), %rax
movl 0x36f1310(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x36f1310(%rax)
movl 0x36f1310(%rax), %ecx
movq -0x20(%rbp), %rax
movl %ecx, (%rax)
movb $0x1, -0x1(%rbp)
jmp 0x1baee
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BlockChainImpl::~BlockChainImpl()
virtual ~BlockChainImpl(void)
	{
		for (uint32_t i=0; i<mBlockIndex; i++)
		{
			if ( mBlockChain[i] )
			{
				fclose(mBlockChain[i]);	// close the block-chain file pointer
			}
		}
		delete []mBlockHeaders;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
leaq 0x1cb55(%rip), %rcx     # 0x38a00
addq $0x10, %rcx
movq %rcx, (%rax)
movl $0x0, -0xc(%rbp)
movq -0x18(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x1208(%rcx), %eax
jae 0x1beff
movq -0x18(%rbp), %rax
movl -0xc(%rbp), %ecx
cmpq $0x0, 0x208(%rax,%rcx,8)
je 0x1bef2
movq -0x18(%rbp), %rax
movl -0xc(%rbp), %ecx
movq 0x208(%rax,%rcx,8), %rdi
callq 0x2140
jmp 0x1bef0
jmp 0x1bef2
jmp 0x1bef4
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x1beb9
movq -0x18(%rbp), %rax
movq 0x36f1320(%rax), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
je 0x1bf1d
movq -0x20(%rbp), %rdi
callq 0x21d0
movq -0x18(%rbp), %rdi
addq $0x3771338, %rdi        # imm = 0x3771338
callq 0x1a780
movq -0x18(%rbp), %rdi
addq $0x36f1328, %rdi        # imm = 0x36F1328
callq 0x1a880
movq -0x18(%rbp), %rdi
addq $0x16f12f0, %rdi        # imm = 0x16F12F0
callq 0x1a8b0
addq $0x20, %rsp
popq %rbp
retq
movq %rax, %rdi
callq 0xef70
nopl (%rax,%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BlockChainImpl::processSingleBlock(void const*, unsigned int)
virtual const Block * processSingleBlock(const void *blockData,uint32_t blockLength) 
	{
		const Block *ret = NULL;
		if ( blockLength < MAX_BLOCK_SIZE )
		{
			mSingleBlock.blockIndex = 0;
			mSingleBlock.blockReward = 0;
			mSingleBlock.totalInputCount = 0;
			mSingleBlock.totalOutputCount = 0;
			mSingleBlock.fileIndex = 0;
			mSingleBlock.fileOffset =  0;
			uint32_t transactionIndex=0;
			mSingleBlock.processBlockData(blockData,blockLength,transactionIndex);
			ret = static_cast< Block *>(&mSingleBlock);
		}
		return ret;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x0, -0x20(%rbp)
cmpl $0xa00000, -0x14(%rbp)  # imm = 0xA00000
jae 0x1c239
movq -0x30(%rbp), %rdi
movl $0x0, 0x1290(%rdi)
movq $0x0, 0x12a8(%rdi)
movl $0x0, 0x1294(%rdi)
movl $0x0, 0x1298(%rdi)
movl $0x0, 0x129c(%rdi)
movl $0x0, 0x12a0(%rdi)
movl $0x0, -0x24(%rbp)
addq $0x1240, %rdi           # imm = 0x1240
movq -0x10(%rbp), %rsi
movl -0x14(%rbp), %edx
leaq -0x24(%rbp), %rcx
callq 0x23320
movq -0x30(%rbp), %rax
addq $0x1240, %rax           # imm = 0x1240
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BlockChainImpl::processSingleTransaction(void const*, unsigned int)
virtual const BlockTransaction *processSingleTransaction(const void *transactionData,uint32_t transactionLength)
	{
		const BlockTransaction *ret = NULL;
		if ( transactionLength < MAX_BLOCK_SIZE )
		{
			mSingleBlock.blockIndex = 0;
			mSingleBlock.blockReward = 0;
			mSingleBlock.totalInputCount = 0;
			mSingleBlock.totalOutputCount = 0;
			mSingleBlock.fileIndex = 0;
			mSingleBlock.fileOffset =  0;
			ret = mSingleBlock.processTransactionData(transactionData,transactionLength);
		}
		return ret;

	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq $0x0, -0x20(%rbp)
cmpl $0xa00000, -0x14(%rbp)  # imm = 0xA00000
jae 0x1c2d4
movq -0x28(%rbp), %rdi
movl $0x0, 0x1290(%rdi)
movq $0x0, 0x12a8(%rdi)
movl $0x0, 0x1294(%rdi)
movl $0x0, 0x1298(%rdi)
movl $0x0, 0x129c(%rdi)
movl $0x0, 0x12a0(%rdi)
addq $0x1240, %rdi           # imm = 0x1240
movq -0x10(%rbp), %rsi
movl -0x14(%rbp), %edx
callq 0x24410
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nop
// File: jeffchan[P]blockchain-parser/./BlockChain.h
// Function: BlockChain::BlockTransaction::BlockTransaction()
BlockTransaction(void)
		{
			inputCount = 0;
			inputs = 0;
			outputCount = 0;
			outputs = 0;
			transactionIndex = 0;
		}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl $0x0, 0x4(%rax)
movq $0x0, 0x8(%rax)
movl $0x0, 0x10(%rax)
movq $0x0, 0x18(%rax)
movl $0x0, 0x50(%rax)
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: StatRow::StatRow()
StatRow(void)
	{
		mTime = 0;
		mCount = 0;
		mValue = 0;
		mZombieTotal = 0;
		mZombieCount = 0;
		mAddressCount = 0;
		mAddresses = NULL;
		mNewAddressCount = 0;
		mDeleteAddressCount = 0;
		mChangeAddressCount = 0;
		mSameAddressCount = 0;
		mRiseFromDeadCount = 0;
		mRiseFromDeadAmount = 0;
		mNewAddresses = NULL;
		mChangedAddresses = NULL;
		mDeletedAddresses = NULL;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
addq $0x20, %rax
movq %rax, %rcx
addq $0x130, %rcx            # imm = 0x130
movq %rcx, -0x18(%rbp)
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x28(%rbp)
callq 0x1c5b0
movq -0x28(%rbp), %rax
movq -0x18(%rbp), %rcx
addq $0x10, %rax
cmpq %rcx, %rax
movq %rax, -0x10(%rbp)
jne 0x1c42a
movq -0x20(%rbp), %rax
movl $0x0, 0xc(%rax)
movl $0x0, 0x10(%rax)
movq $0x0, 0x18(%rax)
movq $0x0, (%rax)
movl $0x0, 0x8(%rax)
movl $0x0, 0x150(%rax)
movq $0x0, 0x158(%rax)
movl $0x0, 0x160(%rax)
movl $0x0, 0x164(%rax)
movl $0x0, 0x168(%rax)
movl $0x0, 0x16c(%rax)
movl $0x0, 0x170(%rax)
movl $0x0, 0x174(%rax)
movq $0x0, 0x178(%rax)
movq $0x0, 0x180(%rax)
movq $0x0, 0x188(%rax)
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: StatRow::~StatRow()
~StatRow(void)
	{
		delete []mAddresses;
		delete []mNewAddresses;
		delete []mChangedAddresses;
		delete []mDeletedAddresses;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq 0x158(%rax), %rax
movq %rax, -0x10(%rbp)
cmpq $0x0, %rax
je 0x1c51e
movq -0x10(%rbp), %rdi
callq 0x21d0
movq -0x18(%rbp), %rax
movq 0x178(%rax), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
je 0x1c53c
movq -0x20(%rbp), %rdi
callq 0x21d0
movq -0x18(%rbp), %rax
movq 0x180(%rax), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, %rax
je 0x1c55a
movq -0x28(%rbp), %rdi
callq 0x21d0
movq -0x18(%rbp), %rax
movq 0x188(%rax), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, %rax
je 0x1c578
movq -0x30(%rbp), %rdi
callq 0x21d0
addq $0x30, %rsp
popq %rbp
retq
nop
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BlockChainImpl::printReverseHash(unsigned char const*)
void printReverseHash(const uint8_t *hash)
	{
		if ( hash )
		{
			for (uint32_t i=0; i<32; i++)
			{
				printf("%02x", hash[31-i] );
			}
		}
		else
		{
			printf("NULL HASH");
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x1c641
movl $0x0, -0x14(%rbp)
cmpl $0x20, -0x14(%rbp)
jae 0x1c63f
movq -0x10(%rbp), %rax
movl $0x1f, %ecx
subl -0x14(%rbp), %ecx
movl %ecx, %ecx
movzbl (%rax,%rcx), %esi
leaq 0x14448(%rip), %rdi     # 0x30a75
movb $0x0, %al
callq 0x2050
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x1c60e
jmp 0x1c64f
leaq 0x14933(%rip), %rdi     # 0x30f7b
movb $0x0, %al
callq 0x2050
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: Hash256::Hash256(unsigned char const*)
inline Hash256(const uint8_t *src)
	{
		mWord0 = *(const uint64_t *)(src);
		mWord1 = *(const uint64_t *)(src+8);
		mWord2 = *(const uint64_t *)(src+16);
		mWord3 = *(const uint64_t *)(src+24);
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq -0x10(%rbp), %rcx
movq (%rcx), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq %rcx, 0x8(%rax)
movq -0x10(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rcx
movq 0x18(%rcx), %rcx
movq %rcx, 0x18(%rax)
popq %rbp
retq
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: FileLocation::FileLocation(Hash256 const&, unsigned int, unsigned int, unsigned int, unsigned int)
FileLocation(const Hash256 &h,uint32_t fileIndex,uint32_t fileOffset,uint32_t fileLength,uint32_t transactionIndex) : Hash256(h)
	{
		mFileIndex = fileIndex;
		mFileOffset = fileOffset;
		mFileLength = fileLength;
		mTransactionIndex = transactionIndex;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movl %r8d, -0x1c(%rbp)
movl %r9d, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x28(%rbp)
movq -0x10(%rbp), %rsi
callq 0x1c780
movq -0x28(%rbp), %rax
movl -0x14(%rbp), %ecx
movl %ecx, 0x20(%rax)
movl -0x18(%rbp), %ecx
movl %ecx, 0x24(%rax)
movl -0x1c(%rbp), %ecx
movl %ecx, 0x28(%rax)
movl -0x20(%rbp), %ecx
movl %ecx, 0x2c(%rax)
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: SimpleHash<FileLocation, 4194304u, 40000000u>::find(FileLocation const&) const
inline Key* find(const Key& key)  const
	{
		Key* ret = NULL;
		uint32_t hash = getHash(key);
		HashEntry* h = mHashTable[hash];
		while (h)
		{
			if (h->mKey == key)
			{
				ret = &h->mKey;
				break;
			}
			h = h->mNext;
		}
		return ret;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x10(%rbp), %rsi
callq 0x1c7c0
movl %eax, %ecx
movq -0x30(%rbp), %rax
movl %ecx, -0x1c(%rbp)
movl -0x1c(%rbp), %ecx
movq (%rax,%rcx,8), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x1c76f
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x1c7f0
testb $0x1, %al
jne 0x1c757
jmp 0x1c761
movq -0x28(%rbp), %rax
movq %rax, -0x18(%rbp)
jmp 0x1c76f
movq -0x28(%rbp), %rax
movq 0x30(%rax), %rax
movq %rax, -0x28(%rbp)
jmp 0x1c73d
movq -0x18(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinTransactionFactory::getTransactions(unsigned int)
Transaction *getTransactions(uint32_t count)
	{
		init();
		Transaction *ret = NULL;
		assert( (mTransactionCount+count) < MAX_TOTAL_TRANSACTIONS );
		if ( (mTransactionCount+count) < MAX_TOTAL_TRANSACTIONS ) 
		{
			ret = &mTransactions[mTransactionCount];
			mTransactionCount+=count;
		}
		return ret;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x1ccc0
movq -0x20(%rbp), %rax
movq $0x0, -0x18(%rbp)
movl 0x2000010(%rax), %eax
addl -0xc(%rbp), %eax
cmpl $0x2625a00, %eax        # imm = 0x2625A00
jae 0x1c8ea
jmp 0x1c909
leaq 0x14b69(%rip), %rdi     # 0x3145a
leaq 0x14358(%rip), %rsi     # 0x30c50
movl $0xbd2, %edx            # imm = 0xBD2
leaq 0x14b89(%rip), %rcx     # 0x3148d
callq 0x20c0
movq -0x20(%rbp), %rax
movl 0x2000010(%rax), %eax
addl -0xc(%rbp), %eax
cmpl $0x2625a00, %eax        # imm = 0x2625A00
jae 0x1c948
movq -0x20(%rbp), %rax
movq 0x2000020(%rax), %rcx
movl 0x2000010(%rax), %edx
shlq $0x5, %rdx
addq %rdx, %rcx
movq %rcx, -0x18(%rbp)
movl -0xc(%rbp), %ecx
addl 0x2000010(%rax), %ecx
movl %ecx, 0x2000010(%rax)
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinTransactionFactory::markBlock(Transaction*)
void markBlock(Transaction *t)
	{
		assert( mBlockCount < MAX_TOTAL_BLOCKS );
		if ( mBlockCount < MAX_TOTAL_BLOCKS )
		{
			mBlocks[mBlockCount] = t;
			mBlockCount++;
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
cmpl $0x7a120, 0x2000038(%rax) # imm = 0x7A120
jae 0x1c986
jmp 0x1c9a5
leaq 0x14b42(%rip), %rdi     # 0x314cf
leaq 0x142bc(%rip), %rsi     # 0x30c50
movl $0xb8f, %edx            # imm = 0xB8F
leaq 0x14b4e(%rip), %rcx     # 0x314ee
callq 0x20c0
movq -0x18(%rbp), %rax
cmpl $0x7a120, 0x2000038(%rax) # imm = 0x7A120
jae 0x1c9dd
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rsi
movq 0x2000040(%rax), %rcx
movl 0x2000038(%rax), %edx
movq %rsi, (%rcx,%rdx,8)
movl 0x2000038(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x2000038(%rax)
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinTransactionFactory::getInputs(unsigned int)
TransactionInput * getInputs(uint32_t count)
	{
		TransactionInput *ret = NULL;
		assert( (mTotalInputCount+count) < MAX_TOTAL_INPUTS );
		if ( (mTotalInputCount+count) < MAX_TOTAL_INPUTS ) 
		{
			ret = &mInputs[mTotalInputCount];
			mTotalInputCount+=count;
		}
		return ret;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq $0x0, -0x18(%rbp)
movl 0x2000014(%rax), %eax
addl -0xc(%rbp), %eax
cmpl $0x5f5e100, %eax        # imm = 0x5F5E100
jae 0x1ca21
jmp 0x1ca40
leaq 0x14aff(%rip), %rdi     # 0x31527
leaq 0x14221(%rip), %rsi     # 0x30c50
movl $0xbde, %edx            # imm = 0xBDE
leaq 0x14b18(%rip), %rcx     # 0x31553
callq 0x20c0
movq -0x20(%rbp), %rax
movl 0x2000014(%rax), %eax
addl -0xc(%rbp), %eax
cmpl $0x5f5e100, %eax        # imm = 0x5F5E100
jae 0x1ca7f
movq -0x20(%rbp), %rax
movq 0x2000028(%rax), %rcx
movl 0x2000014(%rax), %edx
shlq $0x3, %rdx
addq %rdx, %rcx
movq %rcx, -0x18(%rbp)
movl -0xc(%rbp), %ecx
addl 0x2000014(%rax), %ecx
movl %ecx, 0x2000014(%rax)
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinTransactionFactory::getOutputs(unsigned int)
TransactionOutput *getOutputs(uint32_t count)
	{
		TransactionOutput *ret = NULL;
		assert( (mTotalOutputCount+count) < MAX_TOTAL_OUTPUTS );
		if ( (mTotalOutputCount+count) < MAX_TOTAL_OUTPUTS )
		{
			ret = &mOutputs[mTotalOutputCount];
			mTotalOutputCount+=count;
		}
		return ret;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq $0x0, -0x18(%rbp)
movl 0x2000018(%rax), %eax
addl -0xc(%rbp), %eax
cmpl $0x5f5e100, %eax        # imm = 0x5F5E100
jae 0x1cac1
jmp 0x1cae0
leaq 0x14acc(%rip), %rdi     # 0x31594
leaq 0x14181(%rip), %rsi     # 0x30c50
movl $0xbea, %edx            # imm = 0xBEA
leaq 0x14ae7(%rip), %rcx     # 0x315c2
callq 0x20c0
movq -0x20(%rbp), %rax
movl 0x2000018(%rax), %eax
addl -0xc(%rbp), %eax
cmpl $0x5f5e100, %eax        # imm = 0x5F5E100
jae 0x1cb1f
movq -0x20(%rbp), %rax
movq 0x2000030(%rax), %rcx
movl 0x2000018(%rax), %edx
shlq $0x4, %rdx
addq %rdx, %rcx
movq %rcx, -0x18(%rbp)
movl -0xc(%rbp), %ecx
addl 0x2000018(%rax), %ecx
movl %ecx, 0x2000018(%rax)
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinTransactionFactory::getAddress(unsigned char const*, unsigned int&)
BitcoinAddress * getAddress(const uint8_t from[20],uint32_t &adr)
	{
		BitcoinAddress *ret = NULL;

		BitcoinAddress h(from);
		ret = mAddresses.find(h);

		if ( ret == NULL )
		{
			ret = mAddresses.insert(h);
		}
		if ( ret )
		{
			adr = mAddresses.getIndex(ret) + 1;
		}
		return ret;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x70(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x68(%rbp), %rdi
callq 0x1ced0
movq -0x70(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x1cf50
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x1cb8a
movq -0x70(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x1cfd0
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x1cba9
movq -0x70(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x1d0d0
movl %eax, %ecx
addl $0x1, %ecx
movq -0x18(%rbp), %rax
movl %ecx, (%rax)
movq -0x20(%rbp), %rax
addq $0x70, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinTransactionFactory::getSingleTransaction(unsigned int)
Transaction * getSingleTransaction(uint32_t index)
	{
		Transaction *ret = NULL;
		assert( index < MAX_TOTAL_TRANSACTIONS );
		assert( index < mTransactionCount );
		if ( index < mTransactionCount )
		{
			ret = &mTransactions[index];
		}
		return ret;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq $0x0, -0x18(%rbp)
cmpl $0x2625a00, -0xc(%rbp)  # imm = 0x2625A00
jae 0x1cbea
jmp 0x1cc09
leaq 0x14b4a(%rip), %rdi     # 0x3173b
leaq 0x14058(%rip), %rsi     # 0x30c50
movl $0xbc4, %edx            # imm = 0xBC4
leaq 0x14b56(%rip), %rcx     # 0x3175a
callq 0x20c0
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x2000010(%rcx), %eax
jae 0x1cc1a
jmp 0x1cc39
leaq 0x14b80(%rip), %rdi     # 0x317a1
leaq 0x14028(%rip), %rsi     # 0x30c50
movl $0xbc5, %edx            # imm = 0xBC5
leaq 0x14b26(%rip), %rcx     # 0x3175a
callq 0x20c0
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x2000010(%rcx), %eax
jae 0x1cc61
movq -0x20(%rbp), %rax
movq 0x2000020(%rax), %rax
movl -0xc(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinTransactionFactory::getAddress(unsigned int)
BitcoinAddress *getAddress(uint32_t a)
	{
		BitcoinAddress *ret = NULL;
		if ( a )
		{
			ret = mAddresses.getKey(a-1);
		}
		return ret;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq $0x0, -0x18(%rbp)
cmpl $0x0, -0xc(%rbp)
je 0x1cca8
movq -0x20(%rbp), %rdi
movl -0xc(%rbp), %esi
subl $0x1, %esi
callq 0x1d360
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinTransactionFactory::init()
void init(void)
	{
		if ( mTransactions == NULL )
		{
			mTransactions = new Transaction[MAX_TOTAL_TRANSACTIONS];
			mInputs = new TransactionInput[MAX_TOTAL_INPUTS];
			mOutputs = new TransactionOutput[MAX_TOTAL_OUTPUTS];
			mBlocks = new Transaction *[MAX_TOTAL_BLOCKS];
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, 0x2000020(%rax)
jne 0x1ce4c
movl $0x4c4b4000, %edi       # imm = 0x4C4B4000
callq 0x2040
movq %rax, -0x38(%rbp)
movq %rax, %rcx
addq $0x4c4b4000, %rcx       # imm = 0x4C4B4000
movq %rcx, -0x30(%rbp)
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
movq %rdi, -0x40(%rbp)
callq 0x1ce60
jmp 0x1cd14
movq -0x30(%rbp), %rcx
movq -0x40(%rbp), %rax
addq $0x20, %rax
cmpq %rcx, %rax
movq %rax, -0x28(%rbp)
jne 0x1cd05
movq -0x20(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rcx, 0x2000020(%rax)
movl $0x2faf0800, %edi       # imm = 0x2FAF0800
callq 0x2040
movq %rax, -0x58(%rbp)
movq %rax, %rcx
addq $0x2faf0800, %rcx       # imm = 0x2FAF0800
movq %rcx, -0x50(%rbp)
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rdi
movq %rdi, -0x60(%rbp)
callq 0x1ce90
jmp 0x1cd67
movq -0x50(%rbp), %rcx
movq -0x60(%rbp), %rax
addq $0x8, %rax
cmpq %rcx, %rax
movq %rax, -0x48(%rbp)
jne 0x1cd58
movq -0x20(%rbp), %rax
movq -0x58(%rbp), %rcx
movq %rcx, 0x2000028(%rax)
movl $0x5f5e1000, %edi       # imm = 0x5F5E1000
callq 0x2040
movq %rax, -0x78(%rbp)
movq %rax, %rcx
addq $0x5f5e1000, %rcx       # imm = 0x5F5E1000
movq %rcx, -0x70(%rbp)
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
movq %rdi, -0x80(%rbp)
callq 0x1ceb0
jmp 0x1cdba
movq -0x70(%rbp), %rcx
movq -0x80(%rbp), %rax
addq $0x10, %rax
cmpq %rcx, %rax
movq %rax, -0x68(%rbp)
jne 0x1cdab
movq -0x20(%rbp), %rax
movq -0x78(%rbp), %rcx
movq %rcx, 0x2000030(%rax)
movl $0x3d0900, %edi         # imm = 0x3D0900
callq 0x2040
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x2000040(%rax)
jmp 0x1ce4c
movq -0x38(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x4c4b4000, %esi       # imm = 0x4C4B4000
callq 0x2280
jmp 0x1ce55
movq -0x58(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x2faf0800, %esi       # imm = 0x2FAF0800
callq 0x2280
jmp 0x1ce55
movq -0x78(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x5f5e1000, %esi       # imm = 0x5F5E1000
callq 0x2280
jmp 0x1ce55
addq $0x80, %rsp
popq %rbp
retq
movq -0x10(%rbp), %rdi
callq 0x2260
nop
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: Transaction::Transaction()
Transaction(void)
	{
		mInputCount = 0;
		mOutputCount = 0;
		mInputs = 0;
		mOutputCount = 0;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl $0x0, 0x8(%rax)
movl $0x0, 0xc(%rax)
movq $0x0, 0x10(%rax)
movl $0x0, 0xc(%rax)
popq %rbp
retq
nopl (%rax,%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinAddress::BitcoinAddress(unsigned char const*)
BitcoinAddress(const uint8_t address[20]) 
	{
		mWord0 = *(const uint64_t *)(address);
		mWord1 = *(const uint64_t *)(address+8);
		mWord2 = *(const uint32_t *)(address+16);
		mTransactionCount = 0;
		mTransactionIndex = 0xFFFFFFFF;
		mTransactions = NULL;
		mTotalReceived = 0;
		mTotalSent = 0;
		mLastInputTime = 0;
		mLastOutputTime = 0;
		mFirstOutputTime = 0;
		mInputCount = 0;
		mOutputCount = 0;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq -0x10(%rbp), %rcx
movq (%rcx), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq %rcx, 0x8(%rax)
movq -0x10(%rbp), %rcx
movl 0x10(%rcx), %ecx
movl %ecx, 0x10(%rax)
movl $0x0, 0x3c(%rax)
movl $0xffffffff, 0x38(%rax) # imm = 0xFFFFFFFF
movq $0x0, 0x40(%rax)
movq $0x0, 0x28(%rax)
movq $0x0, 0x20(%rax)
movl $0x0, 0x14(%rax)
movl $0x0, 0x18(%rax)
movl $0x0, 0x1c(%rax)
movl $0x0, 0x30(%rax)
movl $0x0, 0x34(%rax)
popq %rbp
retq
nopl (%rax,%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: SimpleHash<BitcoinAddress, 4194304u, 40000000u>::insert(BitcoinAddress const&)
inline Key * insert(const Key& key)
	{
		Key *ret = NULL;
		init(); // allocate the entries table
		if (mHashTableCount < hashTableEntries)
		{
			HashEntry* h = &mEntries[mHashTableCount];
			h->mKey = key;
			ret = &h->mKey;
			mHashTableCount++;
			uint32_t hash = getHash(key);
			if (mHashTable[hash])
			{
				HashEntry* next = mHashTable[hash];
				mHashTable[hash] = h;
				h->mNext = next;
			}
			else
			{
				mHashTable[hash] = h;
			}
		}
		else
		{
			assert(0); // we should never run out of hash entries
		}
		return ret;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x38(%rbp)
movq $0x0, -0x18(%rbp)
callq 0x1d210
movq -0x38(%rbp), %rax
cmpl $0x2625a00, 0x2000000(%rax) # imm = 0x2625A00
jae 0x1d0a7
movq -0x38(%rbp), %rcx
movq 0x2000008(%rcx), %rax
movl 0x2000000(%rcx), %ecx
imulq $0x50, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rsi
movq -0x20(%rbp), %rdi
movl $0x48, %edx
callq 0x20f0
movq -0x38(%rbp), %rdi
movq -0x20(%rbp), %rax
movq %rax, -0x18(%rbp)
movl 0x2000000(%rdi), %eax
addl $0x1, %eax
movl %eax, 0x2000000(%rdi)
movq -0x10(%rbp), %rsi
callq 0x1d140
movl %eax, %ecx
movq -0x38(%rbp), %rax
movl %ecx, -0x24(%rbp)
movl -0x24(%rbp), %ecx
cmpq $0x0, (%rax,%rcx,8)
je 0x1d096
movq -0x38(%rbp), %rax
movl -0x24(%rbp), %ecx
movq (%rax,%rcx,8), %rcx
movq %rcx, -0x30(%rbp)
movq -0x20(%rbp), %rdx
movl -0x24(%rbp), %ecx
movq %rdx, (%rax,%rcx,8)
movq -0x30(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x48(%rax)
jmp 0x1d0a5
movq -0x38(%rbp), %rax
movq -0x20(%rbp), %rdx
movl -0x24(%rbp), %ecx
movq %rdx, (%rax,%rcx,8)
jmp 0x1d0c6
leaq 0x14203(%rip), %rdi     # 0x312b1
leaq 0x13b9b(%rip), %rsi     # 0x30c50
movl $0x175, %edx            # imm = 0x175
leaq 0x14544(%rip), %rcx     # 0x31605
callq 0x20c0
movq -0x18(%rbp), %rax
addq $0x40, %rsp
popq %rbp
retq
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinAddress::BitcoinAddress()
BitcoinAddress(void)
	{
		mWord0 = 0;
		mWord1 = 0;
		mWord2 = 0;
		mTransactionCount = 0;
		mTransactionIndex = 0xFFFFFFFF;
		mTransactions = NULL;
		mTotalReceived = 0;
		mTotalSent = 0;
		mLastInputTime = 0;
		mLastOutputTime = 0;
		mFirstOutputTime = 0;
		mInputCount = 0;
		mOutputCount = 0;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq $0x0, (%rax)
movq $0x0, 0x8(%rax)
movl $0x0, 0x10(%rax)
movl $0x0, 0x3c(%rax)
movl $0xffffffff, 0x38(%rax) # imm = 0xFFFFFFFF
movq $0x0, 0x40(%rax)
movq $0x0, 0x28(%rax)
movq $0x0, 0x20(%rax)
movl $0x0, 0x14(%rax)
movl $0x0, 0x18(%rax)
movl $0x0, 0x1c(%rax)
movl $0x0, 0x30(%rax)
movl $0x0, 0x34(%rax)
popq %rbp
retq
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: SimpleHash<BitcoinAddress, 4194304u, 40000000u>::getKey(unsigned int) const
inline Key * getKey(uint32_t i) const
	{
		Key *ret = NULL;
		assert( i < mHashTableCount );
		if ( i < mHashTableCount )
		{
			ret = &mEntries[i].mKey;
		}
		return ret;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, -0x20(%rbp)
movq $0x0, -0x18(%rbp)
movl -0xc(%rbp), %eax
cmpl 0x2000000(%rcx), %eax
jae 0x1d38c
jmp 0x1d3ab
leaq 0x14428(%rip), %rdi     # 0x317bb
leaq 0x138b6(%rip), %rsi     # 0x30c50
movl $0x143, %edx            # imm = 0x143
leaq 0x14429(%rip), %rcx     # 0x317cf
callq 0x20c0
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x2000000(%rcx), %eax
jae 0x1d3d3
movq -0x20(%rbp), %rax
movq 0x2000008(%rax), %rax
movl -0xc(%rbp), %ecx
imulq $0x50, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinTransactionFactory::countTransaction(BitcoinAddress*, unsigned int, unsigned int&)
void countTransaction(BitcoinAddress *ba,
						  uint32_t tindex,
						  uint32_t &transactionReferenceCount)
	{
		if ( ba && ba->mTransactionIndex != tindex )
		{
			ba->mTransactionIndex = tindex;
			ba->mTransactionCount++;
			transactionReferenceCount++;
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x1d9c8
movq -0x10(%rbp), %rax
movl 0x38(%rax), %eax
cmpl -0x14(%rbp), %eax
je 0x1d9c8
movl -0x14(%rbp), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x38(%rax)
movq -0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x3c(%rax)
movq -0x20(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
popq %rbp
retq
nopw (%rax,%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinTransactionFactory::gatherTransaction(BitcoinAddress*, Transaction*, unsigned int)
void gatherTransaction(BitcoinAddress *ba,Transaction *t,uint32_t tindex)
	{
		if ( ba && ba->mTransactionIndex != tindex )
		{
			ba->mTransactionIndex = tindex;
			ba->mTransactions[ba->mTransactionCount] = t;
			ba->mTransactionCount++;
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x1da24
movq -0x10(%rbp), %rax
movl 0x38(%rax), %eax
cmpl -0x1c(%rbp), %eax
je 0x1da24
movl -0x1c(%rbp), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x38(%rax)
movq -0x18(%rbp), %rdx
movq -0x10(%rbp), %rax
movq 0x40(%rax), %rax
movq -0x10(%rbp), %rcx
movl 0x3c(%rcx), %ecx
movq %rdx, (%rax,%rcx,8)
movq -0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x3c(%rax)
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinTransactionFactory::getStatSize(unsigned long)
inline StatSize getStatSize(uint64_t v)
	{
		if ( v == 0 ) return SS_ZERO;
		for (uint32_t i=1; i<(SS_COUNT-1); i++)
		{
			if ( v < mStatLimits[i] )
			{
				return (StatSize)i;
			}
		}
		return SS_MAX_BTC;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0x1ea04
movl $0x0, -0x4(%rbp)
jmp 0x1ea42
movl $0x1, -0x1c(%rbp)
cmpl $0x12, -0x1c(%rbp)
jae 0x1ea3b
movq -0x28(%rbp), %rcx
movq -0x18(%rbp), %rax
movl -0x1c(%rbp), %edx
cmpq 0x20d5ed0(%rcx,%rdx,8), %rax
jae 0x1ea2e
movl -0x1c(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x1ea42
jmp 0x1ea30
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x1ea0b
movl $0x12, -0x4(%rbp)
movl -0x4(%rbp), %eax
popq %rbp
retq
nopw (%rax,%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: StatAddress::StatAddress()
StatAddress(void)
	{
		mAddress = 0;
		mTotalReceived = 0;
		mTotalSent = 0;
		mLastTime = 0;
		mTransactionCount = 0;
		mInputCount = 0;
		mOutputCount = 0;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl $0x0, (%rax)
movl $0x0, 0x8(%rax)
movl $0x0, 0x4(%rax)
movl $0x0, 0x10(%rax)
movb $0x0, 0x14(%rax)
movb $0x0, 0x15(%rax)
movb $0x0, 0x16(%rax)
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinAddress::getLastUsedTime() const
uint32_t getLastUsedTime(void) const
	{
		uint32_t lastUsed = mLastInputTime; // the last time we sent money (not received because anyone can send us money).
		if ( mLastInputTime == 0 ) // if it has never had a spend.. then we use the time of first receive..
		{
			lastUsed = mFirstOutputTime;
		}
		return lastUsed;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movl 0x14(%rax), %ecx
movl %ecx, -0xc(%rbp)
cmpl $0x0, 0x14(%rax)
jne 0x1eb06
movq -0x18(%rbp), %rax
movl 0x1c(%rax), %eax
movl %eax, -0xc(%rbp)
movl -0xc(%rbp), %eax
popq %rbp
retq
nopl (%rax,%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: StatAddress::operator==(StatAddress const&) const
bool operator==(const StatAddress &a) const
	{
		return mAddress == a.mAddress &&
			   mTotalSent == a.mTotalSent &&
			   mTotalReceived == a.mTotalReceived &&
			   mFirstTime == a.mFirstTime &&
			   mLastTime == a.mLastTime &&
			   mTransactionCount == a.mTransactionCount &&
			   mInputCount == a.mInputCount &&
			   mOutputCount == a.mOutputCount;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movl (%rax), %ecx
movq -0x10(%rbp), %rdx
xorl %eax, %eax
cmpl (%rdx), %ecx
movb %al, -0x11(%rbp)
jne 0x1ec19
movq -0x20(%rbp), %rax
movl 0x4(%rax), %ecx
movq -0x10(%rbp), %rdx
xorl %eax, %eax
cmpl 0x4(%rdx), %ecx
movb %al, -0x11(%rbp)
jne 0x1ec19
movq -0x20(%rbp), %rax
movl 0x8(%rax), %ecx
movq -0x10(%rbp), %rdx
xorl %eax, %eax
cmpl 0x8(%rdx), %ecx
movb %al, -0x11(%rbp)
jne 0x1ec19
movq -0x20(%rbp), %rax
movl 0xc(%rax), %ecx
movq -0x10(%rbp), %rdx
xorl %eax, %eax
cmpl 0xc(%rdx), %ecx
movb %al, -0x11(%rbp)
jne 0x1ec19
movq -0x20(%rbp), %rax
movl 0x10(%rax), %ecx
movq -0x10(%rbp), %rdx
xorl %eax, %eax
cmpl 0x10(%rdx), %ecx
movb %al, -0x11(%rbp)
jne 0x1ec19
movq -0x20(%rbp), %rax
movzbl 0x14(%rax), %ecx
movq -0x10(%rbp), %rax
movzbl 0x14(%rax), %edx
xorl %eax, %eax
cmpl %edx, %ecx
movb %al, -0x11(%rbp)
jne 0x1ec19
movq -0x20(%rbp), %rax
movzbl 0x15(%rax), %ecx
movq -0x10(%rbp), %rax
movzbl 0x15(%rax), %edx
xorl %eax, %eax
cmpl %edx, %ecx
movb %al, -0x11(%rbp)
jne 0x1ec19
movq -0x20(%rbp), %rax
movzbl 0x16(%rax), %eax
movq -0x10(%rbp), %rcx
movzbl 0x16(%rcx), %ecx
cmpl %ecx, %eax
sete %al
movb %al, -0x11(%rbp)
movb -0x11(%rbp), %al
andb $0x1, %al
popq %rbp
retq
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: SortByBalance::compare(void**, void**)
virtual int32_t compare(void **p1,void **p2) 
	{
		BitcoinAddress **ba1 = (BitcoinAddress **)p1;
		BitcoinAddress **ba2 = (BitcoinAddress **)p2;
		BitcoinAddress *a1 = *ba1;
		BitcoinAddress *a2 = *ba2;
		uint64_t balance1 = a1->mTotalReceived-a1->mTotalSent;
		uint64_t balance2 = a2->mTotalReceived-a2->mTotalSent;
		if ( balance1 == balance2 ) return 0;
		return balance1 > balance2 ? -1 : 1;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x38(%rbp)
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x38(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x38(%rbp), %rcx
subq 0x20(%rcx), %rax
movq %rax, -0x48(%rbp)
movq -0x40(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x40(%rbp), %rcx
subq 0x20(%rcx), %rax
movq %rax, -0x50(%rbp)
movq -0x48(%rbp), %rax
cmpq -0x50(%rbp), %rax
jne 0x1ecd1
movl $0x0, -0x4(%rbp)
jmp 0x1ecec
movq -0x48(%rbp), %rdx
movq -0x50(%rbp), %rsi
movl $0x1, %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq %rsi, %rdx
cmoval %ecx, %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinTransactionFactory::getKey(unsigned int) const
const char *getKey(uint32_t a) const
	{
		static char scratch[256];
		const char *ret = "UNKNOWN ADDRESS";
		if ( a )
		{
			BitcoinAddress *ba = mAddresses.getKey(a-1);
			uint8_t address1[25];
			BLOCKCHAIN_BITCOIN_ADDRESS::bitcoinRIPEMD160ToAddress((const uint8_t *)ba,address1);
			BLOCKCHAIN_BITCOIN_ADDRESS::bitcoinAddressToAscii(address1,scratch,256);
			ret = scratch;
		}
		return ret;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x12a2a(%rip), %rax     # 0x31a08
movq %rax, -0x18(%rbp)
cmpl $0x0, -0xc(%rbp)
je 0x1f028
movq -0x48(%rbp), %rdi
movl -0xc(%rbp), %esi
subl $0x1, %esi
callq 0x1d360
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x19710
leaq -0x40(%rbp), %rdi
leaq 0x1a7dd(%rip), %rsi     # 0x397f0
movl $0x100, %edx            # imm = 0x100
callq 0x197a0
leaq 0x1a7cc(%rip), %rax     # 0x397f0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: jeffchan[P]blockchain-parser/BlockChain.cpp
// Function: BitcoinTransactionFactory::printTransactions(unsigned int)
void printTransactions(uint32_t blockIndex)
	{
		uint32_t tcount;
		Transaction *t = getBlock(blockIndex,tcount);
		if ( t )
		{
			printf("===================================================\r\n");
			printf("Block #%s has %s transactions.\r\n", formatNumber(blockIndex), formatNumber(tcount) );
			for (uint32_t j=0; j<tcount; j++)
			{
				printTransaction(j,t,0);
				t++;
			}
			printf("===================================================\r\n");
			printf("\r\n");
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x28(%rbp)
movl -0xc(%rbp), %esi
leaq -0x10(%rbp), %rdx
callq 0x1f640
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x1f62d
leaq 0x11a03(%rip), %rdi     # 0x30fac
movb $0x0, %al
callq 0x2050
movl -0xc(%rbp), %edi
callq 0x19c20
movq %rax, -0x30(%rbp)
movl -0x10(%rbp), %edi
callq 0x19c20
movq -0x30(%rbp), %rsi
movq %rax, %rdx
leaq 0x1254f(%rip), %rdi     # 0x31b21
movb $0x0, %al
callq 0x2050
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
cmpl -0x10(%rbp), %eax
jae 0x1f611
movq -0x28(%rbp), %rdi
movl -0x1c(%rbp), %esi
movq -0x18(%rbp), %rdx
xorl %ecx, %ecx
callq 0x1f040
movq -0x18(%rbp), %rax
addq $0x20, %rax
movq %rax, -0x18(%rbp)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x1f5e0
leaq 0x11994(%rip), %rdi     # 0x30fac
movb $0x0, %al
callq 0x2050
leaq 0x11df6(%rip), %rdi     # 0x3141c
movb $0x0, %al
callq 0x2050
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)