//
// FMOD::Geometry::setPolygonVertex from 0x1004ad9a0 to 0x1004ad9f4 (84 bytes)
//
// 1 xrefs:
// > sub_1004544A0 @ 0x1004544a4
//
// 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::setPolygonVertex(FMOD::Geometry *a1, int a2, int a3, const FMOD_VECTOR *a4)
{
__int64 v5; // x20
__int64 v6; // x21
FMOD_RESULT result; // w0
__int64 v8; // [xsp+8h] [xbp-28h] BYREF
v5 = *(_QWORD *)&a3;
v6 = *(_QWORD *)&a2;
result = (unsigned int)sub_1004B0E44(a1, &v8);
if ( result == FMOD_OK )
return sub_1004AF230(v8, v6, v5, a4);
return result;
}