//
// atexit from 0x1800dfab0 to 0x1800dfac7 (23 bytes)
//
// 10 xrefs:
// > sub_180001200 @ 0x180001232
// > sub_180001320 @ 0x18000133b
// > sub_180001370 @ 0x1800013e2
// > sub_1800013F0 @ 0x1800014cb
// > sub_1800014D0 @ 0x1800014d7
// > sub_1800015A0 @ 0x1800015c2
// > sub_180001760 @ 0x180001767
// > cocos2d::CCImage::initWithString @ 0x18007d08f
// > cocos2d::CCIMEDispatcher::sharedDispatcher @ 0x1800b4dcc
// > ??> @ 0x1801bb0c4
//
// 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;
}