// // sub_982028 from 0x982028 to 0x982100 (216 bytes) // // 0 xrefs: // // 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:08 +0000 // void __noreturn sub_982028() { int **globals_fast; // r0 int *v1; // r0 unsigned __int64 v2; // kr00_8 int *v3; // r1 const char **v4; // r5 char *v5; // r4 const char *v6; // r5 const char *v7; // r0 size_t outlen; // [sp+4h] [bp-414h] BYREF char out[1024]; // [sp+8h] [bp-410h] BYREF int status; // [sp+408h] [bp-10h] BYREF int *v11; // [sp+40Ch] [bp-Ch] BYREF globals_fast = (int **)_cxa_get_globals_fast(); if ( !globals_fast || (v1 = *globals_fast) == nullptr ) sub_981FC8("terminating"); v2 = *((_QWORD *)v1 + 5); if ( v2 >> 8 == 0x434C4E47432B2BLL ) { if ( v2 == 0x434C4E47432B2B01LL ) v3 = (int *)*v1; else v3 = v1 + 32; v11 = v3; v4 = (const char **)v1[1]; outlen = 1024; v5 = _cxa_demangle(v4[1], out, &outlen, &status); if ( status ) v5 = (char *)v4[1]; if ( sub_981154(&`typeinfo for'std::exception, v4, &v11) == 1 ) { v6 = off_D22950[0]; v7 = (const char *)(*(int (__fastcall **)(int *))(*v11 + 8))(v11); sub_981FC8("terminating with %s exception of type %s: %s", v6, v5, v7); } sub_981FC8("terminating with %s exception of type %s", off_D22950[0], v5); } sub_981FC8("terminating with %s foreign exception", off_D22950[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source