// // LevelEditorLayer::addObjectFromVector from 0x1000df2e0 to 0x1000df360 (128 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 // GameObject *__fastcall LevelEditorLayer::addObjectFromVector( LevelEditorLayer *a1, std::vector *a2, std::vector *a3) { GameObject *v3; // rax int m_objectID; // ecx GameObject *v6; // r14 v3 = GameObject::objectFromVector(a2, a3, a1, 0); if ( !v3 ) return nullptr; m_objectID = v3->m_objectID; if ( m_objectID == 142 || m_objectID == 1329 && a1->m_coinCount.random - a1->m_coinCount.seed > 2 ) return nullptr; v6 = v3; ((void (__fastcall *)(GameObject *, _QWORD))v3->setVisible)(v3, 0); ((void (__fastcall *)(LevelEditorLayer *, GameObject *))a1->addToSection)(a1, v6); LevelEditorLayer::addSpecial(a1, v6); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source