diff options
| author | Luke Street <luke.street@encounterpc.com> | 2023-09-10 00:42:26 -0400 |
|---|---|---|
| committer | Luke Street <luke.street@encounterpc.com> | 2023-09-10 00:48:55 -0400 |
| commit | adb95b135c3d7498eba29bbd9728d345eed5a407 (patch) | |
| tree | 655575b939c12067569263171b68c079b1a232c8 /src/SSystem/SComponent/c_request.cpp | |
| parent | 81ac53f1317dafb3506ae3ed8b2820d40645c3c8 (diff) | |
Import project
Original repository: https://github.com/encounter/ww
Diffstat (limited to 'src/SSystem/SComponent/c_request.cpp')
| -rw-r--r-- | src/SSystem/SComponent/c_request.cpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/SSystem/SComponent/c_request.cpp b/src/SSystem/SComponent/c_request.cpp new file mode 100644 index 00000000..a72a8fd9 --- /dev/null +++ b/src/SSystem/SComponent/c_request.cpp @@ -0,0 +1,36 @@ +// +// Generated by dtk +// Translation Unit: c_request.cpp +// + +#include "SSystem/SComponent/c_request.h" +#include "dolphin/types.h" + +/* 80245364-80245390 .text cReq_Is_Done__FP18request_base_class */ +int cReq_Is_Done(request_base_class* param_0) { + if (param_0->field_0x0.flag1 == 1) { + param_0->field_0x0.flag1 = 0; + return 1; + } + return 0; +} + +/* 80245390-802453C0 .text cReq_Done__FP18request_base_class */ +void cReq_Done(request_base_class* param_0) { + param_0->field_0x0.flag0 = 0; + param_0->field_0x0.flag1 = 1; + param_0->field_0x0.flag2 = 0; +} + + +/* 802453C0-802453E0 .text cReq_Command__FP18request_base_classUc */ +void cReq_Command(request_base_class* param_0, u8 param_1) { + cReq_Create(param_0, param_1); +} + +/* 802453E0-80245410 .text cReq_Create__FP18request_base_classUc */ +void cReq_Create(request_base_class* param_0, u8 param_1) { + param_0->field_0x0.flag0 = 1; + param_0->field_0x0.flag1 = 0; + param_0->field_0x0.flag2 = param_1; +} |
