// // sub_776BE4 from 0x776be4 to 0x776c26 (66 bytes) // // 4 xrefs: // > @ 0x778b6a // > @ 0x778bba // > @ 0x778c3c // > @ 0x77909c // // 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 // void __fastcall sub_776BE4(unsigned int *a1) { unsigned int *v1; // r2 int v2; // r3 int v3; // r3 if ( !&pthread_create ) { v3 = a1[2]; a1[2] = v3 - 1; if ( v3 > 0 ) return; LABEL_7: operator delete(a1); return; } v1 = a1 + 2; __dmb(0xFu); do v2 = __ldrex(v1); while ( __strex(v2 - 1, v1) ); __dmb(0xFu); if ( v2 <= 0 ) goto LABEL_7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source