Skip to content

Commit 9b16f57

Browse files
committed
Match 5 more node state-callbacks (setup + sub-object call + advance)
- ov297_020d5644: state[0x50]=0x900, state[0x38]=0x27d8 (like ov298_5484) - ov291_020ccd28: func_ov107_020c9264(*state,1,0) + func_ov107_020c9ee8( *(int*)(*state+0x394),0,0) - ov241_020d0a30 / ov242_020d4670 / ov243_020d44b4: func_ov107_020c9264( *state,1,1) + func_ov107_020c9ee8(*(int*)(*state+0x39c or 0x390),0,1) + *(u8)(state+0x40)=0 (these are sub-handlers of the deferred ov241 dispatcher family)
1 parent 176e19a commit 9b16f57

10 files changed

Lines changed: 58 additions & 133 deletions

File tree

src/overlays/ov241/asm_stubs/calls/func_ov241_020d0a30.c

Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
extern void func_ov107_020c9264(int a, int b, int c);
2+
extern void func_ov107_020c9ee8(int a, int b, int c);
3+
extern void func_0203c634(void *node, int idx, void *value);
4+
extern void func_ov241_020d0a80(void);
5+
6+
void func_ov241_020d0a30(int *node) {
7+
int *state = (int *)node[1];
8+
func_ov107_020c9264(*state, 1, 1);
9+
func_ov107_020c9ee8(*(int *)(*state + 0x39c), 0, 1);
10+
*(unsigned char *)((char *)state + 0x40) = 0;
11+
func_0203c634(node, *(signed char *)((char *)node + 0x20), func_ov241_020d0a80);
12+
}

src/overlays/ov242/asm_stubs/calls/func_ov242_020d4670.c

Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
extern void func_ov107_020c9264(int a, int b, int c);
2+
extern void func_ov107_020c9ee8(int a, int b, int c);
3+
extern void func_0203c634(void *node, int idx, void *value);
4+
extern void func_ov242_020d46c0(void);
5+
6+
void func_ov242_020d4670(int *node) {
7+
int *state = (int *)node[1];
8+
func_ov107_020c9264(*state, 1, 1);
9+
func_ov107_020c9ee8(*(int *)(*state + 0x39c), 0, 1);
10+
*(unsigned char *)((char *)state + 0x40) = 0;
11+
func_0203c634(node, *(signed char *)((char *)node + 0x20), func_ov242_020d46c0);
12+
}

src/overlays/ov243/asm_stubs/calls/func_ov243_020d44b4.c

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
extern void func_ov107_020c9264(int a, int b, int c);
2+
extern void func_ov107_020c9ee8(int a, int b, int c);
3+
extern void func_0203c634(void *node, int idx, void *value);
4+
extern void func_ov243_020d4504(void);
5+
6+
void func_ov243_020d44b4(int *node) {
7+
int *state = (int *)node[1];
8+
func_ov107_020c9264(*state, 1, 1);
9+
func_ov107_020c9ee8(*(int *)(*state + 0x390), 0, 1);
10+
*(unsigned char *)((char *)state + 0x40) = 0;
11+
func_0203c634(node, *(signed char *)((char *)node + 0x20), func_ov243_020d4504);
12+
}

src/overlays/ov291/asm_stubs/calls/func_ov291_020ccd28.c

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
extern void func_ov107_020c9264(int a, int b, int c);
2+
extern void func_ov107_020c9ee8(int a, int b, int c);
3+
extern void func_0203c634(void *node, int idx, void *value);
4+
extern void func_ov291_020ccd70(void);
5+
6+
void func_ov291_020ccd28(int *node) {
7+
int *state = (int *)node[1];
8+
func_ov107_020c9264(*state, 1, 0);
9+
func_ov107_020c9ee8(*(int *)(*state + 0x394), 0, 0);
10+
func_0203c634(node, *(signed char *)((char *)node + 0x20), func_ov291_020ccd70);
11+
}

src/overlays/ov297/asm_stubs/calls/func_ov297_020d5644.c

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
extern void func_ov107_020c9264(int a, int b, int c);
2+
extern void func_0203c634(void *node, int idx, void *value);
3+
extern void func_ov297_020d568c(void);
4+
5+
void func_ov297_020d5644(int *node) {
6+
int *state = (int *)node[1];
7+
func_ov107_020c9264(*state, 0, 1);
8+
state[0x14] = 0x900;
9+
state[0xe] = 0x27d8;
10+
func_0203c634(node, *(signed char *)((char *)node + 0x20), func_ov297_020d568c);
11+
}

0 commit comments

Comments
 (0)