//
// std::__ndk1::__shared_weak_count::__add_shared from 0x976e82 to 0x976e94 (18 bytes)
//
// 0 xrefs:
//
// 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:05:58 +0000
//
unsigned int *__fastcall std::__shared_weak_count::__add_shared(std::__shared_weak_count *this)
{
unsigned int *result; // r0
unsigned int v2; // r1
result = (unsigned int *)((char *)this + 4);
do
v2 = __ldrex(result);
while ( __strex(v2 + 1, result) );
return result;
}