// // ParticleGameObject::getSaveString from 0x77286c to 0x772b7c (784 bytes) // // 2 xrefs: // > @ 0x4aaf0 // > @ 0x1166360 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __usercall ParticleGameObject::getSaveString@( ParticleGameObject *this@, GJBaseGameLayer *a2@, __int64 a3@) { char *v5; // x0 size_t v6; // x20 unsigned int *v8; // x2 int v9; // w1 const char *v10; // [xsp+80h] [xbp+80h] BYREF size_t v11; // [xsp+88h] [xbp+88h] BYREF unsigned __int64 v12; // [xsp+90h] [xbp+90h] char *v13; // [xsp+98h] [xbp+98h] _BYTE v14[504]; // [xsp+A0h] [xbp+A0h] BYREF v11 = 0; v12 = 500; v13 = v14; EnhancedGameObject::getSaveString(this, a2, (__int64)&v10); fmt::BasicWriter::operator<<(&v11, v10, *((_QWORD *)v10 - 3)); v5 = (char *)(v10 - 24); if ( v10 - 24 != (const char *)&qword_124B6B0 ) { if ( &pthread_create ) { v8 = (unsigned int *)(v10 - 8); do v9 = __ldaxr(v8); while ( __stlxr(v9 - 1, v8) ); } else { v9 = *((_DWORD *)v10 - 2); *((_DWORD *)v10 - 2) = v9 - 1; } if ( v9 <= 0 ) operator delete(v5); } fmt::BasicWriter::operator<<(&v11, &byte_F804F8, 0); fmt::BasicWriter::FormatInt,char>>(&v11, 0x91u); fmt::BasicWriter::operator<<(&v11, &byte_F804F8, 0); fmt::BasicWriter::operator<<(&v11, (const char *)this->m_particleData.m_data.m_data, 0); if ( !this->m_particleUseObjectColor ) { if ( !this->m_hasUniformObjectColor ) goto LABEL_4; LABEL_12: fmt::BasicWriter::operator<<(&v11, &byte_F804F8, 0); fmt::BasicWriter::FormatInt,char>>(&v11, 0x93u); fmt::BasicWriter::operator<<(&v11, &byte_F804F8, 0); fmt::BasicWriter::FormatInt,char>>( &v11, this->m_hasUniformObjectColor); if ( !this->m_shouldQuickStart ) goto LABEL_5; goto LABEL_13; } fmt::BasicWriter::operator<<(&v11, &byte_F804F8, 0); fmt::BasicWriter::FormatInt,char>>(&v11, 0x92u); fmt::BasicWriter::operator<<(&v11, &byte_F804F8, 0); fmt::BasicWriter::FormatInt,char>>( &v11, this->m_particleUseObjectColor); if ( this->m_hasUniformObjectColor ) goto LABEL_12; LABEL_4: if ( !this->m_shouldQuickStart ) goto LABEL_5; LABEL_13: fmt::BasicWriter::operator<<(&v11, &byte_F804F8, 0); fmt::BasicWriter::FormatInt,char>>(&v11, 0xD3u); fmt::BasicWriter::operator<<(&v11, &byte_F804F8, 0); fmt::BasicWriter::FormatInt,char>>( &v11, this->m_shouldQuickStart); LABEL_5: v6 = v11; if ( v12 < v11 + 1 ) fmt::internal::Array::grow(&v11, v11 + 1); v13[v6] = 0; sub_D153B8(a3, v13); if ( v13 != v14 && v13 ) operator delete[](v13); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source