// // sub_C79C0 from 0xc79c0 to 0xc7ac4 (260 bytes) // // 2 xrefs: // > sub_C78B0 @ 0xc792c // > FMOD::DSP::setMeteringEnabled @ 0xd4a94 // // 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 sub_C79C0(__int64 a1, __int64 a2, unsigned __int8 a3) { __int64 v3; // x8 unsigned __int8 v6; // w21 unsigned int v7; // w22 __int64 v8; // x1 char v9; // w23 __int64 v11; // [xsp+0h] [xbp-40h] BYREF int v12; // [xsp+8h] [xbp-38h] char v13; // [xsp+Ch] [xbp-34h] v3 = *(_QWORD *)(a1 + 168); v13 = 0; v12 = 7; v11 = v3; v6 = a2; if ( !*(_QWORD *)(a1 + 536) && (a2 & 1) == 0 ) { v7 = 0; if ( (a3 & 1) == 0 ) goto LABEL_19; } sub_CD56C(a1, a2); v8 = *(_QWORD *)(a1 + 536); if ( !v8 ) { v7 = 0; LABEL_9: v9 = v6 | a3; if ( (v7 & 1) == 0 && ((v6 | a3) & 1) != 0 ) { v7 = sub_CC930(a1); if ( v7 ) goto LABEL_19; v8 = *(_QWORD *)(a1 + 536); } if ( !v8 ) goto LABEL_15; goto LABEL_14; } if ( !*(_BYTE *)(v8 + 530) ) { v7 = *(_BYTE *)(v8 + 1062) != 0; goto LABEL_9; } v9 = v6 | a3; v7 = 1; LABEL_14: sub_CC9C0(a1); sub_CC9C0(a1); LABEL_15: if ( (v9 & 1) != 0 || !v7 || (v7 = sub_CA940(a1)) == 0 ) v7 = 0; LABEL_19: sub_51F94((__int64)&v11); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source