//
// FMOD::Geometry::setPolygonAttributes from 0x1004ada48 to 0x1004adaa4 (92 bytes)
//
// 1 xrefs:
// > sub_1004544C0 @ 0x1004544cc
//
// 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
//
// local variable allocation has failed, the output may be wrong!
FMOD_RESULT __fastcall FMOD::Geometry::setPolygonAttributes(FMOD::Geometry *a1, int a2, float a3, float a4, bool a5)
{
_BOOL8 v5; // x19
__int64 v8; // x20
FMOD_RESULT result; // w0
__int64 v10; // [xsp+8h] [xbp-28h] BYREF
v5 = a5;
v8 = *(_QWORD *)&a2;
result = (unsigned int)sub_1004B0E44(a1, &v10);
if ( result == FMOD_OK )
return (unsigned int)sub_1004AF3D8(v10, v8, v5, a3, a4);
return result;
}