//
// sub_75629C from 0x75629c to 0x7562c8 (44 bytes)
//
// 21 xrefs:
// > sub_744A14 @ 0x744a24
// > sub_744A14 @ 0x744a4c
// > sub_744A84 @ 0x744b76
// > sub_744F70 @ 0x744f80
// > sub_744F70 @ 0x744fa8
// > sub_744FE0 @ 0x7450d4
// > sub_745C44 @ 0x745c52
// > sub_747000 @ 0x747014
// > sub_748D38 @ 0x748d4c
// > sub_748E9C @ 0x748ed4
// > sub_749E18 @ 0x749e54
// > sub_74A018 @ 0x74a082
// > sub_74E8E0 @ 0x74e91a
// > sub_75824C @ 0x7582ba
// > sub_761258 @ 0x761266
// > sub_76128C @ 0x761292
// > sub_76146C @ 0x7614a4
// > sub_7614C8 @ 0x7614d6
// > sub_7614FC @ 0x761502
// > sub_7616F0 @ 0x761728
// > sub_7665E4 @ 0x766618
//
// 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
//
unsigned int **__fastcall sub_75629C(unsigned int **result, unsigned int **a2)
{
unsigned int *v2; // r2
unsigned int v3; // r3
v2 = *a2;
*result = *a2;
if ( &pthread_create )
{
__dmb(0xFu);
do
v3 = __ldrex(v2);
while ( __strex(v3 + 1, v2) );
__dmb(0xFu);
}
else
{
++*v2;
}
return result;
}