// // std::__ndk1::__shared_weak_count::__release_shared from 0x976ea6 to 0x976ef8 (82 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::__release_shared(std::__shared_weak_count *this) { unsigned int *result; // r0 unsigned int v3; // r1 unsigned int *v4; // r5 result = (unsigned int *)((char *)this + 4); __dmb(0xBu); do v3 = __ldrex(result); while ( __strex(v3 - 1, result) ); __dmb(0xBu); if ( !v3 ) { v4 = (unsigned int *)((char *)this + 8); (*(void (__fastcall **)(std::__shared_weak_count *))(*(_DWORD *)this + 8))(this); __dmb(0xBu); do result = (unsigned int *)__ldrex(v4); while ( __strex((unsigned int)result - 1, v4) ); __dmb(0xBu); if ( !result ) return (unsigned int *)(*(int (__fastcall **)(std::__shared_weak_count *))(*(_DWORD *)this + 16))(this); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source