From edec5a8ec0dc36d2e796f825a1266557a427d840 Mon Sep 17 00:00:00 2001 From: gijs Date: Fri, 20 Oct 2023 12:21:58 +0200 Subject: [PATCH] Decompile `nuScResetClientMesgType` --- src/_ob_past_brick.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/_ob_past_brick.c b/src/_ob_past_brick.c index ecd8d26..49a307e 100644 --- a/src/_ob_past_brick.c +++ b/src/_ob_past_brick.c @@ -32,7 +32,13 @@ void nuScAddClient(NUScClient* client, OSMesgQueue* queue, NUScMsg type) { osSetIntMask(mask); } -INCLUDE_ASM(const s32, "_ob_past_brick", nuScResetClientMesgType); +void nuScResetClientMesgType(NUScClient* client, NUScMsg msgType) { + s32 mask; + + mask = osSetIntMask(OS_IM_NONE); + client->msgType = msgType; + osSetIntMask(mask); +} void nuScRemoveClient(NUScClient* client) { s32 mask = osSetIntMask(OS_IM_NONE);