//
// EnterEffectObject::getSaveString from 0x777fc0 to 0x779a40 (6784 bytes)
//
// 2 xrefs:
// > ??> @ 0xa9110
// > ??> @ 0x1162b90
//
// 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 EnterEffectObject::getSaveString@(
EnterEffectObject *this@,
GJBaseGameLayer *a2@,
__int64 a3@)
{
float m_easingInRate; // s0
float m_easingOutRate; // s0
float m_relativeFade; // s0
float m_areaScaleX; // s0
float m_areaScaleXVariance; // s0
float m_areaScaleY; // s0
float m_areaScaleYVariance; // s0
float m_modFront; // s0
float m_modBack; // s0
float m_areaTint; // s0
float m_property285; // s0
float m_areaRotation; // s0
float m_areaRotationVariance; // s0
float m_toOpacity; // s0
float m_fromOpacity; // s0
float m_deadzone; // s0
float m_duration; // s0
size_t v22; // x20
const char *v24; // [xsp+350h] [xbp+350h] BYREF
const char *v25; // [xsp+358h] [xbp+358h] BYREF
_DWORD v26[5]; // [xsp+360h] [xbp+360h] BYREF
char v27; // [xsp+374h] [xbp+374h]
_DWORD v28[5]; // [xsp+378h] [xbp+378h] BYREF
char v29; // [xsp+38Ch] [xbp+38Ch]
_DWORD v30[5]; // [xsp+390h] [xbp+390h] BYREF
char v31; // [xsp+3A4h] [xbp+3A4h]
_DWORD v32[5]; // [xsp+3A8h] [xbp+3A8h] BYREF
char v33; // [xsp+3BCh] [xbp+3BCh]
_DWORD v34[5]; // [xsp+3C0h] [xbp+3C0h] BYREF
char v35; // [xsp+3D4h] [xbp+3D4h]
_DWORD v36[5]; // [xsp+3D8h] [xbp+3D8h] BYREF
char v37; // [xsp+3ECh] [xbp+3ECh]
_DWORD v38[5]; // [xsp+3F0h] [xbp+3F0h] BYREF
char v39; // [xsp+404h] [xbp+404h]
_DWORD v40[5]; // [xsp+408h] [xbp+408h] BYREF
char v41; // [xsp+41Ch] [xbp+41Ch]
_DWORD v42[5]; // [xsp+420h] [xbp+420h] BYREF
char v43; // [xsp+434h] [xbp+434h]
_DWORD v44[5]; // [xsp+438h] [xbp+438h] BYREF
char v45; // [xsp+44Ch] [xbp+44Ch]
_DWORD v46[5]; // [xsp+450h] [xbp+450h] BYREF
char v47; // [xsp+464h] [xbp+464h]
_DWORD v48[5]; // [xsp+468h] [xbp+468h] BYREF
char v49; // [xsp+47Ch] [xbp+47Ch]
_DWORD v50[5]; // [xsp+480h] [xbp+480h] BYREF
char v51; // [xsp+494h] [xbp+494h]
_DWORD v52[5]; // [xsp+498h] [xbp+498h] BYREF
char v53; // [xsp+4ACh] [xbp+4ACh]
_DWORD v54[5]; // [xsp+4B0h] [xbp+4B0h] BYREF
char v55; // [xsp+4C4h] [xbp+4C4h]
_DWORD v56[5]; // [xsp+4C8h] [xbp+4C8h] BYREF
char v57; // [xsp+4DCh] [xbp+4DCh]
_DWORD v58[5]; // [xsp+4E0h] [xbp+4E0h] BYREF
char v59; // [xsp+4F4h] [xbp+4F4h]
size_t v60; // [xsp+4F8h] [xbp+4F8h] BYREF
unsigned __int64 v61; // [xsp+500h] [xbp+500h]
char *v62; // [xsp+508h] [xbp+508h]
_BYTE v63[504]; // [xsp+510h] [xbp+510h] BYREF
v60 = 0;
v61 = 500;
v62 = v63;
EffectGameObject::getSaveString(this, a2, (__int64)&v24);
fmt::BasicWriter::operator<<(&v60, v24, *((_QWORD *)v24 - 3));
if ( v24 - 24 != (const char *)&qword_124B6B0 )
sub_74B3A8((void *)(v24 - 24));
if ( this->m_enterType )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xD9u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, this->m_enterType);
}
if ( this->m_enterChannel )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x158u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_enterChannel);
}
switch ( this->m_objectID )
{
case 0xBBE:
case 0xBBF:
case 0xBC0:
case 0xBC1:
case 0xBC2:
case 0xBC3:
case 0xBC4:
case 0xBC5:
case 0xBC6:
case 0xBC7:
case 0xBC9:
case 0xBCA:
case 0xBCB:
case 0xBCC:
case 0xBCD:
case 0xBCF:
case 0xBD0:
if ( this->m_length )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xDEu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, this->m_length);
}
if ( this->m_lengthVariance )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xDFu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_lengthVariance);
}
if ( this->m_offset )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xDCu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, this->m_offset);
}
if ( this->m_offsetVariance )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xDDu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_offsetVariance);
}
if ( this->m_offsetY )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xFCu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_offsetY);
}
if ( this->m_offsetYVariance )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xFDu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_offsetYVariance);
}
if ( this->m_moveDistance )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xDAu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_moveDistance);
}
if ( this->m_moveDistanceVariance )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xDBu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_moveDistanceVariance);
}
if ( this->m_moveX )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xEDu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, this->m_moveX);
}
if ( this->m_moveXVariance )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xEEu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_moveXVariance);
}
if ( this->m_moveY )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xEFu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, this->m_moveY);
}
if ( this->m_moveYVariance )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xF0u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_moveYVariance);
}
if ( this->m_easingInType )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xF2u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_easingInType);
}
if ( this->m_easingInRate != 0.0 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xF3u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
m_easingInRate = this->m_easingInRate;
v26[1] = 32;
v26[0] = 0;
v26[2] = 0;
v26[3] = 0;
v26[4] = -1;
v27 = 0;
fmt::BasicWriter::FormatDouble(&v60, v26, m_easingInRate);
}
if ( this->m_easingOutType )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xF8u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_easingOutType);
}
if ( this->m_easingOutRate != 0.0 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xF9u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
m_easingOutRate = this->m_easingOutRate;
v28[1] = 32;
v28[0] = 0;
v28[2] = 0;
v28[3] = 0;
v28[4] = -1;
v29 = 0;
fmt::BasicWriter::FormatDouble(&v60, v28, m_easingOutRate);
}
if ( this->m_moveAngle )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xE7u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_moveAngle);
}
if ( this->m_moveAngleVariance )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xE8u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_moveAngleVariance);
}
if ( this->m_relative )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x11Fu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_relative);
}
if ( this->m_relativeFade != 0.0 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x120u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
m_relativeFade = this->m_relativeFade;
v30[1] = 32;
v30[0] = 0;
v30[2] = 0;
v30[3] = 0;
v30[4] = -1;
v31 = 0;
fmt::BasicWriter::FormatDouble(&v60, v30, m_relativeFade);
}
if ( this->m_areaScaleX != 0.0 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xE9u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
m_areaScaleX = this->m_areaScaleX;
v32[1] = 32;
v32[0] = 0;
v32[2] = 0;
v32[3] = 0;
v32[4] = -1;
v33 = 0;
fmt::BasicWriter::FormatDouble(&v60, v32, m_areaScaleX);
}
if ( this->m_areaScaleXVariance != 0.0 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xEAu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
m_areaScaleXVariance = this->m_areaScaleXVariance;
v34[1] = 32;
v34[0] = 0;
v34[2] = 0;
v34[3] = 0;
v34[4] = -1;
v35 = 0;
fmt::BasicWriter::FormatDouble(&v60, v34, m_areaScaleXVariance);
}
if ( this->m_areaScaleY != 0.0 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xEBu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
m_areaScaleY = this->m_areaScaleY;
v36[1] = 32;
v36[0] = 0;
v36[2] = 0;
v36[3] = 0;
v36[4] = -1;
v37 = 0;
fmt::BasicWriter::FormatDouble(&v60, v36, m_areaScaleY);
}
if ( this->m_areaScaleYVariance != 0.0 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xECu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
m_areaScaleYVariance = this->m_areaScaleYVariance;
v38[1] = 32;
v38[0] = 0;
v38[2] = 0;
v38[3] = 0;
v38[4] = -1;
v39 = 0;
fmt::BasicWriter::FormatDouble(&v60, v38, m_areaScaleYVariance);
}
if ( this->m_tintChannelID )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x104u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_tintChannelID);
}
if ( this->m_property224 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xE0u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_property224);
}
if ( this->m_directionType )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x106u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_directionType);
}
if ( this->m_targetGroupID )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x33u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_targetGroupID);
}
if ( this->m_centerGroupID )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x47u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_centerGroupID);
}
if ( this->m_specialTarget )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x21Au);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_specialTarget);
}
if ( this->m_xyMode )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xF1u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, this->m_xyMode);
}
if ( this->m_easeOutEnabled )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x105u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_easeOutEnabled);
}
if ( this->m_modFront != 0.0 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x107u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
m_modFront = this->m_modFront;
v40[1] = 32;
v40[0] = 0;
v40[2] = 0;
v40[3] = 0;
v40[4] = -1;
v41 = 0;
fmt::BasicWriter::FormatDouble(&v60, v40, m_modFront);
}
if ( this->m_modBack != 0.0 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x108u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
m_modBack = this->m_modBack;
v42[1] = 32;
v42[0] = 0;
v42[2] = 0;
v42[3] = 0;
v42[4] = -1;
v43 = 0;
fmt::BasicWriter::FormatDouble(&v60, v42, m_modBack);
}
if ( this->m_areaTint != 0.0 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x109u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
m_areaTint = this->m_areaTint;
v44[1] = 32;
v44[0] = 0;
v44[2] = 0;
v44[3] = 0;
v44[4] = -1;
v45 = 0;
fmt::BasicWriter::FormatDouble(&v60, v44, m_areaTint);
}
if ( this->m_property285 != 0.0 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x11Du);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
m_property285 = this->m_property285;
v46[1] = 32;
v46[0] = 0;
v46[2] = 0;
v46[3] = 0;
v46[4] = -1;
v47 = 0;
fmt::BasicWriter::FormatDouble(&v60, v46, m_property285);
}
if ( this->m_effectID )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0xE1u);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(
&v60,
this->m_effectID);
}
if ( this->m_areaRotation != 0.0 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x10Eu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
m_areaRotation = this->m_areaRotation;
v48[1] = 32;
v48[0] = 0;
v48[2] = 0;
v48[3] = 0;
v48[4] = -1;
v49 = 0;
fmt::BasicWriter::FormatDouble(&v60, v48, m_areaRotation);
}
if ( this->m_areaRotationVariance != 0.0 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt,char>>(&v60, 0x10Fu);
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
m_areaRotationVariance = this->m_areaRotationVariance;
v50[1] = 32;
v50[0] = 0;
v50[2] = 0;
v50[3] = 0;
v50[4] = -1;
v51 = 0;
fmt::BasicWriter::FormatDouble(&v60, v50, m_areaRotationVariance);
}
if ( this->m_toOpacity != 0.0 )
{
fmt::BasicWriter::operator<<(&v60, &byte_F804F8, 0);
fmt::BasicWriter::FormatInt