//
// GJBaseGameLayer::resetRecordFull from 0x100156af0 to 0x100156ba5 (181 bytes)
//
// 0 xrefs:
//
// 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::resetRecordFull(GJBaseGameLayer *a1)
{
std::__hash_node_base, void *> *>::__next_pointer next; // r14
unsigned __int64 value; // rsi
std::__hash_node_base, void *> *> *v3; // r15
a1->m_queuedRecordedButtons.__end_ = a1->m_queuedRecordedButtons.__begin_;
if ( a1->m_unk3330.__table_.__p2_.__value_ )
{
next = a1->m_unk3330.__table_.__p1_.__value_.__next_;
if ( next )
{
do
{
v3 = next->__next_;
if ( ((__int64)next[8].__next_ & 1) != 0 )
operator delete(next[10].__next_);
operator delete(next);
next = v3;
}
while ( v3 );
}
a1->m_unk3330.__table_.__p1_.__value_.__next_ = nullptr;
value = a1->m_unk3330.__table_.__bucket_list_.__ptr_.__value_.__data_.__value_;
if ( value )
__bzero(a1->m_unk3330.__table_.__bucket_list_.__ptr_.__value_, 8 * value);
a1->m_unk3330.__table_.__p2_.__value_ = 0;
}
a1->m_unk3370 = 0;
a1->m_queuedRecordedButtonsSize = 0;
a1->m_currentStep = 0;
}