// // __scrt_initialize_onexit_tables from 0x18012065c to 0x1801206e7 (139 bytes) // // 3 xrefs: // > __scrt_dllmain_before_initialize_c @ 0x18012051a // > __scrt_initialize_thread_safe_statics @ 0x1801208c7 // > @ 0x1802024e0 // // 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_1801F49A9 ) { if ( a1 > 1 ) { _scrt_fastfail(5); JUMPOUT(0x1801206E6LL); } LOBYTE(v2) = __uncaught_exception(); if ( !v2 || a1 ) { *(__m128i *)&Table._first = _mm_load_si128((const __m128i *)&xmmword_1801651D0); Table._end = (_PVFV *)-1LL; *(_OWORD *)&stru_1801F49C8._first = *(_OWORD *)&Table._first; stru_1801F49C8._end = (_PVFV *)-1LL; } else if ( initialize_onexit_table(&Table) || initialize_onexit_table(&stru_1801F49C8) ) { return 0; } byte_1801F49A9 = 1; } return 1; }