//
// pugi::xpath_variable::name from 0x816c70 to 0x816c94 (36 bytes)
//
// 2 xrefs:
// > pugi::xpath_variable_set::find @ 0x819254
// > pugi::xpath_variable_set::add @ 0x819284
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:42 +0000
//
char *__fastcall pugi::xpath_variable::name(pugi::xpath_variable *this)
{
char *result; // r0
switch ( *(_DWORD *)this )
{
case 1:
result = (char *)this + 28;
break;
case 2:
result = (char *)this + 16;
break;
case 3:
result = (char *)this + 12;
break;
case 4:
result = (char *)this + 9;
break;
default:
result = nullptr;
break;
}
return result;
}