//
// __cxa_get_globals from 0x7432b0 to 0x7432f2 (66 bytes)
//
// 8 xrefs:
// > __cxa_begin_cleanup @ 0x742fb8
// > __gnu_end_cleanup @ 0x74301a
// > __cxa_begin_catch @ 0x743090
// > std::uncaught_exception @ 0x7431aa
// > __cxa_throw @ 0x743a34
// > __cxa_rethrow @ 0x743aac
// > std::current_exception @ 0x779c68
// > __cxa_current_exception_type @ 0x785a02
//
// 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
//
_DWORD *_cxa_get_globals()
{
_DWORD *v0; // r4
_DWORD *v2; // r0
if ( !byte_ACC6EC )
return &unk_ACC6F0;
v0 = pthread_getspecific(dword_ACC6E8);
if ( !v0 )
{
v2 = malloc(0xCu);
v0 = v2;
if ( !v2 || pthread_setspecific(dword_ACC6E8, v2) )
std::terminate();
*v0 = 0;
v0[1] = 0;
v0[2] = 0;
}
return v0;
}