// // LocalLevelManager::getAllLevelsWithName from 0x1005f73b0 to 0x1005f7507 (343 bytes) // // 1 xrefs: // > EditLevelLayer::verifyLevelName @ 0x1001fde68 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall LocalLevelManager::getAllLevelsWithName(__int64 a1, unsigned __int8 *a2, __m128 a3) { __int64 v3; // rbx unsigned int i; // r12d __int64 v5; // rax __int64 v6; // r13 unsigned int v7; // eax __int8 v8; // bl __int8 *v9; // rdi size_t v10; // rdx size_t v11; // rax const void *v12; // rsi bool v13; // zf bool v14; // r14 bool v15; // r15 __int8 *__p; // [rsp+8h] [rbp-68h] void *__s2; // [rsp+18h] [rbp-58h] __m128 __s1; // [rsp+20h] [rbp-50h] BYREF __int8 *v21; // [rsp+30h] [rbp-40h] __int64 v22; // [rsp+38h] [rbp-38h] unsigned __int8 *v23; // [rsp+40h] [rbp-30h] v23 = a2; v3 = a1; v22 = sub_10071F9E0(a1, a2); if ( (unsigned int)sub_100720070(*(_QWORD *)(a1 + 352)) ) { __s2 = v23 + 1; for ( i = 0; i < (unsigned int)sub_100720070(*(_QWORD *)(a1 + 352)); ++i ) { v5 = sub_1007200C0(*(_QWORD *)(v3 + 352), i); v6 = v5; if ( (*(_BYTE *)(v5 + 344) & 1) != 0 ) { sub_100006B70(&__s1, *(const void **)(v5 + 360), *(_QWORD *)(v5 + 352), *(double *)a3.i64); } else { v21 = *(__int8 **)(v5 + 360); a3 = *(__m128 *)(v5 + 344); __s1 = a3; } v7 = *v23; v8 = __s1.i8[0]; v9 = v21; __p = v21; if ( (__s1.i8[0] & 1) != 0 ) { v10 = __s1.u64[1]; if ( (v7 & 1) == 0 ) goto LABEL_11; } else { v10 = __s1.u8[0] >> 1; v9 = &__s1.i8[1]; if ( (v7 & 1) == 0 ) { LABEL_11: v11 = v7 >> 1; v12 = __s2; goto LABEL_12; } } v11 = *((_QWORD *)v23 + 1); v12 = *((const void **)v23 + 2); LABEL_12: v13 = v11 == v10; if ( v11 < v10 ) v10 = v11; v14 = v13; v15 = memcmp(v9, v12, v10) == 0; if ( (v8 & 1) != 0 ) operator delete(__p); v3 = a1; if ( v14 && v15 ) sub_10071FCD0(v22, v6); } } return v22; }
GD Web Decomp Icon

GD Web Decomp

Raw Source