// // SequenceTriggerGameObject::deleteTarget from 0x1001c6560 to 0x1001c65d7 (119 bytes) // // 1 xrefs: // > SetupSequenceTriggerPopup::onDeleteSelected @ 0x1004de858 // // 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 __fastcall SequenceTriggerGameObject::deleteTarget(SequenceTriggerGameObject *a1, int a2) { std::__vector_base::pointer begin; // rax __int64 v3; // rcx __int64 v4; // rdx ChanceObject *v5; // r14 char *v6; // rsi char *v7; // rbx if ( a2 >= 0 ) { begin = a1->m_chanceObjects.__begin_; v3 = (char *)a1->m_chanceObjects.__end_ - (char *)begin; if ( v3 ) { if ( (v3 >> 4) - 1 >= (unsigned __int64)(unsigned int)a2 ) { v4 = (unsigned int)a2; v5 = &begin[v4]; v6 = (char *)&begin[v4 + 1]; v7 = (char *)((char *)a1->m_chanceObjects.__end_ - v6); if ( v7 ) memmove(&begin[v4], v6, (size_t)v7); a1->m_chanceObjects.__end_ = (ChanceObject *)((char *)v5 + (_QWORD)v7); a1->m_sequenceTotalCount = -1; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source