// // RandTriggerGameObject::getSaveString from 0x78041c to 0x780708 (748 bytes) // // 2 xrefs: // > @ 0x4ae38 // > @ 0x116bbb0 // // 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 RandTriggerGameObject::getSaveString@( RandTriggerGameObject *this@, GJBaseGameLayer *a2@, __int64 a3@) { ChanceObject *m_start; // x20 ChanceObject *m_finish; // x26 size_t v7; // x22 unsigned __int64 v8; // x21 size_t v9; // x22 size_t v10; // x21 size_t v11; // x20 const char *v13; // [xsp+90h] [xbp+90h] BYREF size_t v14; // [xsp+98h] [xbp+98h] BYREF unsigned __int64 v15; // [xsp+A0h] [xbp+A0h] char *v16; // [xsp+A8h] [xbp+A8h] _BYTE v17[504]; // [xsp+B0h] [xbp+B0h] BYREF v14 = 0; v15 = 500; v16 = v17; EffectGameObject::getSaveString(this, a2, (__int64)&v13); fmt::BasicWriter::operator<<(&v14, v13, *((_QWORD *)v13 - 3)); if ( v13 - 24 != (const char *)&qword_124B6B0 ) sub_74B3A8((void *)(v13 - 24)); if ( this->m_activateGroup ) { fmt::BasicWriter::operator<<(&v14, &byte_F804F8, 0); fmt::BasicWriter::FormatInt,char>>(&v14, 0x38u); fmt::BasicWriter::operator<<(&v14, &byte_F804F8, 0); fmt::BasicWriter::FormatInt,char>>( &v14, this->m_activateGroup); } fmt::BasicWriter::operator<<(&v14, &byte_F804F8, 0); fmt::BasicWriter::FormatInt,char>>(&v14, 0x98u); fmt::BasicWriter::operator<<(&v14, &byte_F804F8, 0); m_start = this->m_chanceObjects.m_start; m_finish = this->m_chanceObjects.m_finish; if ( m_start != m_finish ) { fmt::BasicWriter::FormatInt,char>>(&v14, m_start->m_groupID); v7 = v14; v8 = v14 + 1; if ( v14 + 1 > v15 ) goto LABEL_11; while ( 1 ) { v14 = v8; v16[v7] = 46; fmt::BasicWriter::FormatInt,char>>( &v14, m_start->m_chance); if ( m_finish == ++m_start ) break; v9 = v14; v10 = v14 + 1; if ( v14 + 1 > v15 ) fmt::internal::Array::grow(&v14, v14 + 1); v14 = v10; v16[v9] = 46; fmt::BasicWriter::FormatInt,char>>( &v14, m_start->m_groupID); v7 = v14; v8 = v14 + 1; if ( v14 + 1 > v15 ) LABEL_11: fmt::internal::Array::grow(&v14, v8); } } v11 = v14; if ( v15 < v14 + 1 ) fmt::internal::Array::grow(&v14, v14 + 1); v16[v11] = 0; sub_D153B8(a3, v16); if ( v16 != v17 && v16 ) operator delete[](v16); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source