// // GJBaseGameLayer::processQueuedButtons from 0x10014aa80 to 0x10014ab91 (273 bytes) // // 3 xrefs: // > PlayLayer::pauseGame @ 0x1000bf382 // > GJBaseGameLayer::update @ 0x100151da9 // > GJBaseGameLayer::processCommands @ 0x1001536ef // // 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; // rax PlayerButtonCommand *v4; // r14 std::__vector_base::pointer v5; // r14 char *v6; // r15 PlayerButtonCommand *v7; // r14 std::__vector_base::pointer v8; // r14 char *v9; // r15 begin = a1->m_queuedButtons.__begin_; if ( a1->m_queuedButtons.__end_ != begin ) { if ( a3 ) { do { GJBaseGameLayer::handleButton(a1, begin->m_isPush, begin->m_button, !begin->m_isPlayer2); v5 = a1->m_queuedButtons.__begin_; begin = v5; v6 = (char *)((char *)a1->m_queuedButtons.__end_ - (char *)(v5 + 1)); if ( v6 ) { memmove(a1->m_queuedButtons.__begin_, &v5[1], (size_t)v6); begin = a1->m_queuedButtons.__begin_; } v4 = (std::__vector_base::pointer)((char *)v5 + (_QWORD)v6); a1->m_queuedButtons.__end_ = v4; } while ( v4 != begin ); } else { do { if ( a1->m_timestamp + a2 <= begin->m_timestamp ) break; GJBaseGameLayer::handleButton(a1, begin->m_isPush, begin->m_button, !begin->m_isPlayer2); v8 = a1->m_queuedButtons.__begin_; begin = v8; v9 = (char *)((char *)a1->m_queuedButtons.__end_ - (char *)(v8 + 1)); if ( v9 ) { memmove(a1->m_queuedButtons.__begin_, &v8[1], (size_t)v9); begin = a1->m_queuedButtons.__begin_; } v7 = (std::__vector_base::pointer)((char *)v8 + (_QWORD)v9); a1->m_queuedButtons.__end_ = v7; } while ( v7 != begin ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source