//
// __cxa_guard_abort from 0x743c40 to 0x743c82 (66 bytes)
//
// 1 xrefs:
// > ??> @ 0x742c68
//
// 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 _cxa_guard_abort(__guard *a1)
{
unsigned int v1; // r1
if ( &pthread_create )
{
__dmb(0xFu);
do
v1 = __ldrex((unsigned int *)a1);
while ( __strex(0, (unsigned int *)a1) );
__dmb(0xFu);
if ( (v1 & 0x10000) != 0 )
syscall(240, a1, 1, 0x7FFFFFFF);
}
else
{
*((_BYTE *)a1 + 1) = (unsigned __int8)&pthread_create;
}
}