// // AudioLineGuideGameObject::getSaveString from 0x8b2284 to 0x8b2628 (932 bytes) // // 2 xrefs: // > @ 0xc7870 // > @ 0x1454b90 // // 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 AudioLineGuideGameObject::getSaveString@( AudioLineGuideGameObject *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 char *v12; // [xsp+48h] [xbp+48h] __int64 v13[2]; // [xsp+98h] [xbp+98h] BYREF char *v14; // [xsp+A8h] [xbp+A8h] _DWORD v15[5]; // [xsp+B0h] [xbp+B0h] BYREF char v16; // [xsp+C4h] [xbp+C4h] size_t v17; // [xsp+C8h] [xbp+C8h] BYREF unsigned __int64 v18; // [xsp+D0h] [xbp+D0h] char *v19; // [xsp+D8h] [xbp+D8h] _BYTE v20[504]; // [xsp+E0h] [xbp+E0h] BYREF v17 = 0; v18 = 500; v19 = v20; EffectGameObject::getSaveString(this, a2, v13); if ( (v13[0] & 1) != 0 ) { v5 = v14; v6 = v13[1]; } else { v5 = (char *)v13 + 1; v6 = LOBYTE(v13[0]) >> 1; } fmt::BasicWriter::operator<<(&v17, v5, v6); if ( (v13[0] & 1) != 0 ) { operator delete(v14); if ( !*((_DWORD *)this + 460) ) { LABEL_5: if ( !*((_DWORD *)this + 461) ) goto LABEL_6; goto LABEL_18; } } else if ( !*((_DWORD *)this + 460) ) { goto LABEL_5; } fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0x1F2u); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 460)); if ( !*((_DWORD *)this + 461) ) { LABEL_6: if ( !*((_DWORD *)this + 462) ) goto LABEL_7; goto LABEL_19; } LABEL_18: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0x1F5u); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 461)); if ( !*((_DWORD *)this + 462) ) { LABEL_7: if ( !*((_BYTE *)this + 1852) ) goto LABEL_8; LABEL_20: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0x1F4u); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((unsigned __int8 *)this + 1852)); if ( *((float *)this + 363) == 0.0 ) goto LABEL_9; goto LABEL_21; } LABEL_19: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0x1F3u); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 462)); if ( *((_BYTE *)this + 1852) ) goto LABEL_20; LABEL_8: if ( *((float *)this + 363) == 0.0 ) goto LABEL_9; LABEL_21: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0xAu); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); v11 = *((float *)this + 363); v15[1] = 32; v15[0] = 0; v15[2] = 0; v15[3] = 0; v15[4] = -1; v16 = 0; fmt::BasicWriter::FormatDouble(&v17, v15, v11); LABEL_9: v7 = v17; if ( v18 < v17 + 1 ) fmt::internal::Array::grow(&v17, v17 + 1); v19[v7] = 0; *a3 = 0; v8 = v19; a3[1] = 0; a3[2] = 0; v12 = (char *)v8; v9 = strlen(v8); std::string::__init(a3, v12, v9); if ( v19 != v20 && v19 ) operator delete[](v19); return a3; }