//
// std::__ndk1::__shared_count::__add_shared from 0x976e3e to 0x976e50 (18 bytes)
//
// 23 xrefs:
// > sub_96D650 @ 0x96d6ac
// > sub_96DD34 @ 0x96dd92
// > sub_96DDD0 @ 0x96de36
// > sub_96E46C @ 0x96e4ce
// > sub_96E928 @ 0x96e97c
// > sub_96E928 @ 0x96e9a0
// > sub_96EA08 @ 0x96ea16
// > sub_96EB50 @ 0x96eb60
// > std::__ndk1::locale::__global @ 0x96eb96
// > std::__ndk1::locale::locale @ 0x96ebea
// > std::__ndk1::locale::locale @ 0x96ec00
// > std::__ndk1::locale::operator= @ 0x96ec22
// > std::__ndk1::locale::locale @ 0x96ec80
// > std::__ndk1::locale::locale @ 0x96ed16
// > std::__ndk1::locale::locale @ 0x96ed88
// > std::__ndk1::locale::locale @ 0x96ee2a
// > std::__ndk1::locale::locale @ 0x96ee6c
// > std::__ndk1::locale::__install_ctor @ 0x96eec8
// > std::__ndk1::locale::global @ 0x96ef02
// > std::__ndk1::locale::global @ 0x96ef08
// > sub_97EC10 @ 0x97ec3c
// > std::__ndk1::future::future @ 0x97f538
// > std::__ndk1::shared_future::operator= @ 0x97f956
//
// 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_count::__add_shared(std::__shared_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;
}