// // GJBaseGameLayer::processQueuedButtons from 0x1001fab00 to 0x1001fabbc (188 bytes) // // 2 xrefs: // > PlayLayer::pauseGame @ 0x10012289c // > GJBaseGameLayer::processCommands @ 0x1001ff5c4 // // 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 __fastcall GJBaseGameLayer::processQueuedButtons(GJBaseGameLayer *a1, float a2, bool a3) { std::__vector_base::pointer begin; // x8 double v6; // d8 std::__vector_base::pointer v7; // x21 std::__vector_base::pointer end; // x8 signed __int64 v9; // x22 begin = a1->m_queuedButtons.__begin_; if ( a1->m_queuedButtons.__end_ != begin ) { v6 = a2; do { if ( !a3 && begin->m_timestamp >= a1->m_timestamp + v6 ) break; GJBaseGameLayer::handleButton(a1, begin->m_isPush, begin->m_button, !begin->m_isPlayer2); v7 = a1->m_queuedButtons.__begin_; end = a1->m_queuedButtons.__end_; v9 = (char *)end - (char *)&v7[1]; if ( end != &v7[1] ) memmove(a1->m_queuedButtons.__begin_, &v7[1], (char *)end - (char *)&v7[1]); begin = a1->m_queuedButtons.__begin_; a1->m_queuedButtons.__end_ = (std::__vector_base::pointer)((char *)v7 + v9); } while ( (std::__vector_base::pointer)((char *)v7 + v9) != begin ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source