//
// __std_type_info_compare from 0x180124ce0 to 0x180124d07 (39 bytes)
//
// 1 xrefs:
// > Is_bad_exception_allowed @ 0x180126e7e
//
// 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
//
__int64 __fastcall _std_type_info_compare(__int64 a1, __int64 a2)
{
char *v2; // rax
__int64 v3; // rdx
char v4; // cl
if ( a1 == a2 )
return 0;
v2 = (char *)(a1 + 9);
v3 = a2 - a1;
while ( 1 )
{
v4 = *v2;
if ( *v2 != v2[v3] )
break;
++v2;
if ( !v4 )
return 0;
}
return (unsigned __int8)*v2 < (unsigned __int8)v2[v3] ? -1 : 1;
}