// // GJEffectManager::getSaveString from 0xa0f7b8 to 0xa0f9b8 (512 bytes) // // 2 xrefs: // > LevelSettingsObject::getSaveString @ 0x7a5000 // > @ 0x93790 // // 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:59:27 +0000 // __int64 *__usercall GJEffectManager::getSaveString@(__int64 *__return_ptr a1@, GJEffectManager *this@) { __int64 v2; // x0 __int64 v4; // x0 __int64 v5; // x19 __int64 v6; // x0 size_t v7; // x25 size_t v8; // x24 __int64 v9; // x0 size_t v10; // x19 const char *v11; // x1 size_t v12; // x0 char *v14; // [xsp+58h] [xbp+58h] size_t v15; // [xsp+68h] [xbp+68h] BYREF unsigned __int64 v16; // [xsp+70h] [xbp+70h] char *v17; // [xsp+78h] [xbp+78h] _BYTE v18[504]; // [xsp+80h] [xbp+80h] BYREF v2 = *((_QWORD *)this + 41); v15 = 0; v16 = 500; v17 = v18; if ( v2 && (v4 = *(_QWORD *)(v2 + 56)) != 0 ) { v5 = *(_QWORD *)(v4 + 288); v6 = *(_QWORD *)(v4 + 264); if ( *(int *)(v6 + 92) <= 999 ) goto LABEL_8; while ( 1 ) { LABEL_4: ColorAction::writeSaveString(v6, &v15); v7 = v15; v8 = v15 + 1; if ( v15 + 1 > v16 ) fmt::internal::Array::grow(&v15, v15 + 1); v15 = v8; v17[v7] = asc_111D680[0]; if ( !v5 ) break; while ( 1 ) { v9 = v5; v5 = *(_QWORD *)(v5 + 288); v6 = *(_QWORD *)(v9 + 264); if ( *(int *)(v6 + 92) > 999 ) break; LABEL_8: if ( *(unsigned __int8 *)(v6 + 72) != 255 || *(unsigned __int8 *)(v6 + 73) != 255 || *(unsigned __int8 *)(v6 + 74) != 255 || *(_BYTE *)(v6 + 84) || *(float *)(v6 + 96) != 1.0 || *(_DWORD *)(v6 + 120) || *(int *)(v6 + 88) > 0 ) { goto LABEL_4; } if ( !v5 ) goto LABEL_15; } } LABEL_15: v10 = v15; if ( v15 + 1 > v16 ) fmt::internal::Array::grow(&v15, v15 + 1); } else { v10 = 0; } v17[v10] = 0; *a1 = 0; v11 = v17; a1[1] = 0; a1[2] = 0; v14 = (char *)v11; v12 = strlen(v11); std::string::__init(a1, v14, v12); if ( v17 != v18 && v17 ) operator delete[](v17); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source