// // sub_4DC1E from 0x4dc1e to 0x4dc98 (122 bytes) // // 1 xrefs: // > FMOD::Geometry::setPolygonAttributes @ 0xb2748 // // 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_4DC1E(_DWORD *a1, int a2, int a3, int a4, int a5) { _DWORD *v9; // r1 int v10; // r2 unsigned int v11; // r3 int v12; // r4 int v14; // [sp+0h] [bp-18h] BYREF char v15; // [sp+4h] [bp-14h] v14 = *(_DWORD *)(a1[3] + 332); j_FMOD_OS_CriticalSection_Enter(v14); v15 = 1; if ( a2 < 0 || a1[7] <= a2 ) { v12 = 31; } else { v9 = (_DWORD *)(*(_DWORD *)(a1[8] + 4 * a2) + a1[10]); v9[34] = a3; v9[35] = a4; v10 = v9[36]; v11 = v10 & 0xFFFEFFFF; if ( a5 ) v11 = v10 | 0x10000; v9[36] = v11; sub_4D4EE((int)a1); v12 = 0; } sub_44984((int)&v14); return v12; }
GD Web Decomp Icon

GD Web Decomp

Raw Source