//
// GJShaderState::GJShaderState from 0x1000ca5b0 to 0x1000ca66a (186 bytes)
//
// 2 xrefs:
// > CheckpointObject::CheckpointObject @ 0x1000ca3f9
// > CheckpointObject::CheckpointObject @ 0x1000ca405
//
// 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
//
GJShaderState *__fastcall GJShaderState::GJShaderState(GJShaderState *a1)
{
std::__hash_node_base, void *> *>::__next_pointer next; // r14
std::__hash_node_base, void *> *> **value; // rdi
GJShaderState *result; // rax
std::__hash_node_base, void *> *>::__next_pointer v5; // rdi
std::__hash_node_base, void *> *> *v6; // r12
std::__hash_node_base, void *> *> *v7; // r13
__int64 v8; // r15
_QWORD *v9; // rsi
void *v10; // rdi
next = a1->m_tweenActions.__table_.__p1_.__value_.__next_;
if ( next )
{
do
{
v6 = next->__next_;
v7 = next[3].__next_;
if ( v7 )
{
v8 = (__int64)next[4].__next_;
v5 = next[3].__next_;
if ( (std::__hash_node_base, void *> *> *)v8 != v7 )
{
do
{
v10 = *(void **)(v8 - 32);
if ( v10 )
{
*(_QWORD *)(v8 - 24) = v10;
operator delete(v10);
}
v9 = *(_QWORD **)(v8 - 232);
v8 -= 240;
sub_100054D90(v8, v9);
}
while ( (std::__hash_node_base, void *> *> *)v8 != v7 );
v5 = next[3].__next_;
}
next[4].__next_ = v7;
operator delete(v5);
}
operator delete(next);
next = v6;
}
while ( v6 );
}
value = a1->m_tweenActions.__table_.__bucket_list_.__ptr_.__value_;
a1->m_tweenActions.__table_.__bucket_list_.__ptr_.__value_ = nullptr;
if ( value )
operator delete(value);
return result;
}