// // GJEffectManager::updatePulseEffects from 0x5c372c to 0x5c3898 (364 bytes) // // 1 xrefs: // > GJEffectManager::updateEffects @ 0x5c4a70 // // 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:53:51 +0000 // void *__fastcall GJEffectManager::updatePulseEffects(void *this, float a2) { _DWORD *v2; // r6 unsigned int v4; // r8 int v5; // r4 PulseEffectAction *v6; // r4 int v7; // r9 char *v8; // r3 char *i; // r4 char *v10; // r0 const void *v11; // r1 int v12; // r2 _DWORD *j; // r5 int v14; // r8 int v15; // r4 PulseEffectAction *v16; // r7 int v17; // r7 char *v18; // r3 int v19; // r12 char *v20; // r4 char *v21; // r0 const void *v22; // r1 unsigned int v23; // r7 int v24; // r3 int v25; // r1 int v26; // r3 int v27; // r2 char *v28; // [sp+4h] [bp-10h] unsigned int v29; // [sp+4h] [bp-10h] int v30; // [sp+8h] [bp-Ch] char *v31; // [sp+Ch] [bp-8h] v2 = this; v4 = 0; while ( 1 ) { v5 = v2[69]; if ( v4 >= 954437177 * ((v2[70] - v5) >> 3) ) break; v6 = (PulseEffectAction *)(v5 + 72 * v4); PulseEffectAction::step((int)v6, a2); this = (void *)PulseEffectAction::isFinished(v6); if ( this ) { v7 = 72 * v4 + v2[69]; v8 = (char *)v2[70]; for ( i = (char *)(v7 + 72); i != v8; i += 72 ) { v10 = i - 72; v11 = i; v28 = v8; this = memcpy(v10, v11, 0x48u); v8 = v28; } while ( 1 ) { v12 = v2[70]; if ( v7 + 72 * ((417566265 * ((unsigned int)&i[-v7 - 72] >> 3)) & 0x1FFFFFFF) == v12 ) break; v2[70] = v12 - 72; } } else { ++v4; } } for ( j = (_DWORD *)v2[74]; j; j = (_DWORD *)*j ) { v14 = 0; v29 = j[2]; v15 = 954437177 * ((j[4] - j[3]) >> 3); while ( v14 < v15 ) { v16 = (PulseEffectAction *)(j[3] + 72 * v14); PulseEffectAction::step((int)v16, a2); if ( PulseEffectAction::isFinished(v16) ) { v17 = j[3] + 72 * v14; v18 = (char *)j[4]; v19 = v17 + 72; v20 = (char *)(v17 + 72); while ( v20 != v18 ) { v21 = v20 - 72; v22 = v20; v31 = v18; v30 = v19; v20 += 72; memcpy(v21, v22, 0x48u); v18 = v31; v19 = v30; } v23 = v17 + 72 * ((417566265 * ((unsigned int)&v20[-v19] >> 3)) & 0x1FFFFFFF); while ( 1 ) { v24 = j[4]; if ( v23 == v24 ) break; j[4] = v24 - 72; } v15 = 954437177 * ((int)(v23 - j[3]) >> 3); } else { ++v14; } } v25 = v2[112]; this = (void *)(v29 >> 5); v26 = 1 << (v29 & 0x1F); v27 = *(_DWORD *)(v25 + 4 * (v29 >> 5)); if ( 954437177 * ((j[4] - j[3]) >> 3) ) v26 |= v27; else v27 &= ~v26; if ( 954437177 * ((j[4] - j[3]) >> 3) ) *(_DWORD *)(v25 + 4 * (_DWORD)this) = v26; else *(_DWORD *)(v25 + 4 * (_DWORD)this) = v27; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source