Section64Header.smali
.class public Lio/rong/imlib/relinker/elf/Section64Header;
.super Lio/rong/imlib/relinker/elf/Elf$SectionHeader;
.source "Section64Header.java"
# direct methods
.method public constructor <init>(Lio/rong/imlib/relinker/elf/ElfParser;Lio/rong/imlib/relinker/elf/Elf$Header;I)V
.registers 7
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
invoke-direct {p0}, Lio/rong/imlib/relinker/elf/Elf$SectionHeader;-><init>()V
const/16 v0, 0x8
.line 2
invoke-static {v0}, Ljava/nio/ByteBuffer;->allocate(I)Ljava/nio/ByteBuffer;
move-result-object v0
.line 3
iget-boolean v1, p2, Lio/rong/imlib/relinker/elf/Elf$Header;->bigEndian:Z
if-eqz v1, :cond_10
sget-object v1, Ljava/nio/ByteOrder;->BIG_ENDIAN:Ljava/nio/ByteOrder;
goto :goto_12
:cond_10
sget-object v1, Ljava/nio/ByteOrder;->LITTLE_ENDIAN:Ljava/nio/ByteOrder;
:goto_12
invoke-virtual {v0, v1}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
.line 4
iget-wide v1, p2, Lio/rong/imlib/relinker/elf/Elf$Header;->shoff:J
iget p2, p2, Lio/rong/imlib/relinker/elf/Elf$Header;->shentsize:I
mul-int p3, p3, p2
int-to-long p2, p3
add-long/2addr v1, p2
const-wide/16 p2, 0x2c
add-long/2addr v1, p2
invoke-virtual {p1, v0, v1, v2}, Lio/rong/imlib/relinker/elf/ElfParser;->readWord(Ljava/nio/ByteBuffer;J)J
move-result-wide p1
iput-wide p1, p0, Lio/rong/imlib/relinker/elf/Elf$SectionHeader;->info:J
return-void
.end method