//
// atexit from 0x1404d0ca4 to 0x1404d0cbb (23 bytes)
//
// 4 xrefs:
// > sub_1400010E0 @ 0x140001145
// > sub_140005390 @ 0x140005397
// > pre_c_initialization @ 0x1404d0dfc
// > ??> @ 0x1406dd700
//
// 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 __cdecl atexit(void (__cdecl *a1)())
{
return (onexit((_onexit_t)a1) != nullptr) - 1;
}