// // SpawnTriggerGameObject::removeRemap from 0x765fbc to 0x76604c (144 bytes) // // 2 xrefs: // > SetupSpawnPopup::onDeleteRemap @ 0x8ea450 // > @ 0xa9590 // // 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 SpawnTriggerGameObject::removeRemap(SpawnTriggerGameObject *a1, int a2, int a3) { ChanceObject *m_start; // x3 ChanceObject *m_finish; // x7 __int64 v5; // x6 __int64 v6; // x4 ChanceObject *v7; // x1 __int64 v8; // x4 ChanceObject *v9; // x4 __int64 v10; // x2 __int64 v11; // x3 m_start = a1->m_remapObjects.m_start; m_finish = a1->m_remapObjects.m_finish; if ( m_start != m_finish ) { v5 = m_finish - m_start; if ( v5 ) { v6 = 0; while ( 1 ) { ++v6; if ( m_start->m_groupID == a2 && m_start->m_chance == a3 ) break; ++m_start; if ( v6 == v5 ) return; } v7 = m_start + 1; if ( m_finish != &m_start[1] ) { v8 = m_finish - v7; if ( v8 > 0 ) { v9 = &m_start[v8 + 1]; do { v10 = *(_QWORD *)&v7->m_groupID; v11 = *(_QWORD *)&v7->m_chance; ++v7; *(_QWORD *)&v7[-2].m_groupID = v10; *(_QWORD *)&v7[-2].m_chance = v11; } while ( v7 != v9 ); } } a1->m_remapObjects.m_finish = m_finish - 1; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source