// // sub_756D9C from 0x756d9c to 0x756dfe (98 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 // _DWORD *__fastcall sub_756D9C(_DWORD *a1, int a2, int *a3) { int v3; // r3 unsigned int v4; // r3 unsigned int v5; // r3 _DWORD *v6; // r3 v3 = *a3; if ( !*a3 ) { if ( &pthread_create ) { __dmb(0xFu); do v4 = __ldrex((unsigned int *)&dword_ACCF4C); while ( __strex(v4 + 1, (unsigned int *)&dword_ACCF4C) ); v3 = v4 + 1; __dmb(0xFu); } else { v3 = ++dword_ACCF4C; } *a3 = v3; } v5 = v3 - 1; if ( *(_DWORD *)(a2 + 8) - 1 < v5 || (v6 = *(_DWORD **)(*(_DWORD *)(a2 + 4) + 4 * v5)) == nullptr ) sub_77336C("locale::_Impl::_M_replace_facet"); return sub_756BA8(a1, a3, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source