Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -4,18 +4,13 @@ function valuebox_cachein() /* entry=130 class_id=0x0251 slot=0x04 */
|
|||
referent, /* [BP+00h] type=0x69 */
|
||||
randNum; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0213, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A19_slot_20(arg_06);
|
||||
if (retval != 0) goto block_0125;
|
||||
|
||||
block_0104:
|
||||
set_info(0x0213, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A19_slot_20(arg_06);
|
||||
if (retval == 0) {
|
||||
class_0A0C_slot_20(0x0383);
|
||||
randNum = (retval + 100);
|
||||
class_0251_slot_20(randNum, arg_06);
|
||||
|
||||
block_0125:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,10 +6,8 @@ function valuebox_slot_20() /* entry=130 class_id=0x0251 slot=0x20 */
|
|||
lowByte, /* [BP-02h] type=0x69 */
|
||||
highByte; /* [BP-04h] type=0x69 */
|
||||
|
||||
entry:
|
||||
lowByte = (rand & 0x00FF);
|
||||
/* rsh */
|
||||
highByte = (8 & 3);
|
||||
return;
|
||||
|
||||
lowByte = (rand & 0x00FF);
|
||||
/* rsh */
|
||||
highByte = (8 & 3);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue