// // GJEffectManager::postCollisionCheck from 0x5cf01c to 0x5cf13a (286 bytes) // // 2 xrefs: // > GJBaseGameLayer::loadUpToPosition @ 0x5bcabe // > GJBaseGameLayer::update @ 0x5be0d2 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:54:03 +0000 // void __fastcall GJEffectManager::postCollisionCheck(GJEffectManager *this) { int *i; // r4 int v3; // r5 unsigned int v4; // r11 int *v5; // r7 unsigned int v6; // r10 unsigned int v7; // r0 int v8; // r8 int v9; // r5 int *j; // r9 unsigned int v11; // r0 int v12; // r1 unsigned int v13; // r0 int v14; // r1 unsigned int v15; // r0 int v16; // r1 int v17; // [sp+1Ch] [bp-10h] BYREF int v18; // [sp+20h] [bp-Ch] BYREF for ( i = *((int **)this + 103); i; i = v5 ) { v3 = *((unsigned __int8 *)i + 12); if ( *((_BYTE *)i + 12) ) { v5 = (int *)*i; } else { splitCollisionKey(i + 2, &v17, &v18); GJEffectManager::handleObjectCollision((char **)this, v3, v17, v18); v4 = *((_DWORD *)this + 102); v5 = (int *)*i; v6 = v4 - 1; v7 = i[1]; v8 = (v4 - 1) & v4; if ( v8 ) v9 = v7 % v4; else v9 = v6 & v7; for ( j = *(int **)(*((_DWORD *)this + 101) + 4 * v9); (int *)*j != i; j = (int *)*j ) ; if ( j == (int *)((char *)this + 412) || ((v11 = j[1], v8) ? (v12 = v11 % v4) : (v12 = v6 & v11), v12 != v9) ) { if ( !v5 || ((v13 = v5[1], v8) ? (v14 = v13 % v4) : (v14 = v6 & v13), v14 != v9) ) *(_DWORD *)(*((_DWORD *)this + 101) + 4 * v9) = 0; } if ( *i ) { v15 = *(_DWORD *)(*i + 4); if ( v8 ) v16 = v15 % v4; else v16 = v6 & v15; if ( v16 != v9 ) *(_DWORD *)(*((_DWORD *)this + 101) + 4 * v16) = j; } *j = *i; *i = 0; --*((_DWORD *)this + 104); operator delete(i); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source