// // GManager::saveGMTo from 0x3d4320 to 0x3d444c (300 bytes) // // 1 xrefs: // > GManager::save @ 0x3d44ca // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:46:42 +0000 // void __fastcall GManager::saveGMTo(std::__thread_struct *a1, std::__thread_struct **a2, int a3) { DS_Dictionary *v6; // r8 std::__thread_struct *v7; // r7 std::__thread_struct *v8; // r0 std::__thread_struct *v9; // r1 std::__thread_struct *v10; // r2 std::__thread_struct *v11; // r9 DS_Dictionary *v12; // r8 std::__thread_struct **v13; // r0 std::__thread_struct **v14; // r5 std::__thread_struct *v15; // r1 std::__thread_struct *v16; // r2 int v17; // r0 std::__thread_struct *v18; // r0 std::__thread_struct *v19; // r1 std::__thread_struct *v20; // r2 pthread_t v21; // [sp+4h] [bp-20h] BYREF std::__thread_struct *v22; // [sp+8h] [bp-1Ch] BYREF DS_Dictionary *v23; // [sp+Ch] [bp-18h] std::__thread_struct *v24; // [sp+10h] [bp-14h] BYREF std::__thread_struct *v25; // [sp+14h] [bp-10h] std::__thread_struct *v26; // [sp+18h] [bp-Ch] v6 = (DS_Dictionary *)operator new(0xD8u); DS_Dictionary::DS_Dictionary(v6); (*(void (__fastcall **)(std::__thread_struct *, DS_Dictionary *))(*(_DWORD *)a1 + 452))(a1, v6); (*(void (__fastcall **)(std::__thread_struct *))(*(_DWORD *)a1 + 456))(a1); v22 = a1; v23 = v6; if ( a3 ) { v7 = (std::__thread_struct *)operator new(4u); std::__thread_struct::__thread_struct(v7); v8 = *a2; v9 = a2[1]; v10 = a2[2]; *a2 = nullptr; a2[1] = nullptr; a2[2] = nullptr; v24 = v8; v25 = v9; v26 = v10; v11 = v22; v12 = v23; v13 = (std::__thread_struct **)operator new(0x18u); *v13 = v7; v13[1] = v11; v13[2] = v12; v14 = v13; v15 = v25; v16 = v26; v13[3] = v24; v13[4] = v15; v13[5] = v16; v24 = nullptr; v25 = nullptr; v26 = nullptr; std::string::~string((int)&v24); v17 = pthread_create(&v21, nullptr, (void *(*)(void *))sub_3D427C, v14); if ( v17 ) std::__throw_system_error(v17, "thread constructor failed"); std::thread::detach((std::thread *)&v21); std::thread::~thread((std::thread *)&v21); } else { v18 = *a2; v19 = a2[1]; v20 = a2[2]; *a2 = nullptr; a2[1] = nullptr; a2[2] = nullptr; v24 = v18; v25 = v19; v26 = v20; sub_3D4220(&v22, (int)&v24); std::string::~string((int)&v24); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source