// // GJEffectManager::handleObjectCollision from 0x100010284 to 0x1000103bc (312 bytes) // // 2 xrefs: // > GJEffectManager::postCollisionCheck @ 0x100010258 // > GJEffectManager::objectsCollided @ 0x100010458 // // 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 GJEffectManager::handleObjectCollision(GJEffectManager *a1, bool a2, int a3, int a4) { CollisionTriggerAction *begin; // x8 int v7; // w21 unsigned __int64 v9; // x23 __int64 v10; // x24 bool *v11; // x26 void *__p; // [xsp+8h] [xbp-58h] BYREF void *v13; // [xsp+10h] [xbp-50h] __int64 v14; // [xsp+18h] [xbp-48h] begin = a1->m_unkVector230.__begin_; if ( a1->m_unkVector230.__end_ != begin ) { v7 = a2; v9 = 0; v10 = 40; do { if ( (*((_BYTE *)begin + v10 - 40) & 1) == 0 && *(_DWORD *)((char *)begin + v10 - 24) != v7 && *(_DWORD *)((char *)begin + v10 - 36) == a3 && *(_DWORD *)((char *)begin + v10 - 32) == a4 ) { if ( a1->m_triggerEffectDelegate ) { v11 = &begin->m_disabled + v10; __p = nullptr; v13 = nullptr; v14 = 0; sub_100017EB4(&__p); ((void (__fastcall *)(TriggerEffectDelegate *, _QWORD, bool, void **, _QWORD, _QWORD))a1->m_triggerEffectDelegate->toggleGroupTriggered)( a1->m_triggerEffectDelegate, *((unsigned int *)v11 - 7), *(v11 - 20), &__p, *((unsigned int *)v11 - 4), *((unsigned int *)v11 - 3)); if ( __p ) { v13 = __p; operator delete(__p); } } else { GJEffectManager::toggleGroup(a1, *(_DWORD *)((char *)begin + v10 - 28), *((_BYTE *)begin + v10 - 20)); } } ++v9; begin = a1->m_unkVector230.__begin_; v10 += 56; } while ( 0x6DB6DB6DB6DB6DB7LL * (((char *)a1->m_unkVector230.__end_ - (char *)begin) >> 3) > v9 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source