//
// std::__ndk1::__shared_weak_count::__add_shared from 0xf79904 to 0xf7991c (24 bytes)
//
// 1 xrefs:
// > ??> @ 0xe7958
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:13:44 +0000
//
__int64 __fastcall std::__shared_weak_count::__add_shared(__int64 this)
{
unsigned __int64 *v1; // x8
unsigned __int64 v2; // x9
v1 = (unsigned __int64 *)(this + 8);
do
v2 = __ldxr(v1);
while ( __stxr(v2 + 1, v1) );
return this;
}