// // SequenceTriggerGameObject::reorderTarget from 0x7630f4 to 0x763198 (164 bytes) // // 2 xrefs: // > SetupSequenceTriggerPopup::onChangeOrder @ 0xa59d88 // > @ 0xbae40 // // 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 // bool SequenceTriggerGameObject::reorderTarget(SequenceTriggerGameObject *a1, int a2, bool a3) { ChanceObject *m_start; // x4 ChanceObject *m_finish; // x0 _BOOL4 v5; // w5 __int64 v6; // x3 int v7; // w0 ChanceObject *v8; // x2 ChanceObject *v9; // x0 int m_groupID; // w10 int m_oldGroupID; // w9 int m_chance; // w8 __int64 v13; // x7 int m_unk00c; // w3 m_start = a1->m_chanceObjects.m_start; m_finish = a1->m_chanceObjects.m_finish; LOBYTE(v5) = 0; v6 = m_finish - m_start; if ( (int)v6 > a2 ) { v5 = a3 || a2 != (_DWORD)v6 - 1; if ( v5 ) { if ( m_start == m_finish || a3 && a2 == 0 ) { LOBYTE(v5) = 0; } else { if ( a3 ) v7 = -1; else v7 = 1; v8 = &m_start[a2]; v9 = &m_start[v7 + a2]; m_groupID = v8->m_groupID; m_oldGroupID = v8->m_oldGroupID; m_chance = v8->m_chance; v13 = *(_QWORD *)&v9->m_chance; m_unk00c = v8->m_unk00c; *(_QWORD *)&v8->m_groupID = *(_QWORD *)&v9->m_groupID; *(_QWORD *)&v8->m_chance = v13; v9->m_groupID = m_groupID; v9->m_oldGroupID = m_oldGroupID; v9->m_chance = m_chance; v9->m_unk00c = m_unk00c; } } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source