// // pugi::xml_node::path from 0x81ac68 to 0x81ad92 (298 bytes) // // 0 xrefs: // // 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:45 +0000 // pugi::xml_node *__fastcall pugi::xml_node::path(pugi::xml_node *this, int *a2, char a3) { const char *v5; // r0 const char *v6; // r4 size_t v7; // r0 int v8; // r1 int v9; // r1 const char *v10; // r0 const char *v11; // r4 size_t v12; // r0 int v13; // r4 int v14; // r2 char *v15; // r3 int v16; // r2 char *v17; // r1 size_t v18; // r2 int v19; // r1 void *v20; // r2 int v21; // r1 void *v22; // r2 int v24; // [sp+14h] [bp-8h] BYREF void (*v25)(); // [sp+18h] [bp-4h] BYREF int v26; // [sp+1Ch] [bp+0h] BYREF int v27; // [sp+20h] [bp+4h] void *v28; // [sp+24h] [bp+8h] int v29; // [sp+28h] [bp+Ch] int v30; // [sp+2Ch] [bp+10h] void *v31; // [sp+30h] [bp+14h] v24 = *a2; v5 = (const char *)pugi::xml_node::name((pugi::xml_node *)&v24); *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; v6 = v5; v7 = strlen(v5); std::string::__init((int *)this, v6, v7); while ( 1 ) { v25 = (void (*)())pugi::xml_node::parent((pugi::xml_node *)&v24, v8); if ( !pugi::xml_node::operator void (*)(pugi::xml_node***)(&v25) ) return this; v24 = pugi::xml_node::parent((pugi::xml_node *)&v24, v9); v10 = (const char *)pugi::xml_node::name((pugi::xml_node *)&v24); v26 = 0; v27 = 0; v28 = nullptr; v11 = v10; v12 = strlen(v10); std::string::__init(&v26, v11, v12); if ( (v26 & 1) != 0 ) { v14 = v27; v13 = (v26 & 0xFFFFFFFE) - 1; if ( v27 != v13 ) goto LABEL_10; } else { v13 = (int)(unsigned __int8)v26 >> 1; if ( v13 != 10 ) goto LABEL_8; } std::string::__grow_by((int)&v26, v13, 1u, v13, v13, 0, 0); if ( (v26 & 1) == 0 ) { LABEL_8: v15 = (char *)&v26 + v13 + 1; LOBYTE(v26) = 2 * (v13 + 1); goto LABEL_11; } v14 = v13; LABEL_10: v15 = (char *)v28 + v14; v27 = v14 + 1; LABEL_11: *v15 = a3; v15[1] = 0; v16 = *(unsigned __int8 *)this; if ( (v16 & 1) != 0 ) { v17 = *((char **)this + 2); v18 = *((_DWORD *)this + 1); } else { v17 = (char *)this + 1; v18 = v16 >> 1; } std::string::append(&v26, v17, v18); v19 = *((_DWORD *)this + 1); v20 = *((void **)this + 2); v29 = *(_DWORD *)this; v30 = v19; v31 = v20; v21 = v27; v22 = v28; *(_DWORD *)this = v26; *((_DWORD *)this + 1) = v21; *((_DWORD *)this + 2) = v22; v8 = v30; v26 = v29; v27 = v30; v28 = v31; if ( (v29 & 1) != 0 ) operator delete(v28); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source