// // KeyframeGameObject::getSaveString from 0x8ab5a0 to 0x8abf2c (2444 bytes) // // 2 xrefs: // > @ 0xd33a8 // > @ 0x144e2c0 // // This function is hookable on this platform (idp: arm, 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:56:21 +0000 // __int64 *__usercall KeyframeGameObject::getSaveString@( KeyframeGameObject *this@, GJBaseGameLayer *a2@, __int64 *a3@) { const char *v5; // x1 size_t v6; // x2 size_t v7; // x20 const char *v8; // x1 size_t v9; // x0 double v11; // d0 double v12; // d0 double v13; // d0 double v14; // d0 char *v15; // [xsp+48h] [xbp+48h] __int64 v16[2]; // [xsp+150h] [xbp+150h] BYREF char *v17; // [xsp+160h] [xbp+160h] _DWORD v18[5]; // [xsp+168h] [xbp+168h] BYREF char v19; // [xsp+17Ch] [xbp+17Ch] _DWORD v20[5]; // [xsp+180h] [xbp+180h] BYREF char v21; // [xsp+194h] [xbp+194h] _DWORD v22[5]; // [xsp+198h] [xbp+198h] BYREF char v23; // [xsp+1ACh] [xbp+1ACh] _DWORD v24[5]; // [xsp+1B0h] [xbp+1B0h] BYREF char v25; // [xsp+1C4h] [xbp+1C4h] size_t v26; // [xsp+1C8h] [xbp+1C8h] BYREF unsigned __int64 v27; // [xsp+1D0h] [xbp+1D0h] char *v28; // [xsp+1D8h] [xbp+1D8h] _BYTE v29[504]; // [xsp+1E0h] [xbp+1E0h] BYREF v26 = 0; v27 = 500; v28 = v29; EffectGameObject::getSaveString(this, a2, v16); if ( (v16[0] & 1) != 0 ) { v5 = v17; v6 = v16[1]; } else { v5 = (char *)v16 + 1; v6 = LOBYTE(v16[0]) >> 1; } fmt::BasicWriter::operator<<(&v26, v5, v6); if ( (v16[0] & 1) != 0 ) { operator delete(v17); if ( !*((_DWORD *)this + 366) ) { LABEL_5: if ( !*((_DWORD *)this + 464) ) goto LABEL_6; goto LABEL_31; } } else if ( !*((_DWORD *)this + 366) ) { goto LABEL_5; } fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x33u); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((_DWORD *)this + 366)); if ( !*((_DWORD *)this + 464) ) { LABEL_6: if ( !*((_DWORD *)this + 465) ) goto LABEL_7; goto LABEL_32; } LABEL_31: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x175u); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((_DWORD *)this + 464)); if ( !*((_DWORD *)this + 465) ) { LABEL_7: if ( !*((_BYTE *)this + 1864) ) goto LABEL_8; goto LABEL_33; } LABEL_32: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x176u); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((_DWORD *)this + 465)); if ( !*((_BYTE *)this + 1864) ) { LABEL_8: if ( !*((_DWORD *)this + 374) ) goto LABEL_9; goto LABEL_34; } LABEL_33: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x177u); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((unsigned __int8 *)this + 1864)); if ( !*((_DWORD *)this + 374) ) { LABEL_9: if ( *((float *)this + 375) == 0.0 ) goto LABEL_10; goto LABEL_35; } LABEL_34: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x1Eu); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((_DWORD *)this + 374)); if ( *((float *)this + 375) == 0.0 ) { LABEL_10: if ( *((float *)this + 363) == 0.0 ) goto LABEL_11; goto LABEL_36; } LABEL_35: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x55u); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); v11 = *((float *)this + 375); v18[1] = 32; v18[0] = 0; v18[2] = 0; v18[3] = 0; v18[4] = -1; v19 = 0; fmt::BasicWriter::FormatDouble(&v26, v18, v11); if ( *((float *)this + 363) == 0.0 ) { LABEL_11: if ( !*((_DWORD *)this + 367) ) goto LABEL_12; goto LABEL_37; } LABEL_36: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0xAu); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); v12 = *((float *)this + 363); v20[1] = 32; v20[0] = 0; v20[2] = 0; v20[3] = 0; v20[4] = -1; v21 = 0; fmt::BasicWriter::FormatDouble(&v26, v20, v12); if ( !*((_DWORD *)this + 367) ) { LABEL_12: if ( !*((_BYTE *)this + 1865) ) goto LABEL_13; goto LABEL_38; } LABEL_37: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x47u); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((_DWORD *)this + 367)); if ( !*((_BYTE *)this + 1865) ) { LABEL_13: if ( *((float *)this + 469) == 0.0 ) goto LABEL_14; goto LABEL_39; } LABEL_38: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x179u); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((unsigned __int8 *)this + 1865)); if ( *((float *)this + 469) == 0.0 ) { LABEL_14: if ( !*((_BYTE *)this + 1866) ) goto LABEL_15; goto LABEL_40; } LABEL_39: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x22Du); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); v13 = *((float *)this + 469); v22[1] = 32; v22[0] = 0; v22[2] = 0; v22[3] = 0; v22[4] = -1; v23 = 0; fmt::BasicWriter::FormatDouble(&v26, v22, v13); if ( !*((_BYTE *)this + 1866) ) { LABEL_15: if ( !*((_DWORD *)this + 467) ) goto LABEL_16; goto LABEL_41; } LABEL_40: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x17Au); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((unsigned __int8 *)this + 1866)); if ( !*((_DWORD *)this + 467) ) { LABEL_16: if ( !*((_BYTE *)this + 1867) ) goto LABEL_17; goto LABEL_42; } LABEL_41: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x17Bu); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((_DWORD *)this + 467)); if ( !*((_BYTE *)this + 1867) ) { LABEL_17: if ( !*((_BYTE *)this + 1880) ) goto LABEL_18; goto LABEL_43; } LABEL_42: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x178u); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((unsigned __int8 *)this + 1867)); if ( !*((_BYTE *)this + 1880) ) { LABEL_18: if ( !*((_BYTE *)this + 1882) ) goto LABEL_19; goto LABEL_44; } LABEL_43: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x17Cu); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((unsigned __int8 *)this + 1880)); if ( !*((_BYTE *)this + 1882) ) { LABEL_19: if ( !*((_DWORD *)this + 471) ) goto LABEL_20; goto LABEL_45; } LABEL_44: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x1CBu); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((unsigned __int8 *)this + 1882)); if ( !*((_DWORD *)this + 471) ) { LABEL_20: if ( !*((_DWORD *)this + 472) ) goto LABEL_21; LABEL_46: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x219u); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((_DWORD *)this + 472)); if ( *((float *)this + 473) == 0.0 ) goto LABEL_22; goto LABEL_47; } LABEL_45: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x218u); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((_DWORD *)this + 471)); if ( *((_DWORD *)this + 472) ) goto LABEL_46; LABEL_21: if ( *((float *)this + 473) == 0.0 ) goto LABEL_22; LABEL_47: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x20Cu); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); v14 = *((float *)this + 473); v24[1] = 32; v24[0] = 0; v24[2] = 0; v24[3] = 0; v24[4] = -1; v25 = 0; fmt::BasicWriter::FormatDouble(&v26, v24, v14); LABEL_22: v7 = v26; if ( v27 < v26 + 1 ) fmt::internal::Array::grow(&v26, v26 + 1); v28[v7] = 0; *a3 = 0; v8 = v28; a3[1] = 0; a3[2] = 0; v15 = (char *)v8; v9 = strlen(v8); std::string::__init(a3, v15, v9); if ( v28 != v29 && v28 ) operator delete[](v28); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source