//
// std::get_new_handler from 0x9801c8 to 0x9801e4 (28 bytes)
//
// 2 xrefs:
// > operator new @ 0x9775b8
// > sub_9801E8 @ 0x980200
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:06:07 +0000
//
unsigned int std::get_new_handler()
{
unsigned int result; // r0
__dmb(0xBu);
do
result = __ldrex(&_cxa_new_handler);
while ( __strex(result, &_cxa_new_handler) );
__dmb(0xBu);
return result;
}