// // sub_760834 from 0x760834 to 0x76089a (102 bytes) // // 0 xrefs: // // 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 // std::exception *__fastcall sub_760834(std::exception *this) { int v1; // r1 void *v3; // r0 unsigned int *v5; // r1 int v6; // r3 v1 = *((_DWORD *)this + 1); v3 = (void *)(v1 - 12); *(_DWORD *)this = &off_AB0300; if ( (int *)(v1 - 12) != &dword_ACDD9C ) { if ( &pthread_create ) { v5 = (unsigned int *)(v1 - 4); __dmb(0xFu); do v6 = __ldrex(v5); while ( __strex(v6 - 1, v5) ); __dmb(0xFu); } else { v6 = *(_DWORD *)(v1 - 4); *(_DWORD *)(v1 - 4) = v6 - 1; } if ( v6 <= 0 ) operator delete(v3); } std::exception::~exception(this); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source