//
// std::__exception_ptr::exception_ptr::_M_addref from 0xd1f0c4 to 0xd1f0e4 (32 bytes)
//
// 3 xrefs:
// > std::__exception_ptr::exception_ptr::exception_ptr @ 0xd1f0e8
// > std::__exception_ptr::exception_ptr::exception_ptr @ 0xd1f0f4
// > ??> @ 0x5acd8
//
// 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
//
unsigned int *__fastcall std::__exception_ptr::exception_ptr::_M_addref(unsigned int **this)
{
unsigned int *result; // x0
unsigned int v2; // w1
result = *this;
if ( result )
{
result -= 32;
do
v2 = __ldaxr(result);
while ( __stlxr(v2 + 1, result) );
}
return result;
}