FANDOM


SummaryEdit

This function gets the lower bound of an array.

DefinitionEdit

WORD __vbaLbound(DWORD* Array, WORD Dimension)

DisassemblyEdit

72A1C628   PUSH ESI
72A1C629   MOV ESI, WORD PTR SS:[ESP+C]
72A1C62D   PUSH EDI
72A1C62E   MOV DI, WORD PTR SS:[ESP+C]
72A1C633   CMP DI, 1
72A1C637   JL SHORT MSVBVM60.72A1C642
72A1C639   TEST ESI, ESI
72A1C63B   JE SHORT MSVBVM60.72A1C642
72A1C63D   CMP DI, WORD PTR DS:[ESI]
72A1C640   JLE SHORT MSVBVM60.72A1C649
72A1C642   PUSH 9
72A1C644   CALL MSVBVM60.72A0E22C // TODO: name this
72A1C649   MOVSX EAX, WORD PTR DS:[ESI]
72A1C64C   MOVSX ECI, DI
72A1C64F   SUB EAX, ECI
72A1C651   POP EDI
72A1C652   MOV EAX, DWORD PTR DS:[ESI+eax*8+14]
72A1C656   POP ESI
72A1C657   RETN 8

BreakdownEdit

72A1C628 - Save ESI

< TODO: finish! >

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.