// // PlayLayer::loadActiveSaveObjects from 0x312e92 to 0x312ee4 (82 bytes) // // 1 xrefs: // > PlayLayer::loadFromCheckpoint @ 0x31f584 // // 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 PlayLayer::loadActiveSaveObjects( PlayLayer *a1, std::vector *a2, std::vector *a3) { SavedActiveObjectState *m_finish; // r0 SavedActiveObjectState *i; // r3 bool m_activatedByPlayer1; // r4 GameObject *m_gameObject; // r1 SavedSpecialObjectState *m_start; // r4 SavedSpecialObjectState *v8; // r5 GameObject *v9; // r0 m_finish = a2->m_finish; for ( i = a2->m_start; i != m_finish; BYTE1(m_gameObject[1].m_obAnchorPoint.x) = i[-1].m_activatedByPlayer2 ) { m_activatedByPlayer1 = i->m_activatedByPlayer1; ++i; m_gameObject = i[-1].m_gameObject; LOBYTE(m_gameObject[1].m_obAnchorPoint.x) = m_activatedByPlayer1; } m_start = a3->m_start; v8 = a3->m_finish; while ( m_start != v8 ) { v9 = m_start->m_gameObject; if ( m_start->m_gameObject->m_classType == Animated ) { AnimatedGameObject::playAnimation((AnimatedGameObject *)v9, m_start->m_animationID); } else if ( v9->m_objectID == 1615 ) { LOBYTE(v9[1].m_followingSprite) = 1; } ++m_start; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source