//
// atexit from 0x18012080c to 0x180120823 (23 bytes)
//
// 5 xrefs:
// > sub_180001200 @ 0x180001254
// > sub_180001260 @ 0x18000127b
// > sub_1800012B0 @ 0x180001300
// > __scrt_initialize_thread_safe_statics @ 0x1801208d7
// > ??> @ 0x18020251c
//
// 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;
}