//
// sub_1005D6FAC from 0x1005d6fac to 0x1005d6fd4 (40 bytes)
//
// 20 xrefs:
// > FMOD::Geometry::release @ 0x1005d39b4
// > FMOD::Geometry::addPolygon @ 0x1005d3a04
// > FMOD::Geometry::getNumPolygons @ 0x1005d3a5c
// > FMOD::Geometry::getMaxPolygons @ 0x1005d3a9c
// > FMOD::Geometry::getPolygonNumVertices @ 0x1005d3ae0
// > FMOD::Geometry::setPolygonVertex @ 0x1005d3b2c
// > FMOD::Geometry::getPolygonVertex @ 0x1005d3b80
// > FMOD::Geometry::setPolygonAttributes @ 0x1005d3bd8
// > FMOD::Geometry::getPolygonAttributes @ 0x1005d3c34
// > FMOD::Geometry::setActive @ 0x1005d3c80
// > FMOD::Geometry::getActive @ 0x1005d3cbc
// > FMOD::Geometry::setRotation @ 0x1005d3cfc
// > FMOD::Geometry::getRotation @ 0x1005d3d40
// > FMOD::Geometry::setPosition @ 0x1005d3d80
// > FMOD::Geometry::getPosition @ 0x1005d3dbc
// > FMOD::Geometry::setScale @ 0x1005d3df8
// > FMOD::Geometry::getScale @ 0x1005d3e34
// > FMOD::Geometry::save @ 0x1005d3e74
// > FMOD::Geometry::setUserData @ 0x1005d3eb4
// > FMOD::Geometry::getUserData @ 0x1005d3ef0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:09:34 +0000
//
__int64 __fastcall sub_1005D6FAC(__int64 a1, _QWORD *a2)
{
if ( !a2 )
return 31;
if ( !a1 )
return 30;
*a2 = a1;
return 0;
}