// // GJBaseGameLayer::addToObjectsToShow from 0x47df28 to 0x47df6a (66 bytes) // // 5 xrefs: // > GJBaseGameLayer::preUpdateVisibility @ 0x4895a0 // > GJBaseGameLayer::preUpdateVisibility @ 0x48961c // > GJBaseGameLayer::preUpdateVisibility @ 0x489776 // > GJBaseGameLayer::preUpdateVisibility @ 0x489a4a // > GJBaseGameLayer::preUpdateVisibility @ 0x489ae6 // // 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 GJBaseGameLayer::addToObjectsToShow(GJBaseGameLayer *a1, GameObject *a2) { int m_activeObjectsCount; // r3 int m_activeObjectsIndex; // r2 GameObject *v5; // [sp+4h] [bp-8h] BYREF v5 = a2; m_activeObjectsCount = a1->m_activeObjectsCount; m_activeObjectsIndex = a1->m_activeObjectsIndex; v5 = a2; if ( m_activeObjectsIndex > m_activeObjectsCount ) { a1->m_activeObjects.m_start[m_activeObjectsCount] = a2; } else { std::vector::push_back((int)&a1->m_activeObjects, &v5); ++a1->m_activeObjectsIndex; } ++a1->m_activeObjectsCount; }
GD Web Decomp Icon

GD Web Decomp

Raw Source