// // GJBaseGameLayer::recordAction from 0x876874 to 0x876938 (196 bytes) // // 2 xrefs: // > GJBaseGameLayer::handleButton @ 0x88c844 // > @ 0x4b018 // // 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 // void GJBaseGameLayer::recordAction(GJBaseGameLayer *a1, int a2, bool a3, bool a4) { RecordButtonCommand *m_finish; // x5 RecordButtonCommand *m_reserveEnd; // x6 __int64 v6; // x1 __int64 v7; // [xsp+28h] [xbp+28h] BYREF __int64 v8; // [xsp+30h] [xbp+30h] if ( a1->m_recordInputs && !a1->m_useReplay ) { m_finish = a1->m_queuedRecordedButtons.m_finish; if ( (unsigned __int64)(m_finish - a1->m_queuedRecordedButtons.m_start) <= 0x1869F ) { m_reserveEnd = a1->m_queuedRecordedButtons.m_reserveEnd; v8 = 0; LODWORD(v7) = a2; BYTE4(v7) = a3; BYTE5(v7) = a4; if ( m_finish == m_reserveEnd ) { std::vector::_M_emplace_back_aux( (__int64)&a1->m_queuedRecordedButtons, &v7); } else { if ( m_finish ) { v6 = v8; *(_QWORD *)&m_finish->m_button = v7; *(_QWORD *)&m_finish->m_step = v6; } a1->m_queuedRecordedButtons.m_finish = m_finish + 1; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source