Advertisement
Kurausukun

Untitled

Jul 27th, 2024
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 2.12 KB | None | 0 0
  1. static void ov117_0226168C (UnkStruct_ov117_02261280 *param0, NARC *param1)
  2. {
  3.     {
  4.         int v0;
  5.         Strbuf *v1, *v2;
  6.         int v3;
  7.  
  8.         sub_0200CDC4(param0->unk_8C, 2, param0->unk_24, param0->unk_28, param1, 27, 0, 1, NNS_G2D_VRAM_TYPE_2DMAIN, 10003);
  9.  
  10.         v1 = MessageLoader_GetNewStrbuf(param0->unk_80, 2);
  11.         v0 = 6 + ((30 - sub_02002D7C(0, v1, 0)) / 2);
  12.         ov117_02265DB8(param0->unk_2C, param0->unk_28, param0->unk_90, &param0->unk_15A8.unk_F4, v1, 0, ((u32)((((0xe) & (0xff)) << 16) | (((0xf) & (0xff)) << 8) | ((0 & (0xff)) << 0))), 0, 10003, v0 + 6 * 6, 168, 0, 1, 12, 2);
  13.         Strbuf_Free(v1);
  14.  
  15.         v1 = MessageLoader_GetNewStrbuf(param0->unk_80, 0);
  16.         v2 = MessageLoader_GetNewStrbuf(param0->unk_80, 1);
  17.         for (v3 = 0; v3 < 6; v3++) {
  18.             ov117_02265DB8(param0->unk_2C, param0->unk_28, param0->unk_90, &param0->unk_15A8.unk_04[v3][0], v1, 0, ((u32)((((0xe) & (0xff)) << 16) | (((0xf) & (0xff)) << 8) | ((0 & (0xff)) << 0))), 0, 10003, v0 + 8 * v3, 168, 0, 3, 12, 2 * 5);
  19.             ov117_02265DB8(param0->unk_2C, param0->unk_28, param0->unk_90, &param0->unk_15A8.unk_04[v3][1], v2, 0, ((u32)((((0xe) & (0xff)) << 16) | (((0xf) & (0xff)) << 8) | ((0 & (0xff)) << 0))), 0, 10003, v0 + 8 * v3, 168, 0, 3, 12, 2 * 5);
  20.         }
  21.         Strbuf_Free(v1);
  22.         Strbuf_Free(v2);
  23.  
  24.         ov117_02265EC8(&param0->unk_15A8);
  25.  
  26.         ov117_02266150(param0);
  27.  
  28.         sub_0200CDC4(param0->unk_8C, 2, param0->unk_24, param0->unk_28, param1, 27, 0, 1, NNS_G2D_VRAM_TYPE_2DMAIN, 10004);
  29.         sub_0200CC3C(param0->unk_24, param0->unk_28, param1, 24, 0, NNS_G2D_VRAM_TYPE_2DMAIN, 10002);
  30.         sub_0200CE24(param0->unk_24, param0->unk_28, param1, 26, 0, 10002);
  31.         sub_0200CE54(param0->unk_24, param0->unk_28, param1, 25, 0, 10002);
  32.         param0->unk_15A8.unk_00 = ov117_02266130(param0);
  33.     }
  34.  
  35.     sub_0200CD7C(param0->unk_8C, 2, param0->unk_24, param0->unk_28, 171, 20, 0, 1, NNS_G2D_VRAM_TYPE_2DMAIN, 10002);
  36.     sub_0200CBDC(param0->unk_24, param0->unk_28, 171, 21, 0, NNS_G2D_VRAM_TYPE_2DMAIN, 10001);
  37.     sub_0200CE0C(param0->unk_24, param0->unk_28, 171, 22, 0, 10001);
  38.     sub_0200CE3C(param0->unk_24, param0->unk_28, 171, 23, 0, 10001);
  39.     param0->unk_174C.unk_00 = ov117_02266244(param0);
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement