MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / Swap4

Function Swap4

src/SB/Core/x/xbinio.cpp:390–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390static void Swap4(char* d, S32 n)
391{
392 char t;
393
394 while (n--)
395 {
396 t = d[0];
397 d[0] = d[3];
398 d[3] = t;
399
400 t = d[1];
401 d[1] = d[2];
402 d[2] = t;
403
404 d += 4;
405 }
406}
407
408static void Swap8(char* d, S32 n)
409{

Callers 4

ReadMLongsFunction · 0.85
ReadMFloatsFunction · 0.85
ReadILongsFunction · 0.85
ReadIFloatsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected