//
// 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 (idp: pc, 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 10:54:52 +0000
//
int __cdecl atexit(void (__cdecl *a1)())
{
return (onexit((_onexit_t)a1) != nullptr) - 1;
}