// // LocalLevelManager::saveFinished from 0x100260870 to 0x1002609dc (364 bytes) // // 1 xrefs: // > @ 0x100910e88 // // 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 11:01:38 +0000 // void __fastcall LocalLevelManager::saveFinished(__int64 a1, int a2) { __int64 v3; // x0 std::error_code *v4; // x1 __int64 v5; // x20 __int64 v6; // x21 const std::__fs::filesystem::path *v7; // x0 signed __int64 v8; // x10 int v9; // w21 size_t v10; // x2 void *v11; // x8 int v12; // w20 _BYTE *v13; // x22 const void *v14; // x0 void **v15; // x1 std::error_code *v16; // x1 std::__fs::filesystem::path __p; // [xsp+0h] [xbp-60h] BYREF void *v18[2]; // [xsp+20h] [xbp-40h] BYREF __int64 v19; // [xsp+30h] [xbp-30h] if ( !a2 ) return; v3 = GameLevelManager::sharedState(); sub_1000AFF8C(v3, (__int64 *)(a1 + 440)); sub_1000D8E2C((void ***)(a1 + 440)); v5 = *(_QWORD *)(a1 + 416); v6 = *(_QWORD *)(a1 + 424); while ( v5 != v6 ) { v7 = (const std::__fs::filesystem::path *)v5; if ( *(char *)(v5 + 23) < 0 ) v7 = *(const std::__fs::filesystem::path **)v5; remove(v7, v4); v5 += 24; } sub_100018290((void ***)(a1 + 416)); std::mutex::lock((std::mutex *)(a1 + 464)); v8 = *(_QWORD *)(a1 + 568); v19 = v8; *(_OWORD *)v18 = *(_OWORD *)(a1 + 552); *(_BYTE *)(a1 + 575) = 0; __p = *(std::__fs::filesystem::path *)(a1 + 576); *(_BYTE *)(a1 + 552) = 0; *(_BYTE *)(a1 + 599) = 0; *(_WORD *)(a1 + 575) = 0; v9 = *(char *)(a1 + 551); if ( v9 >= 0 ) v10 = *(unsigned __int8 *)(a1 + 551); else v10 = *(_QWORD *)(a1 + 536); v11 = (void *)HIBYTE(v8); v12 = SHIBYTE(v8); if ( v8 < 0 ) v11 = v18[1]; if ( (void *)v10 == v11 ) { v13 = *(_BYTE **)(a1 + 528); v14 = v9 >= 0 ? (const void *)(a1 + 528) : *(const void **)(a1 + 528); v15 = v8 >= 0 ? v18 : (void **)v18[0]; if ( !memcmp(v14, v15, v10) ) { if ( v9 < 0 ) { *v13 = 0; *(_QWORD *)(a1 + 536) = 0; } else { *(_BYTE *)(a1 + 528) = 0; *(_BYTE *)(a1 + 551) = 0; } } } std::mutex::unlock((std::mutex *)(a1 + 464)); if ( (SHIBYTE(__p.__pn_.__r_.__value_.__r.__words[2]) & 0x80000000) == 0 ) { if ( *((_BYTE *)&__p.__pn_.__r_.__value_.__s + 23) ) remove(&__p, v16); if ( (v12 & 0x80000000) == 0 ) return; LABEL_31: operator delete(v18[0]); return; } if ( __p.__pn_.__r_.__value_.__l.__size_ ) remove((const std::__fs::filesystem::path *)__p.__pn_.__r_.__value_.__l.__data_, v16); operator delete(__p.__pn_.__r_.__value_.__l.__data_); if ( v12 < 0 ) goto LABEL_31; }
GD Web Decomp Icon

GD Web Decomp

Raw Source