//
// sub_4EC16 from 0x4ec16 to 0x4ec28 (18 bytes)
//
// 20 xrefs:
// > FMOD::Geometry::release @ 0xb262e
// > FMOD::Geometry::addPolygon @ 0xb2650
// > FMOD::Geometry::getNumPolygons @ 0xb267e
// > FMOD::Geometry::getMaxPolygons @ 0xb269a
// > FMOD::Geometry::getPolygonNumVertices @ 0xb26b8
// > FMOD::Geometry::setPolygonVertex @ 0xb26de
// > FMOD::Geometry::getPolygonVertex @ 0xb270a
// > FMOD::Geometry::setPolygonAttributes @ 0xb2736
// > FMOD::Geometry::getPolygonAttributes @ 0xb2766
// > FMOD::Geometry::setActive @ 0xb278c
// > FMOD::Geometry::getActive @ 0xb27a6
// > FMOD::Geometry::setRotation @ 0xb27c2
// > FMOD::Geometry::getRotation @ 0xb27e0
// > FMOD::Geometry::setPosition @ 0xb27fc
// > FMOD::Geometry::getPosition @ 0xb2816
// > FMOD::Geometry::setScale @ 0xb2830
// > FMOD::Geometry::getScale @ 0xb284a
// > FMOD::Geometry::save @ 0xb2866
// > FMOD::Geometry::setUserData @ 0xb2882
// > FMOD::Geometry::getUserData @ 0xb289c
//
// 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_4EC16(int a1, _DWORD *a2)
{
if ( !a2 )
return 31;
if ( !a1 )
return 30;
*a2 = a1;
return 0;
}