// // sub_4CE80 from 0x4ce80 to 0x4cf40 (192 bytes) // // 5 xrefs: // > sub_46B58 @ 0x46c26 // > sub_4CD7C @ 0x4cdd2 // > sub_4CD7C @ 0x4cdfe // > sub_5B818 @ 0x5b836 // > sub_652D0 @ 0x65362 // // 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 // int __fastcall sub_4CE80(int a1, _DWORD *a2, _DWORD *a3, float *a4, float *a5) { int v9; // r5 int v10; // r6 int v11; // r5 int v12; // r6 _DWORD v14[6]; // [sp+8h] [bp-48h] BYREF float v15; // [sp+20h] [bp-30h] float v16; // [sp+24h] [bp-2Ch] int v17; // [sp+28h] [bp-28h] int v18; // [sp+2Ch] [bp-24h] BYREF char v19; // [sp+30h] [bp-20h] if ( *(_DWORD *)(a1 + 340) ) { v18 = *(_DWORD *)(a1 + 332); j_FMOD_OS_CriticalSection_Enter(v18); v19 = 1; sub_4D218(a1); v9 = a2[1]; v10 = a2[2]; v14[0] = *a2; v14[1] = v9; v14[2] = v10; v11 = a3[1]; v12 = a3[2]; v14[3] = *a3; v14[4] = v11; v14[5] = v12; v17 = 0; v15 = 1.0; v16 = 1.0; ((void (__fastcall *)(_DWORD, char *, _DWORD *, _DWORD *, _DWORD *))sub_503EA)( *(_DWORD *)(a1 + 340), (char *)&loc_4D1E8 + 1, v14, a2, a3); if ( a4 ) *a4 = 1.0 - v15; if ( a5 ) *a5 = 1.0 - v16; sub_44984((int)&v18); } else { if ( a4 ) *a4 = 0.0; if ( a5 ) *a5 = 0.0; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source