This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void __fastcall judge_spin_note(CGameSceneComponent *cGSC_, NoteStruct *noteStruct) | |
{ | |
NoteStruct *NS; // rbx | |
CGameSceneComponent *cGSC; // rdi | |
NOTE_KIND_INTERNAL kind; // er8 | |
int stime; // eax | |
float v6; // xmm0_4 | |
int adjTime; // edx | |
float noteTimeDelta__; // xmm4_4 | |
__int64 lane; // rax |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void __fastcall judge_hold_note(CGameSceneComponent *cGSC_, NoteStruct *noteStruct_, __int64 flag) | |
{ | |
char some_holdnote_flag; // r15 | |
NoteStruct *noteStruct; // rbx | |
CGameSceneComponent *cGSC; // rdi | |
int note_stime; // er10 | |
float temp_flt; // xmm0_4 | |
int note_etime; // er14 | |
int curTime; // eax | |
int adjTime; // er12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void __fastcall judge_notes(CGameSceneComponent *cGSC_) | |
{ | |
//skipping less relevant code before and after this snippet. | |
NS = cGSC->CGameSequence.curNoteStructWindow; | |
cGSC->hit_note_judgedLaneMask = 0; | |
while ( NS != cGSC->CGameSequence.curNoteStructWindow_endloc ) | |
{ | |
noteStruct = *NS; | |
if ( *NS && !cGSC->note_hit_array[noteStruct->lane] ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pin definitions | |
#define DATA_PIN 2 | |
#define CLOCK_PIN 3 | |
#define HI(pin) pinMode(pin, INPUT) | |
#define LO(pin) pinMode(pin, OUTPUT) | |
enum VOLTAGE: uint32_t { | |
_12vto15v = 0b11, | |
_9vto12v = 0b10, | |
_6vto9v = 0b01, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void __fastcall judge_hit_note(CGameSceneComponent *cGSC_, NoteStruct *noteStruct_) | |
{ | |
NoteStruct *noteStruct; // rdi | |
CGameSceneComponent *cGSC; // rbx | |
int v4; // eax | |
int noteTimeDelta; // er13 | |
float flt_noteTimeDelta; // xmm6_4 | |
float temp_flt; // xmm0_4 | |
int judgeType; // esi | |
NOTE_TYPE_INTERNAL lane; // er11 |