// // SpawnTriggerGameObject::getSaveString from 0x8adb68 to 0x8ae0e0 (1400 bytes) // // 2 xrefs: // > @ 0x44c08 // > @ 0x1450300 // // 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:22 +0000 // __int64 *__usercall SpawnTriggerGameObject::getSaveString@( SpawnTriggerGameObject *this@, GJBaseGameLayer *a2@, __int64 *a3@) { const char *v5; // x1 size_t v6; // x2 unsigned int *v7; // x20 unsigned int *v8; // x26 size_t v9; // x22 unsigned __int64 v10; // x21 size_t v11; // x22 size_t v12; // x21 size_t v13; // x20 const char *v14; // x1 size_t v15; // x0 double v17; // d0 double v18; // d0 char *v19; // [xsp+68h] [xbp+68h] __int64 v20[2]; // [xsp+E0h] [xbp+E0h] BYREF char *v21; // [xsp+F0h] [xbp+F0h] _DWORD v22[5]; // [xsp+F8h] [xbp+F8h] BYREF char v23; // [xsp+10Ch] [xbp+10Ch] _DWORD v24[5]; // [xsp+110h] [xbp+110h] BYREF char v25; // [xsp+124h] [xbp+124h] size_t v26; // [xsp+128h] [xbp+128h] BYREF unsigned __int64 v27; // [xsp+130h] [xbp+130h] char *v28; // [xsp+138h] [xbp+138h] _BYTE v29[504]; // [xsp+140h] [xbp+140h] BYREF v26 = 0; v27 = 500; v28 = v29; EffectGameObject::getSaveString(this, a2, v20); if ( (v20[0] & 1) != 0 ) { v5 = v21; v6 = v20[1]; } else { v6 = LOBYTE(v20[0]) >> 1; v5 = (char *)v20 + 1; } fmt::BasicWriter::operator<<(&v26, v5, v6); if ( (v20[0] & 1) != 0 ) { operator delete(v21); if ( !*((_DWORD *)this + 366) ) { LABEL_5: if ( *((float *)this + 476) == 0.0 ) goto LABEL_6; goto LABEL_27; } } 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 ( *((float *)this + 476) == 0.0 ) { LABEL_6: if ( *((float *)this + 477) == 0.0 ) goto LABEL_7; goto LABEL_28; } LABEL_27: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x3Fu); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); v17 = *((float *)this + 476); v22[1] = 32; v22[0] = 0; v22[2] = 0; v22[3] = 0; v22[4] = -1; v23 = 0; fmt::BasicWriter::FormatDouble(&v26, v22, v17); if ( *((float *)this + 477) == 0.0 ) { LABEL_7: if ( !*((_BYTE *)this + 1665) ) goto LABEL_8; goto LABEL_29; } LABEL_28: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x22Cu); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); v18 = *((float *)this + 477); v24[1] = 32; v24[0] = 0; v24[2] = 0; v24[3] = 0; v24[4] = -1; v25 = 0; fmt::BasicWriter::FormatDouble(&v26, v24, v18); if ( !*((_BYTE *)this + 1665) ) { LABEL_8: if ( !*((_BYTE *)this + 1666) ) goto LABEL_9; LABEL_30: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x1B9u); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((unsigned __int8 *)this + 1666)); if ( !*((_BYTE *)this + 1912) ) goto LABEL_10; LABEL_31: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x245u); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((unsigned __int8 *)this + 1912)); goto LABEL_10; } LABEL_29: fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x66u); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v26, *((unsigned __int8 *)this + 1665)); if ( *((_BYTE *)this + 1666) ) goto LABEL_30; LABEL_9: if ( *((_BYTE *)this + 1912) ) goto LABEL_31; LABEL_10: if ( *((_QWORD *)this + 230) != *((_QWORD *)this + 231) ) { fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v26, 0x1BAu); fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0); v7 = *((unsigned int **)this + 230); v8 = *((unsigned int **)this + 231); if ( v7 != v8 ) { fmt::BasicWriter::FormatInt,char>>(&v26, *v7); v9 = v26; v10 = v26 + 1; if ( v26 + 1 > v27 ) goto LABEL_17; while ( 1 ) { v26 = v10; v28[v9] = 46; fmt::BasicWriter::FormatInt,char>>(&v26, v7[2]); v7 += 4; if ( v8 == v7 ) break; v11 = v26; v12 = v26 + 1; if ( v26 + 1 > v27 ) fmt::internal::Array::grow(&v26, v26 + 1); v26 = v12; v28[v11] = 46; fmt::BasicWriter::FormatInt,char>>(&v26, *v7); v9 = v26; v10 = v26 + 1; if ( v26 + 1 > v27 ) LABEL_17: fmt::internal::Array::grow(&v26, v10); } } } v13 = v26; if ( v27 < v26 + 1 ) fmt::internal::Array::grow(&v26, v26 + 1); v28[v13] = 0; *a3 = 0; v14 = v28; a3[1] = 0; a3[2] = 0; v19 = (char *)v14; v15 = strlen(v14); std::string::__init(a3, v19, v15); if ( v28 != v29 && v28 ) operator delete[](v28); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source