// // TeleportPortalObject::getSaveString from 0x8a9e20 to 0x8aa748 (2344 bytes) // // 2 xrefs: // > @ 0x7ae90 // > @ 0x144c270 // // 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:20 +0000 // __int64 *__usercall TeleportPortalObject::getSaveString@( TeleportPortalObject *this@, GJBaseGameLayer *a2@, __int64 *a3@) { const char *v5; // x1 size_t v6; // x2 float v7; // s8 size_t v8; // x20 const char *v9; // x1 size_t v10; // x0 double v12; // d0 double v13; // d0 double v14; // d0 double v15; // d0 char *v16; // [xsp+58h] [xbp+58h] __int64 v17[2]; // [xsp+148h] [xbp+148h] BYREF char *v18; // [xsp+158h] [xbp+158h] _DWORD v19[5]; // [xsp+160h] [xbp+160h] BYREF char v20; // [xsp+174h] [xbp+174h] _DWORD v21[5]; // [xsp+178h] [xbp+178h] BYREF char v22; // [xsp+18Ch] [xbp+18Ch] _DWORD v23[5]; // [xsp+190h] [xbp+190h] BYREF char v24; // [xsp+1A4h] [xbp+1A4h] __int64 v25; // [xsp+1A8h] [xbp+1A8h] BYREF int v26; // [xsp+1B0h] [xbp+1B0h] int v27; // [xsp+1B4h] [xbp+1B4h] int v28; // [xsp+1B8h] [xbp+1B8h] char v29; // [xsp+1BCh] [xbp+1BCh] __int64 v30; // [xsp+1C0h] [xbp+1C0h] BYREF int v31; // [xsp+1C8h] [xbp+1C8h] int v32; // [xsp+1CCh] [xbp+1CCh] int v33; // [xsp+1D0h] [xbp+1D0h] char v34; // [xsp+1D4h] [xbp+1D4h] size_t v35; // [xsp+1D8h] [xbp+1D8h] BYREF unsigned __int64 v36; // [xsp+1E0h] [xbp+1E0h] char *v37; // [xsp+1E8h] [xbp+1E8h] _BYTE v38[504]; // [xsp+1F0h] [xbp+1F0h] BYREF v35 = 0; v36 = 500; v37 = v38; EffectGameObject::getSaveString(this, a2, v17); if ( (v17[0] & 1) != 0 ) { v5 = v18; v6 = v17[1]; } else { v5 = (char *)v17 + 1; v6 = LOBYTE(v17[0]) >> 1; } fmt::BasicWriter::operator<<(&v35, v5, v6); if ( (v17[0] & 1) != 0 ) operator delete(v18); if ( *((_QWORD *)this + 231) ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x36u); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); (*(void (__fastcall **)(__int64 *__return_ptr, _QWORD))(**((_QWORD **)this + 231) + 1816LL))( &v25, *((_QWORD *)this + 231)); v7 = *((float *)&v25 + 1); (*(void (__fastcall **)(__int64 *__return_ptr, TeleportPortalObject *))(*(_QWORD *)this + 1816LL))(&v30, this); v19[1] = 32; v19[0] = 0; v19[2] = 0; v19[3] = 0; v19[4] = -1; v20 = 0; fmt::BasicWriter::FormatDouble(&v35, v19, (float)(v7 - *((float *)&v30 + 1))); } if ( *((_BYTE *)this + 1864) ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x37u); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v35, *((unsigned __int8 *)this + 1864)); } if ( *((_DWORD *)this + 366) ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x33u); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v35, *((_DWORD *)this + 366)); } if ( *((_BYTE *)this + 1865) ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x159u); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v35, *((unsigned __int8 *)this + 1865)); } if ( *((float *)this + 467) != 0.0 ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x15Au); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); v15 = *((float *)this + 467); v21[1] = 32; v21[0] = 0; v21[2] = 0; v21[3] = 0; v21[4] = -1; v22 = 0; fmt::BasicWriter::FormatDouble(&v35, v21, v15); } if ( *((_BYTE *)this + 1872) ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x15Bu); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v35, *((unsigned __int8 *)this + 1872)); } if ( *((float *)this + 469) != 0.0 ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x15Eu); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); v14 = *((float *)this + 469); v23[1] = 32; v23[0] = 0; v23[2] = 0; v23[3] = 0; v23[4] = -1; v24 = 0; fmt::BasicWriter::FormatDouble(&v35, v23, v14); } if ( *((float *)this + 470) != 0.0 ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x15Cu); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); v13 = *((float *)this + 470); v25 = 0x2000000000LL; v26 = 0; v27 = 0; v28 = -1; v29 = 0; fmt::BasicWriter::FormatDouble(&v35, &v25, v13); } if ( *((float *)this + 471) != 0.0 ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x15Du); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); v12 = *((float *)this + 471); v30 = 0x2000000000LL; v31 = 0; v32 = 0; v33 = -1; v34 = 0; fmt::BasicWriter::FormatDouble(&v35, &v30, v12); } if ( *((_BYTE *)this + 1888) ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x15Fu); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v35, *((unsigned __int8 *)this + 1888)); } if ( *((_BYTE *)this + 1889) ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x160u); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v35, *((unsigned __int8 *)this + 1889)); } if ( *((_BYTE *)this + 1890) ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x161u); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v35, *((unsigned __int8 *)this + 1890)); } if ( *((_DWORD *)this + 473) ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x162u); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v35, *((_DWORD *)this + 473)); } if ( *((_BYTE *)this + 1896) ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x1BBu); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v35, *((unsigned __int8 *)this + 1896)); } if ( *((_BYTE *)this + 1897) ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x1D0u); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v35, *((unsigned __int8 *)this + 1897)); } if ( *((_BYTE *)this + 1898) ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x1FEu); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v35, *((unsigned __int8 *)this + 1898)); } if ( *((_BYTE *)this + 1899) ) { fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v35, 0x24Fu); fmt::BasicWriter::operator<<(&v35, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v35, *((unsigned __int8 *)this + 1899)); } v8 = v35; if ( v36 < v35 + 1 ) fmt::internal::Array::grow(&v35, v35 + 1); v37[v8] = 0; *a3 = 0; v9 = v37; a3[1] = 0; a3[2] = 0; v16 = (char *)v9; v10 = strlen(v9); std::string::__init(a3, v16, v10); if ( v37 != v38 && v37 ) operator delete[](v37); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source