// // LevelEditorLayer::pasteParticleState from 0x1000c8060 to 0x1000c8205 (421 bytes) // // 1 xrefs: // > CreateParticlePopup::onPasteSettings @ 0x100467927 // // This function is hookable on this platform (idp: pc, 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:20:36 +0000 // void **__fastcall LevelEditorLayer::pasteParticleState(__int64 a1, __int64 a2, __int64 a3) { void **result; // rax void **v4; // rax __int64 *v5; // r13 __int64 *v6; // r12 __int64 v7; // rax __int64 v8; // r15 __int64 v9; // rax void **v10; // rax __int64 v11; // rax __int128 v12; // [rsp+0h] [rbp-70h] BYREF void *__p[2]; // [rsp+10h] [rbp-60h] BYREF __int128 v14; // [rsp+20h] [rbp-50h] BYREF void *v15; // [rsp+30h] [rbp-40h] void **v16; // [rsp+40h] [rbp-30h] result = *(void ***)(a1 + 14128); if ( result ) { if ( a2 ) { if ( ((_BYTE)result[181] & 1) != 0 ) { sub_10001AD30(&v14, result[183], (unsigned __int64)result[182]); } else { v4 = result + 181; v15 = v4[2]; v14 = *(_OWORD *)v4; } ParticleGameObject::setParticleString(a2, &v14); if ( (v14 & 1) != 0 ) operator delete(v15); v11 = *(_QWORD *)(a1 + 14128); *(_BYTE *)(a2 + 1768) = *(_BYTE *)(v11 + 1768); *(_BYTE *)(a2 + 1417) = *(_BYTE *)(v11 + 1417); return (void **)ParticleGameObject::updateParticle(a2); } else if ( a3 ) { result = *(void ***)(a3 + 56); if ( *(_DWORD *)result ) { v5 = (__int64 *)result[2]; v6 = &v5[*(unsigned int *)result - 1]; result = __p; v16 = __p; do { v8 = *v5; if ( !*v5 ) break; v9 = *(_QWORD *)(a1 + 14128); if ( (*(_BYTE *)(v9 + 1448) & 1) != 0 ) { sub_10001AD30(&v12, *(const void **)(v9 + 1464), *(_QWORD *)(v9 + 1456)); } else { v10 = (void **)(v9 + 1448); __p[0] = v10[2]; v12 = *(_OWORD *)v10; } ParticleGameObject::setParticleString(v8, &v12); if ( (v12 & 1) != 0 ) operator delete(__p[0]); v7 = *(_QWORD *)(a1 + 14128); *(_BYTE *)(v8 + 1768) = *(_BYTE *)(v7 + 1768); *(_BYTE *)(v8 + 1417) = *(_BYTE *)(v7 + 1417); result = (void **)ParticleGameObject::updateParticle(v8); ++v5; } while ( v5 <= v6 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source