// // GJGameLevel::dtSetCells from 0x8542cc to 0x854580 (692 bytes) // // 2 xrefs: // > PlayLayer::dtFlushCells @ 0xc364a0 // > @ 0xef7a0 // // 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:55:28 +0000 // __int64 __fastcall GJGameLevel::dtSetCells(__int64 a1, __int64 *a2) { __int64 v3; // x1 bool v4; // cc __int64 v5; // x20 __int64 i; // x24 size_t v7; // x28 size_t v8; // x23 size_t v9; // x28 size_t v10; // x23 __int64 v11; // x23 size_t v12; // x28 size_t v13; // x24 size_t v14; // x28 size_t v15; // x23 size_t v17; // x21 __int64 *v18; // x20 size_t v20; // [xsp+98h] [xbp+98h] BYREF unsigned __int64 v21; // [xsp+A0h] [xbp+A0h] char *v22; // [xsp+A8h] [xbp+A8h] _BYTE v23[504]; // [xsp+B0h] [xbp+B0h] BYREF v3 = *a2; v4 = (unsigned __int64)(a2[1] - v3) > 0xF; v20 = 0; v22 = v23; v21 = 500; if ( v4 ) { v5 = 0; for ( i = 4; ; i = v11 ) { fmt::BasicWriter::FormatInt,char>>( &v20, *(_DWORD *)(v3 + v5)); v14 = v20; v15 = v20 + 1; if ( v20 + 1 > v21 ) fmt::internal::Array::grow(&v20, v20 + 1); v20 = v15; v22[v14] = 44; fmt::BasicWriter::FormatInt,char>>( &v20, *(_DWORD *)(*a2 + v5 + 4)); v7 = v20; v8 = v20 + 1; if ( v20 + 1 > v21 ) fmt::internal::Array::grow(&v20, v20 + 1); v20 = v8; v22[v7] = 44; fmt::BasicWriter::FormatInt,char>>( &v20, *(_DWORD *)(*a2 + v5 + 8)); v9 = v20; v10 = v20 + 1; if ( v20 + 1 > v21 ) fmt::internal::Array::grow(&v20, v20 + 1); v20 = v10; v22[v9] = 44; fmt::BasicWriter::FormatInt,char>>( &v20, *(_DWORD *)(*a2 + v5 + 12)); v3 = *a2; v11 = i + 4; if ( i + 4 > (unsigned __int64)((a2[1] - *a2) >> 2) ) break; if ( i ) { v12 = v20; v13 = v20 + 1; if ( v20 + 1 > v21 ) fmt::internal::Array::grow(&v20, v20 + 1); v20 = v13; v22[v12] = 44; v3 = *a2; } v5 += 16; } v17 = v20; v18 = (__int64 *)(a1 + 1720); if ( v21 < v20 + 1 ) fmt::internal::Array::grow(&v20, v20 + 1); } else { v17 = 0; v18 = (__int64 *)(a1 + 1720); } v22[v17] = 0; std::string::assign(v18, v22); if ( v22 != v23 && v22 ) operator delete[](v22); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source