// // std::current_exception from 0x779c64 to 0x779cce (106 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 // std::__exception_ptr::exception_ptr *__fastcall std::current_exception(std::__exception_ptr::exception_ptr *a1) { int v2; // r1 unsigned int v4; // r3 void *v5; // r1 v2 = *_cxa_get_globals(); if ( v2 && *(_BYTE *)(v2 + 32) == 71 && *(_BYTE *)(v2 + 33) == 78 && *(_BYTE *)(v2 + 34) == 85 && *(_BYTE *)(v2 + 35) == 67 && *(_BYTE *)(v2 + 36) == 67 && *(_BYTE *)(v2 + 37) == 43 && *(_BYTE *)(v2 + 38) == 43 && (v4 = *(unsigned __int8 *)(v2 + 39), v4 <= 1) ) { if ( v4 == 1 ) v5 = *(void **)v2; else v5 = (void *)(v2 + 120); std::__exception_ptr::exception_ptr::exception_ptr(a1, v5); return a1; } else { std::__exception_ptr::exception_ptr::exception_ptr(a1); return a1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source