// // LevelEditorLayer::updatePreviewParticle from 0x462688 to 0x46270a (130 bytes) // // 2 xrefs: // > LevelEditorLayer::updatePreviewParticles @ 0x462768 // > LevelEditorLayer::addSpecial @ 0x46e396 // // 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:48:53 +0000 // int __fastcall LevelEditorLayer::updatePreviewParticle(LevelEditorLayer *this, ParticleGameObject *a2) { int v4; // r3 float v5; // r1 ParticleGameObject *v6; // r0 v4 = *(_DWORD *)a2; if ( *((_BYTE *)this + 11704) ) { *((_BYTE *)a2 + 1577) = 0; if ( (*(int (__fastcall **)(ParticleGameObject *))(v4 + 176))(a2) ) (*(void (__fastcall **)(ParticleGameObject *))(*(_DWORD *)a2 + 700))(a2); if ( *((_BYTE *)this + 11707) ) { v5 = 0.0; } else if ( *((_DWORD *)this + 357) == 1 ) { v5 = 0.0; } else { v5 = 50.0; } v6 = a2; } else { *((_BYTE *)a2 + 1577) = 1; (*(void (__fastcall **)(ParticleGameObject *))(v4 + 704))(a2); v6 = a2; if ( *((_DWORD *)this + 357) == 1 ) v5 = 0.0; else v5 = 255.0; } return ParticleGameObject::updateParticlePreviewArtOpacity(v6, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source