//
// std::exception_ptr::operator= from 0x954258 to 0x95427a (34 bytes)
//
// 2 xrefs:
// > std::__ndk1::__assoc_sub_state::set_exception @ 0x97f220
// > std::__ndk1::__assoc_sub_state::set_exception_at_thread_exit @ 0x97f2e4
//
// 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:26 +0000
//
_DWORD *__fastcall std::exception_ptr::operator=(_DWORD *a1, _DWORD *a2)
{
if ( *a1 != *a2 )
{
_cxa_increment_exception_refcount();
_cxa_decrement_exception_refcount(*a1);
*a1 = *a2;
}
return a1;
}