// // GJBaseGameLayer::addToGroups from 0x140223f40 to 0x140223fcf (143 bytes) // // 7 xrefs: // > LevelEditorLayer::addSpecial @ 0x1402d8152 // > PlayLayer::addObject @ 0x1403ade7b // > PlayLayer::addObject @ 0x1403ae461 // > PlayLayer::addObject @ 0x1403ae9aa // > @ 0x14067fefc // > @ 0x14067ff0c // > @ 0x1406cd614 // // 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::addToGroups(GJBaseGameLayer *a1, GameObject *a2, bool a3) { int v6; // ebp __int64 v7; // rsi unsigned __int64 v8; // rdi std::array *m_groups; // rax __int64 v10; // r8 if ( a2->m_groupCount > 0 ) { v6 = 0; v7 = 0; v8 = 0; do { if ( v8 <= 9 && (m_groups = a2->m_groups) != nullptr ) v10 = (unsigned int)m_groups->_Elems[v7]; else v10 = 0; a1->addToGroup(a1, a2, v10, a3); ++v6; ++v8; ++v7; } while ( v6 < a2->m_groupCount ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source