// // GJBaseGameLayer::shouldUseSubstepForButton from 0x4758e4 to 0x475960 (124 bytes) // // 1 xrefs: // > GJBaseGameLayer::update @ 0x4974da // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool GJBaseGameLayer::shouldUseSubstepForButton(GJBaseGameLayer *a1, float a2) { _BOOL4 IsRelevant; // r0 double m_timestamp; // d11 PlayerButtonCommand *m_finish; // r6 PlayerButtonCommand *m_start; // r4 double v7; // d9 double v8; // d8 double v9; // d10 if ( a1->m_clickBetweenSteps ) { m_timestamp = a1->m_timestamp; m_finish = a1->m_queuedButtons.m_finish; m_start = a1->m_queuedButtons.m_start; v7 = a2 * 0.5; v8 = m_timestamp + a2; while ( m_start != m_finish ) { v9 = m_start->m_timestamp; if ( v9 >= m_timestamp + v7 && v9 < v8 ) { IsRelevant = GJBaseGameLayer::buttonIsRelevant(a1, m_start); if ( IsRelevant ) return IsRelevant; } ++m_start; if ( v9 >= v8 ) break; } } LOBYTE(IsRelevant) = 0; return IsRelevant; }
GD Web Decomp Icon

GD Web Decomp

Raw Source