//
// sub_D1A0A8 from 0xd1a0a8 to 0xd1a0e0 (56 bytes)
//
// 0 xrefs:
//
// 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
//
unsigned __int64 __fastcall sub_D1A0A8(__int64 *a1, unsigned __int64 a2, const char *a3)
{
__int64 v3; // x3
unsigned __int64 result; // x0
unsigned __int64 v5; // x3
v3 = *a1;
result = a2;
v5 = *(_QWORD *)(v3 - 24);
if ( a2 > v5 )
sub_D13C5C("%s: __pos (which is %zu) > this->size() (which is %zu)", a3, a2, v5);
return result;
}