//
// __std_type_info_compare from 0x180124ce0 to 0x180124d07 (39 bytes)
//
// 1 xrefs:
// > Is_bad_exception_allowed @ 0x180126e7e
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 10:54:54 +0000
//
__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;
}