// // __cxa_type_match from 0x742ef8 to 0x742faa (178 bytes) // // 5 xrefs: // > sub_7434BC @ 0x74383a // > sub_7434BC @ 0x7438c2 // > @ 0x779a66 // > sub_8E2DA0 @ 0x8e2f50 // > sub_8E2DA0 @ 0x8e3038 // // 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 // int __fastcall _cxa_type_match(_BYTE *a1, int a2, int a3, _DWORD *a4) { _UNKNOWN **v6; // r4 int v7; // r5 int result; // r0 unsigned int v9; // r3 _DWORD *v10; // r0 _DWORD *v11; // [sp+4h] [bp-8h] BYREF if ( *a1 != 71 || a1[1] != 78 || a1[2] != 85 ) goto LABEL_2; if ( a1[3] == 67 && a1[4] == 70 && a1[5] == 79 && a1[6] == 82 && !a1[7] ) { v11 = (_DWORD *)(unsigned __int8)a1[7]; v6 = &`typeinfo for'__cxxabiv1::__forced_unwind; goto LABEL_3; } if ( a1[3] != 67 || a1[4] != 67 || a1[5] != 43 || a1[6] != 43 || (v9 = (unsigned __int8)a1[7], v9 > 1) ) { LABEL_2: v11 = nullptr; v6 = &`typeinfo for'__cxxabiv1::__foreign_exception; goto LABEL_3; } if ( v9 == 1 ) { v10 = *((_DWORD **)a1 - 8); v6 = (_UNKNOWN **)*(v10 - 30); } else { v6 = *((_UNKNOWN ***)a1 - 8); v10 = a1 + 88; } v11 = v10; LABEL_3: v7 = 1; if ( (*((int (__fastcall **)(_UNKNOWN **))*v6 + 2))(v6) ) { v7 = 2; v11 = (_DWORD *)*v11; } result = (*(int (__fastcall **)(int, _UNKNOWN **, _DWORD **, int))(*(_DWORD *)a2 + 16))(a2, v6, &v11, 1); if ( result ) { result = v7; *a4 = v11; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source