// // sub_692C8 from 0x692c8 to 0x69348 (128 bytes) // // 4 xrefs: // > @ 0x10ca88 // > @ 0x10cc30 // > @ 0x10cdd8 // > @ 0x10cf68 // // 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 sub_692C8(__int64 a1, _DWORD *a2) { __int64 *v2; // x8 __int64 v3; // x9 int v4; // w9 __int64 *v6; // x9 int v7; // w10 if ( a2 ) { v2 = *(__int64 **)(a1 + 168); if ( !v2 ) { v4 = *(_DWORD *)(a1 + 228); goto LABEL_7; } v3 = *(_QWORD *)(a1 + 232); if ( v3 ) { LODWORD(v2) = 0; v4 = *(_DWORD *)(v3 + 4LL * *(int *)(a1 + 192)); LABEL_7: *a2 = v4; return (unsigned int)v2; } *a2 = 0; v2 = *(__int64 **)(a1 + 240); if ( v2 ) { v6 = *(__int64 **)(a1 + 248); v7 = 0; while ( 1 ) { v2 = (__int64 *)*v2; if ( v6 == v2 ) break; if ( *(_DWORD *)(a1 + 192) == *((unsigned __int16 *)v2 + 24) ) *a2 = ++v7; } LODWORD(v2) = 0; } } else { LODWORD(v2) = 31; } return (unsigned int)v2; }