Skip to content
Guest Big Announcement

Help Regarding ARM function

Featured Replies

hey

 

can anyone plzz help me by explaining the following function 

==> public static int get_StarsTotalCollected();

 

=========================FUNCTION============================================== 

sub_85014C                              ; CODE XREF: .text:00578D00p
.text:0085014C                                         ; DATA XREF: .data.rel.ro:011A8F84o
.text:0085014C                 STMFD           SP!, {R4,R5,R11,LR}
.text:00850150                 ADD             R11, SP, #8
.text:00850154                 LDR             R0, =(_GLOBAL_OFFSET_TABLE_ - 0x850164)
.text:00850158                 LDR             R4, =(unk_121B7A0 - 0x11C2764)
.text:0085015C                 ADD             R0, PC, R0 ; _GLOBAL_OFFSET_TABLE_
.text:00850160                 ADD             R0, R4, R0 ; unk_121B7A0
.text:00850164                 LDRB            R0, [R0,#(byte_121B937 - 0x121B7A0)]
.text:00850168                 CMP             R0, #0
.text:0085016C                 BNE             loc_850194
.text:00850170                 LDR             R0, =(_GLOBAL_OFFSET_TABLE_ - 0x850180)
.text:00850174                 LDR             R1, =(off_11C9ED0 - 0x11C2764)
.text:00850178                 ADD             R5, PC, R0 ; _GLOBAL_OFFSET_TABLE_
.text:0085017C                 LDR             R0, [R1,R5] ; unk_F5EA2C
.text:00850180                 LDR             R0, [R0]
.text:00850184                 BL              sub_EA0F60
.text:00850188                 ADD             R0, R4, R5 ; unk_121B7A0
.text:0085018C                 MOV             R1, #1
.text:00850190                 STRB            R1, [R0,#(byte_121B937 - 0x121B7A0)]
==============================================================================
visit this link for graph view
 
would be thankful
 
also tell me how do i return a high value

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.