// // GJEffectManager::objectsCollided from 0xa122ec to 0xa1240c (288 bytes) // // 2 xrefs: // > GJBaseGameLayer::objectsCollided @ 0x998658 // > @ 0xdd710 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:59:31 +0000 // __int64 __fastcall GJEffectManager::objectsCollided(GJEffectManager *this, int a2, int a3) { int v3; // w3 int v5; // w4 int CollisionKey; // w0 unsigned __int64 v7; // x4 unsigned __int64 v8; // x7 unsigned __int64 v9; // x5 __int64 *v10; // x1 unsigned __int64 v11; // x2 unsigned __int64 v12; // x2 int v14; // [xsp+2Ch] [xbp+2Ch] BYREF int v15; // [xsp+30h] [xbp+30h] BYREF int v16; // [xsp+34h] [xbp+34h] BYREF v3 = a2; if ( a2 <= 10001 && a3 <= 10001 ) { if ( a2 < a3 ) v5 = a3; else v5 = a2; if ( a2 > a3 ) v3 = a3; v14 = v5; v15 = v3; CollisionKey = getCollisionKey(&v14, &v15); v7 = *((_QWORD *)this + 76); v16 = CollisionKey; if ( v7 ) { v8 = v7 - 1; v9 = ((v7 - 1) & v7) != 0 ? CollisionKey % v7 : CollisionKey & v8; v10 = *(__int64 **)(*((_QWORD *)this + 75) + 8 * v9); if ( v10 ) { while ( 1 ) { v10 = (__int64 *)*v10; if ( !v10 ) break; v11 = v10[1]; v12 = ((v7 - 1) & v7) != 0 ? v11 % v7 : v8 & v11; if ( v9 != v12 ) break; if ( CollisionKey == *((_DWORD *)v10 + 4) ) { *((_BYTE *)v10 + 20) = 1; return _stack_chk_guard; } } } } GJEffectManager::handleObjectCollision(this, 1u, v14, v15); *(_BYTE *)std::unordered_map::operator[]((__int64)this + 600, &v16) = 1; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source