// // sub_2B4418 from 0x2b4418 to 0x2b4458 (64 bytes) // // 16 xrefs: // > @ 0x762d6c // > @ 0x762ee2 // > @ 0x762ef0 // > @ 0x7649ae // > @ 0x764a28 // > @ 0x764f72 // > @ 0x764f92 // > @ 0x764fba // > @ 0x765476 // > @ 0x765496 // > @ 0x7654be // > sub_765C04 @ 0x766092 // > sub_765C04 @ 0x7660a2 // > sub_7660F4 @ 0x766582 // > sub_7660F4 @ 0x766592 // > @ 0x766720 // // 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_2B4418(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