// // ForceBlockGameObject::getSaveString from 0x8b2628 to 0x8b2a80 (1112 bytes) // // 2 xrefs: // > @ 0xa2448 // > @ 0x14553a0 // // 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:23 +0000 // __int64 *__usercall ForceBlockGameObject::getSaveString@( ForceBlockGameObject *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 char *v14; // [xsp+48h] [xbp+48h] __int64 v15[2]; // [xsp+98h] [xbp+98h] BYREF char *v16; // [xsp+A8h] [xbp+A8h] _DWORD v17[5]; // [xsp+B0h] [xbp+B0h] BYREF char v18; // [xsp+C4h] [xbp+C4h] _DWORD v19[5]; // [xsp+C8h] [xbp+C8h] BYREF char v20; // [xsp+DCh] [xbp+DCh] _DWORD v21[5]; // [xsp+E0h] [xbp+E0h] BYREF char v22; // [xsp+F4h] [xbp+F4h] size_t v23; // [xsp+F8h] [xbp+F8h] BYREF unsigned __int64 v24; // [xsp+100h] [xbp+100h] char *v25; // [xsp+108h] [xbp+108h] _BYTE v26[504]; // [xsp+110h] [xbp+110h] BYREF v23 = 0; v24 = 500; v25 = v26; EffectGameObject::getSaveString(this, a2, v15); if ( (v15[0] & 1) != 0 ) { v5 = v16; v6 = v15[1]; } else { v5 = (char *)v15 + 1; v6 = LOBYTE(v15[0]) >> 1; } fmt::BasicWriter::operator<<(&v23, v5, v6); if ( (v15[0] & 1) != 0 ) { operator delete(v16); if ( *((float *)this + 460) == 0.0 ) { LABEL_5: if ( *((float *)this + 461) == 0.0 ) goto LABEL_6; goto LABEL_19; } } else if ( *((float *)this + 460) == 0.0 ) { goto LABEL_5; } fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v23, 0x95u); fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0); v11 = *((float *)this + 460); v17[1] = 32; v17[0] = 0; v17[2] = 0; v17[3] = 0; v17[4] = -1; v18 = 0; fmt::BasicWriter::FormatDouble(&v23, v17, v11); if ( *((float *)this + 461) == 0.0 ) { LABEL_6: if ( *((float *)this + 462) == 0.0 ) goto LABEL_7; goto LABEL_20; } LABEL_19: fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v23, 0x20Eu); fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0); v12 = *((float *)this + 461); v19[1] = 32; v19[0] = 0; v19[2] = 0; v19[3] = 0; v19[4] = -1; v20 = 0; fmt::BasicWriter::FormatDouble(&v23, v19, v12); if ( *((float *)this + 462) == 0.0 ) { LABEL_7: if ( !*((_BYTE *)this + 1852) ) goto LABEL_8; goto LABEL_21; } LABEL_20: fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v23, 0x20Fu); fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0); v13 = *((float *)this + 462); v21[1] = 32; v21[0] = 0; v21[2] = 0; v21[3] = 0; v21[4] = -1; v22 = 0; fmt::BasicWriter::FormatDouble(&v23, v21, v13); if ( !*((_BYTE *)this + 1852) ) { LABEL_8: if ( !*((_BYTE *)this + 1853) ) goto LABEL_9; LABEL_22: fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v23, 0x211u); fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v23, *((unsigned __int8 *)this + 1853)); if ( !*((_DWORD *)this + 464) ) goto LABEL_10; goto LABEL_23; } LABEL_21: fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v23, 0x210u); fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v23, *((unsigned __int8 *)this + 1852)); if ( *((_BYTE *)this + 1853) ) goto LABEL_22; LABEL_9: if ( !*((_DWORD *)this + 464) ) goto LABEL_10; LABEL_23: fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v23, 0x212u); fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v23, *((_DWORD *)this + 464)); LABEL_10: v7 = v23; if ( v24 < v23 + 1 ) fmt::internal::Array::grow(&v23, v23 + 1); v25[v7] = 0; *a3 = 0; v8 = v25; a3[1] = 0; a3[2] = 0; v14 = (char *)v8; v9 = strlen(v8); std::string::__init(a3, v14, v9); if ( v25 != v26 && v25 ) operator delete[](v25); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source