// // ParticleGameObject::setParticleString from 0x1001928e0 to 0x10019296f (143 bytes) // // 6 xrefs: // > LevelEditorLayer::copyParticleState @ 0x1000c7fe6 // > LevelEditorLayer::pasteParticleState @ 0x1000c817c // > LevelEditorLayer::pasteParticleState @ 0x1000c81b7 // > CreateParticlePopup::onClose @ 0x10046768c // > CreateParticlePopup::onClose @ 0x100467781 // > CreateParticlePopup::onCopySettings @ 0x100467833 // // 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:25:54 +0000 // int __fastcall ParticleGameObject::setParticleString(__int64 a1, const std::string *a2) { unsigned int v4; // r15d unsigned int v5; // r12d size_t v6; // r12 const void *v7; // rdi size_t size; // r15 std::string::pointer data; // rsi size_t v10; // rdx int result; // eax v4 = (unsigned int)a2->__r_.__value_.__l.0; v5 = *(unsigned __int8 *)(a1 + 1448); if ( (v5 & 1) != 0 ) { v6 = *(_QWORD *)(a1 + 1456); v7 = *(const void **)(a1 + 1464); if ( (v4 & 1) == 0 ) { LABEL_3: size = v4 >> 1; data = a2->__r_.__value_.__s.__data_; goto LABEL_6; } } else { v6 = v5 >> 1; v7 = (const void *)(a1 + 1449); if ( (v4 & 1) == 0 ) goto LABEL_3; } size = a2->__r_.__value_.__l.__size_; data = a2->__r_.__value_.__l.__data_; LABEL_6: v10 = v6; if ( size < v6 ) v10 = size; result = memcmp(v7, data, v10); if ( result || size != v6 ) { result = (unsigned int)std::string::operator=((std::string *)(a1 + 1448), a2); *(_BYTE *)(a1 + 1472) = 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source