// // GJGameLevel::getListSnapshot from 0x1000d1b70 to 0x1000d1df0 (640 bytes) // // 2 xrefs: // > sub_1000D65AC @ 0x1000d66a8 // > GJLevelList::addLevelToList @ 0x1000d68b0 // // 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 10:58:54 +0000 // char *__fastcall GJGameLevel::getListSnapshot(__int64 a1) { char *v2; // x19 int v3; // w21 float v4; // s0 int v5; // w21 float v6; // s0 int v7; // w21 int v8; // w8 int v9; // w21 float v10; // s0 int v11; // w21 float v12; // s0 int v13; // w21 int v14; // w22 int v15; // w8 int v16; // w20 float v17; // s0 std::string __p; // [xsp+0h] [xbp-70h] BYREF std::string __str; // [xsp+20h] [xbp-50h] BYREF v2 = (char *)GJGameLevel::create_1(); v3 = *(_DWORD *)(a1 + 328) - *(_DWORD *)(a1 + 332); *((_DWORD *)v2 + 84) = v3; v4 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *((_DWORD *)v2 + 83) = (int)v4; *((_DWORD *)v2 + 82) = v3 + (int)v4; if ( *(char *)(a1 + 367) < 0 ) sub_1000097D0(&__str, *(void **)(a1 + 344), *(_QWORD *)(a1 + 352)); else __str = *(std::string *)(a1 + 344); std::string::operator=((std::string *)(v2 + 344), &__str); if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__str.__r_.__value_.__l.__data_); *((_DWORD *)v2 + 225) = *(_DWORD *)(a1 + 900); *((_DWORD *)v2 + 308) = *(_DWORD *)(a1 + 1232); v5 = *(_DWORD *)(a1 + 588) - *(_DWORD *)(a1 + 592); *((_DWORD *)v2 + 149) = v5; v6 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *((_DWORD *)v2 + 148) = (int)v6; *((_DWORD *)v2 + 147) = v5 + (int)v6; if ( *(char *)(a1 + 439) < 0 ) sub_1000097D0(&__p, *(void **)(a1 + 416), *(_QWORD *)(a1 + 424)); else __p = *(std::string *)(a1 + 416); std::string::operator=((std::string *)(v2 + 416), &__p); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); *((_DWORD *)v2 + 223) = *(_DWORD *)(a1 + 892); *((_DWORD *)v2 + 151) = *(_DWORD *)(a1 + 604); *((_DWORD *)v2 + 152) = *(_DWORD *)(a1 + 608); *((_DWORD *)v2 + 285) = *(_DWORD *)(a1 + 1140); *((_DWORD *)v2 + 159) = *(_DWORD *)(a1 + 636); *((_QWORD *)v2 + 80) = *(_QWORD *)(a1 + 640); v7 = *(_DWORD *)(a1 + 932) - *(_DWORD *)(a1 + 936); *((_DWORD *)v2 + 235) = v7; v8 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0); *((_DWORD *)v2 + 234) = v8; *((_DWORD *)v2 + 233) = v7 + v8; *((_DWORD *)v2 + 236) = *(_DWORD *)(a1 + 944); v2[960] = *(_BYTE *)(a1 + 960); *((_QWORD *)v2 + 113) = *(_QWORD *)(a1 + 904); v9 = *(_DWORD *)(a1 + 948) - *(_DWORD *)(a1 + 952); *((_DWORD *)v2 + 239) = v9; v10 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *((_DWORD *)v2 + 238) = (int)v10; *((_DWORD *)v2 + 237) = v9 + (int)v10; *((_DWORD *)v2 + 241) = *(_DWORD *)(a1 + 964); v11 = *(_DWORD *)(a1 + 968) - *(_DWORD *)(a1 + 972); *((_DWORD *)v2 + 244) = v11; v12 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *((_DWORD *)v2 + 243) = (int)v12; *((_DWORD *)v2 + 242) = v11 + (int)v12; v13 = *(_DWORD *)(a1 + 988); v14 = *(_DWORD *)(a1 + 992); *((_DWORD *)v2 + 249) = v13 != v14; v15 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0); *((_DWORD *)v2 + 248) = v15; if ( v13 != v14 ) ++v15; *((_DWORD *)v2 + 247) = v15; v16 = *(_DWORD *)(a1 + 620) - *(_DWORD *)(a1 + 624); *((_DWORD *)v2 + 157) = v16; v17 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *((_DWORD *)v2 + 156) = (int)v17; *((_DWORD *)v2 + 155) = v16 + (int)v17; return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source