//
// PlayLayer::loadActiveSaveObjects from 0x1000bda50 to 0x1000bdaf5 (165 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 PlayLayer::loadActiveSaveObjects(
PlayLayer *a1,
std::vector *a2,
std::vector *a3)
{
std::__vector_base::pointer begin; // rax
SavedActiveObjectState *end; // rcx
GameObject *m_gameObject; // rsi
std::__vector_base::pointer v6; // rbx
SavedSpecialObjectState *v7; // r14
AnimatedGameObject *v8; // rdi
begin = a2->__begin_;
end = a2->__end_;
if ( a2->__begin_ != end )
{
do
{
m_gameObject = begin->m_gameObject;
LOBYTE(m_gameObject[1].m_obAnchorPointInPoints.x) = begin->m_activatedByPlayer1;
BYTE1(m_gameObject[1].m_obAnchorPointInPoints.x) = begin->m_activatedByPlayer2;
++begin;
}
while ( begin != end );
}
v6 = a3->__begin_;
v7 = a3->__end_;
if ( a3->__begin_ != v7 )
{
do
{
while ( 1 )
{
v8 = (AnimatedGameObject *)v6->m_gameObject;
if ( v6->m_gameObject->m_classType != Animated )
break;
AnimatedGameObject::playAnimation(v8, v6->m_animationID);
if ( ++v6 == v7 )
return;
}
if ( v8->m_objectID == 1615 )
v8[1].m_bDirty = 1;
++v6;
}
while ( v6 != v7 );
}
}