// // __scrt_initialize_onexit_tables from 0x18001f538 to 0x18001f5c3 (139 bytes) // // 2 xrefs: // > __scrt_dllmain_before_initialize_c @ 0x18001f406 // > @ 0x18004b1e4 // // 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 // char __fastcall _scrt_initialize_onexit_tables(unsigned int a1) { int v2; // eax if ( !byte_180048001 ) { if ( a1 > 1 ) { _scrt_fastfail(5); JUMPOUT(0x18001F5C2LL); } LOBYTE(v2) = __uncaught_exception(); if ( !v2 || a1 ) { *(__m128i *)&Table._first = _mm_load_si128((const __m128i *)&xmmword_180023300); Table._end = (_PVFV *)-1LL; *(_OWORD *)&stru_180048020._first = *(_OWORD *)&Table._first; stru_180048020._end = (_PVFV *)-1LL; } else if ( initialize_onexit_table(&Table) || initialize_onexit_table(&stru_180048020) ) { return 0; } byte_180048001 = 1; } return 1; }