// // GJEffectManager::handleObjectCollision from 0xa11f64 to 0xa12138 (468 bytes) // // 3 xrefs: // > GJEffectManager::postCollisionCheck @ 0xa121cc // > GJEffectManager::objectsCollided @ 0xa123a4 // > @ 0x86668 // // 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::handleObjectCollision(GJEffectManager *this, unsigned __int8 a2, int a3, int a4) { __int64 v5; // x2 __int64 v7; // x4 int v8; // w23 __int64 v10; // x19 unsigned __int64 v11; // x20 __int64 v12; // x27 void *v14; // [xsp+60h] [xbp+60h] BYREF char *v15; // [xsp+68h] [xbp+68h] v5 = *((_QWORD *)this + 64); v7 = *((_QWORD *)this + 65); v8 = a2; v10 = 0; v11 = 1; if ( 0x6DB6DB6DB6DB6DB7LL * ((v7 - v5) >> 3) ) { while ( 1 ) { v12 = v5 + v10; if ( !*(_BYTE *)(v5 + v10) && *(_DWORD *)(v12 + 16) != v8 && *(_DWORD *)(v12 + 4) == a3 && *(_DWORD *)(v12 + 8) == a4 ) { if ( !*((_QWORD *)this + 40) ) { GJEffectManager::toggleGroup(this, *(_DWORD *)(v12 + 12), *(_BYTE *)(v12 + 20)); LABEL_15: v5 = *((_QWORD *)this + 64); v7 = *((_QWORD *)this + 65); goto LABEL_3; } std::vector::vector((__int64 *)&v14, (const void **)(v12 + 32)); (***((void (__fastcall ****)(_QWORD, _QWORD, _QWORD, void **, _QWORD, _QWORD))this + 40))( *((_QWORD *)this + 40), *(unsigned int *)(v12 + 12), *(unsigned __int8 *)(v12 + 20), &v14, *(unsigned int *)(v12 + 24), *(unsigned int *)(v12 + 28)); if ( !v14 ) goto LABEL_15; if ( v14 != v15 ) v15 += 4 * ~((unsigned __int64)(v15 - 4 - (_BYTE *)v14) >> 2); operator delete(v14); v5 = *((_QWORD *)this + 64); v7 = *((_QWORD *)this + 65); } LABEL_3: v10 += 56; if ( 0x6DB6DB6DB6DB6DB7LL * ((v7 - v5) >> 3) <= v11 ) return _stack_chk_guard; ++v11; } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source