// // GJEffectManager::handleObjectCollision from 0x14025c540 to 0x14025c6fd (445 bytes) // // 3 xrefs: // > GJBaseGameLayer::objectsCollided @ 0x140219275 // > GJEffectManager::postCollisionCheck @ 0x14025c35d // > @ 0x1406cfdf8 // // 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 // // Hidden C++ exception states: #wind=1 void GJEffectManager::handleObjectCollision(GJEffectManager *a1, bool a2, int a3, int a4) { int v6; // r12d int v8; // ebp std::_Vector_val>::pointer Myfirst; // rdi __int64 v10; // rsi int m_targetGroupID; // ecx int v12; // eax std::_Simple_types::value_type *v13; // r8 char v14; // dl std::_Simple_types::value_type v15; // eax std::unordered_set *p_m_unkMap460; // rcx _BYTE v17[16]; // [rsp+30h] [rbp-58h] BYREF _QWORD v18[4]; // [rsp+40h] [rbp-48h] BYREF int v19; // [rsp+90h] [rbp+8h] BYREF v6 = a2; v8 = 0; Myfirst = a1->m_unkVector230._Mypair._Myval2._Myfirst; if ( a1->m_unkVector230._Mypair._Myval2._Mylast - Myfirst ) { v10 = 0; do { if ( !Myfirst[v10].m_disabled && Myfirst[v10].m_triggerOnExit != v6 && Myfirst[v10].m_blockAID == a3 && Myfirst[v10].m_blockBID == a4 ) { if ( a1->m_triggerEffectDelegate ) { sub_14024B270(v18, (__int64)&Myfirst[v10].m_remapKeys); a1->m_triggerEffectDelegate->toggleGroupTriggered( a1->m_triggerEffectDelegate, Myfirst[v10].m_targetGroupID, Myfirst[v10].m_activateGroup, (const std::vector *)v18, Myfirst[v10].m_triggerUniqueID, Myfirst[v10].m_controlID); sub_14005E430((__int64)v18); } else { m_targetGroupID = Myfirst[v10].m_targetGroupID; v12 = m_targetGroupID; if ( m_targetGroupID < 0 ) v12 = 0; if ( v12 <= 9999 ) { if ( m_targetGroupID < 0 ) m_targetGroupID = 0; } else { m_targetGroupID = 9999; } v19 = m_targetGroupID; v13 = &a1->m_unkVector438._Myvec._Mypair._Myval2._Myfirst[(unsigned __int64)m_targetGroupID >> 5]; v14 = m_targetGroupID & 0x1F; v15 = *v13; p_m_unkMap460 = &a1->m_unkMap460; if ( Myfirst[v10].m_activateGroup ) { *v13 = v15 | (1 << v14); sub_14005D780(p_m_unkMap460, (unsigned __int8 *)&v19); } else { *v13 = v15 & ~(1 << v14); sub_140060D70((__int64)p_m_unkMap460, (__int64)v17, (unsigned __int8 *)&v19); } } } ++v8; ++v10; Myfirst = a1->m_unkVector230._Mypair._Myval2._Myfirst; } while ( v8 < (unsigned __int64)(a1->m_unkVector230._Mypair._Myval2._Mylast - Myfirst) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source