// // sub_772F3C from 0x772f3c to 0x772f7e (66 bytes) // // 25 xrefs: // > sub_773044 @ 0x77308e // > @ 0x7730ae // > sub_7730C4 @ 0x77310e // > @ 0x77312e // > sub_773144 @ 0x77318e // > @ 0x7731ae // > sub_7731C4 @ 0x77320e // > @ 0x77322e // > sub_773244 @ 0x77328e // > @ 0x7732ae // > sub_7732C4 @ 0x773336 // > @ 0x773354 // > sub_77336C @ 0x7733b6 // > @ 0x7733d6 // > sub_7733EC @ 0x773436 // > @ 0x773456 // > sub_77346C @ 0x7734b6 // > @ 0x7734d6 // > sub_7734EC @ 0x773536 // > @ 0x773556 // > sub_77356C @ 0x7735b6 // > sub_7735D4 @ 0x773632 // > @ 0x773650 // > sub_77366C @ 0x7736cc // > @ 0x7736ea // // 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_772F3C(unsigned int *a1) { unsigned int *v1; // r2 int v2; // r3 if ( &pthread_create ) { v1 = a1 + 2; __dmb(0xFu); do v2 = __ldrex(v1); while ( __strex(v2 - 1, v1) ); __dmb(0xFu); } else { v2 = a1[2]; a1[2] = v2 - 1; } if ( v2 <= 0 ) operator delete(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source