//
// std::__ndk1::__thread_local_data from 0x97ea38 to 0x97ea7c (68 bytes)
//
// 7 xrefs:
// > sub_3D427C @ 0x3d428e
// > sub_46BA3C @ 0x46ba50
// > sub_46BB18 @ 0x46bb2c
// > sub_7B21A8 @ 0x7b21ba
// > std::__ndk1::notify_all_at_thread_exit @ 0x95420c
// > std::__ndk1::__assoc_sub_state::set_value_at_thread_exit @ 0x97f162
// > std::__ndk1::__assoc_sub_state::set_exception_at_thread_exit @ 0x97f2e8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:06:05 +0000
//
pthread_key_t *std::__thread_local_data()
{
char v0; // r0
v0 = byte_D33CC0;
__dmb(0xBu);
if ( (v0 & 1) == 0 && _cxa_guard_acquire((__guard *)&byte_D33CC0) )
{
std::__thread_specific_ptr::__thread_specific_ptr(&dword_D33CBC);
_cxa_guard_release((__guard *)&byte_D33CC0);
}
return &dword_D33CBC;
}