// // SongTriggerGameObject::getSaveString from 0x8ad4ac to 0x8ad754 (680 bytes) // // 2 xrefs: // > @ 0x60460 // > @ 0x144f2e0 // // 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 SongTriggerGameObject::getSaveString@( SongTriggerGameObject *this@, GJBaseGameLayer *a2@, __int64 *a3@) { const char *v5; // x1 size_t v6; // x2 size_t v7; // x21 const char *v8; // x1 size_t v9; // x0 char *v11; // [xsp+48h] [xbp+48h] __int64 v12[2]; // [xsp+80h] [xbp+80h] BYREF char *v13; // [xsp+90h] [xbp+90h] size_t v14; // [xsp+98h] [xbp+98h] BYREF unsigned __int64 v15; // [xsp+A0h] [xbp+A0h] char *v16; // [xsp+A8h] [xbp+A8h] _BYTE v17[504]; // [xsp+B0h] [xbp+B0h] BYREF v14 = 0; v15 = 500; v16 = v17; SFXTriggerGameObject::getSaveString(this, a2, v12); if ( (v12[0] & 1) != 0 ) { v5 = v13; v6 = v12[1]; } else { v5 = (char *)v12 + 1; v6 = LOBYTE(v12[0]) >> 1; } fmt::BasicWriter::operator<<(&v14, v5, v6); if ( (v12[0] & 1) != 0 ) { operator delete(v13); if ( !*((_BYTE *)this + 2025) ) { LABEL_5: if ( !*((_BYTE *)this + 2026) ) goto LABEL_6; LABEL_16: fmt::BasicWriter::operator<<(&v14, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v14, 0x190u); fmt::BasicWriter::operator<<(&v14, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v14, *((unsigned __int8 *)this + 2026)); if ( !*((_DWORD *)this + 507) ) goto LABEL_7; goto LABEL_17; } } else if ( !*((_BYTE *)this + 2025) ) { goto LABEL_5; } fmt::BasicWriter::operator<<(&v14, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v14, 0x18Fu); fmt::BasicWriter::operator<<(&v14, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v14, *((unsigned __int8 *)this + 2025)); if ( *((_BYTE *)this + 2026) ) goto LABEL_16; LABEL_6: if ( !*((_DWORD *)this + 507) ) goto LABEL_7; LABEL_17: fmt::BasicWriter::operator<<(&v14, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v14, 0x1B0u); fmt::BasicWriter::operator<<(&v14, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v14, *((_DWORD *)this + 507)); LABEL_7: v7 = v14; if ( v15 < v14 + 1 ) fmt::internal::Array::grow(&v14, v14 + 1); v16[v7] = 0; *a3 = 0; v8 = v16; a3[1] = 0; a3[2] = 0; v11 = (char *)v8; v9 = strlen(v8); std::string::__init(a3, v11, v9); if ( v16 != v17 && v16 ) operator delete[](v16); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source