// // sub_1800C1A70 from 0x1800c1a70 to 0x1800c1c7f (527 bytes) // // 2 xrefs: // > sub_1800C2180 @ 0x1800c2220 // > @ 0x1801fdc50 // // This function is hookable on this platform (idp: pc, 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:54:03 +0000 // __int64 __fastcall sub_1800C1A70(__int64 a1) { __int64 v2; // rcx __int64 v3; // rdi __int64 v4; // rdi __int64 result; // rax __int64 v6; // rdi __int64 v7; // rdi __int64 v8; // rdi __int64 v9; // rdi __int64 v10; // rdi __int64 v11; // rax _DWORD *v12; // rdx __int64 v13; // rcx v2 = a1 + 1136; if ( !a1 ) v2 = 1144; sub_1800BDBC0((_DWORD **)v2); v3 = a1 + 1096; if ( !a1 ) v3 = 1104; if ( *(_QWORD *)v3 ) { (*(void (__fastcall **)(_QWORD))(**(_QWORD **)v3 + 16LL))(*(_QWORD *)v3); *(_QWORD *)v3 = 0; qword_1801EF7A8 = 0; } v4 = a1 + 1184; if ( !a1 ) v4 = 1192; if ( *(_QWORD *)v4 ) { result = FMOD_OS_CriticalSection_Free(*(LPCRITICAL_SECTION *)v4, 0); if ( (_DWORD)result ) return result; *(_QWORD *)v4 = 0; } v6 = a1 + 1072; if ( !a1 ) v6 = 1080; if ( *(_QWORD *)v6 ) { sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), *(_DWORD **)v6); *(_QWORD *)v6 = 0; } v7 = a1 + 1080; if ( !a1 ) v7 = 1088; if ( *(_QWORD *)v7 ) { sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), *(_DWORD **)v7); *(_QWORD *)v7 = 0; } v8 = a1 + 1088; if ( !a1 ) v8 = 1096; if ( *(_QWORD *)v8 ) { sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), *(_DWORD **)v8); *(_QWORD *)v8 = 0; } v9 = a1 + 1104; if ( !a1 ) v9 = 1112; if ( *(_QWORD *)v9 ) { sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), *(_DWORD **)v9); *(_QWORD *)v9 = 0; } v10 = a1 + 64; if ( !a1 ) v10 = 72; v11 = *(_QWORD *)v10; v12 = *(_DWORD **)(*(_QWORD *)v10 + 69672LL); if ( v12 ) { sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), v12); *(_QWORD *)(*(_QWORD *)v10 + 69672LL) = 0; v11 = *(_QWORD *)v10; } *(_DWORD *)(v11 + 69664) = 0; v13 = a1 + 776; result = 0; if ( !a1 ) v13 = 784; *(_BYTE *)v13 = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source