//
// std::set_new_handler from 0x743dd4 to 0x743df0 (28 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
//
unsigned int __fastcall std::set_new_handler(void (*a1)())
{
unsigned int result; // r0
__dmb(0xFu);
do
result = __ldrex((unsigned int *)&dword_ACC6FC);
while ( __strex((unsigned int)a1, (unsigned int *)&dword_ACC6FC) );
__dmb(0xFu);
return result;
}