//
// _initialize_onexit_table from 0x1801327b0 to 0x1801327d7 (39 bytes)
//
// 4 xrefs:
// > __scrt_initialize_onexit_tables @ 0x180120686
// > __scrt_initialize_onexit_tables @ 0x180120696
// > initialize_c @ 0x18013283f
// > initialize_c @ 0x18013284b
//
// 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:59 +0000
//
int __cdecl initialize_onexit_table(_onexit_table_t *Table)
{
_PVFV *v2; // rax
if ( !Table )
return -1;
if ( Table->_first == Table->_end )
{
v2 = (_PVFV *)_security_cookie;
Table->_first = (_PVFV *)_security_cookie;
Table->_last = v2;
Table->_end = v2;
}
return 0;
}