//
// pugi::xpath_variable_set::find from 0xdd6f60 to 0xdd6fc8 (104 bytes)
//
// 3 xrefs:
// > pugi::xpath_variable_set::get @ 0xdd72c8
// > pugi::xpath_variable_set::get @ 0xddaaf8
// > ??> @ 0xf6a60
//
// This function is hookable on this platform (idp: arm, 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 13:09:04 +0000
//
pugi::xpath_variable *__fastcall pugi::xpath_variable_set::find(pugi::xpath_variable_set *this, char *a2)
{
pugi::xpath_variable *v3; // x19
const char *v4; // x0
v3 = *((pugi::xpath_variable **)this + (sub_DBDE60(a2) & 0x3F));
if ( !v3 )
return nullptr;
while ( 1 )
{
v4 = (const char *)pugi::xpath_variable::name(v3);
if ( !strcmp(v4, a2) )
break;
v3 = *((pugi::xpath_variable **)v3 + 1);
if ( !v3 )
return nullptr;
}
return v3;
}