// // sub_7605F0 from 0x7605f0 to 0x760656 (102 bytes) // // 5 xrefs: // > fmt::SystemError::init @ 0x60f196 // > sub_773B40 @ 0x773b4c // > sub_773B58 @ 0x773b64 // > sub_7766C8 @ 0x7766d4 // > sub_7766E0 @ 0x7766ec // // 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_7605F0(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_AB0230; 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