//
// _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!
//
// 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 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;
}