// // sub_1800C2C70 from 0x1800c2c70 to 0x1800c2dbc (332 bytes) // // 5 xrefs: // > sub_1800C2180 @ 0x1800c21f6 // > @ 0x18018a898 // > @ 0x18018a8ac // > @ 0x18018a8c0 // > @ 0x1801fdce0 // // 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_1800C2C70(__int64 a1, _DWORD *a2) { __int64 v2; // rdi __int64 result; // rax __int64 v6; // rcx int v7; // eax int v8; // edx bool v9; // cc __int64 v10; // rax int v11; // eax void *v12; // rax __int64 v13; // rcx __int64 v14; // rcx __int64 v15; // rcx int v16; // [rsp+50h] [rbp+8h] BYREF int v17; // [rsp+60h] [rbp+18h] BYREF double v18; // [rsp+68h] [rbp+20h] BYREF v2 = a1 + 1096; if ( !a1 ) v2 = 1104; v18 = 0.0; if ( (*(unsigned int (__fastcall **)(_QWORD, double *))(**(_QWORD **)v2 + 104LL))(*(_QWORD *)v2, &v18) ) return 49; v6 = *(_QWORD *)v2; v16 = 0; v17 = 0; if ( (*(unsigned int (__fastcall **)(__int64, int *, int *))(*(_QWORD *)v6 + 72LL))(v6, &v16, &v17) ) return 49; v7 = (int)v18; v8 = v16; v9 = a2[8] < v16; a2[6] = 5; if ( v9 ) v8 = a2[8]; a2[8] = v8; a2[7] = v7; v10 = a1 + 1128; if ( !a1 ) v10 = 1136; v11 = 2 * *(_DWORD *)v10; a2[9] = v11; v12 = sub_1800B6880( *((_QWORD *)off_1801AED20 + 52), (unsigned int)(4 * v11 * v8), "C:\\buildagent1\\work\\570ad728b1678096\\core_api\\platforms\\win\\src\\fmod_output_asio.cpp", 760, 0); v13 = a1 + 1200; if ( !a1 ) v13 = 1208; *(_QWORD *)v13 = v12; if ( !v12 ) return 38; v14 = a1 + 1208; result = 0; if ( !a1 ) v14 = 1216; *(_DWORD *)v14 = 0; v15 = a1 + 1192; if ( !a1 ) v15 = 1200; *(_QWORD *)v15 = a2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source