Skip to content

Commit c60f736

Browse files
committed
overlays: decompile 4 leaf families (GetField8Field68, GetField8Field78, GetField54cPtr, MeasureWideStringHeight)
1 parent 85582a2 commit c60f736

8 files changed

Lines changed: 40 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
int func_ov002_0207a0a8(char *obj) {
2+
return *(int *)(*(char **)(obj + 8) + 0x68);
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
int func_ov002_0207c098(char *obj) {
2+
return *(int *)(*(char **)(obj + 8) + 0x68);
3+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
int func_ov008_02074b10(unsigned short *str) {
2+
int count;
3+
unsigned short c;
4+
if (str == 0 || (c = *str) == 0) return 0;
5+
count = 2;
6+
while (c != 0) {
7+
if (c == 0xa) count += 2;
8+
c = *++str;
9+
}
10+
return count;
11+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
int func_ov015_0207fcc4(char *obj) {
2+
return *(int *)(*(char **)(obj + 8) + 0x78);
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
int func_ov015_02081c90(char *obj) {
2+
return *(int *)(*(char **)(obj + 8) + 0x78);
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
char *func_ov015_02081c9c(char *obj) {
2+
return obj + 0x54c;
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
char *func_ov016_02081d14(char *obj) {
2+
return obj + 0x54c;
3+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
int func_ov025_020aa168(unsigned short *str) {
2+
int count;
3+
unsigned short c;
4+
if (str == 0 || (c = *str) == 0) return 0;
5+
count = 2;
6+
while (c != 0) {
7+
if (c == 0xa) count += 2;
8+
c = *++str;
9+
}
10+
return count;
11+
}

0 commit comments

Comments
 (0)