// // sub_609AD8 from 0x609ad8 to 0x609cba (482 bytes) // // 1 xrefs: // > sub_608878 @ 0x608d30 // // 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 // int __fastcall sub_609AD8(double a1, void (**a2)(), int **a3) { pugi::xpath_variable **v5; // r7 pugi::xpath_variable **v6; // r8 int v7; // r3 pugi::xpath_node *i; // r5 pugi::xpath_node *j; // r7 int **v10; // r0 pugi::xpath_node *m; // r5 pugi::xpath_node *k; // r5 const char *v14; // [sp+4h] [bp-60h] BYREF int *v15[4]; // [sp+Ch] [bp-58h] BYREF pugi::xml_attribute_struct *v16[4]; // [sp+1Ch] [bp-48h] BYREF int *v17[4]; // [sp+2Ch] [bp-38h] BYREF int *v18; // [sp+3Ch] [bp-28h] BYREF pugi::xpath_node *v19; // [sp+40h] [bp-24h] pugi::xpath_node *v20; // [sp+44h] [bp-20h] int *v21[4]; // [sp+4Ch] [bp-18h] BYREF v5 = (pugi::xpath_variable **)HIDWORD(a1); v6 = (pugi::xpath_variable **)LODWORD(a1); v7 = *(unsigned __int8 *)(HIDWORD(a1) + 1); if ( *(_BYTE *)(LODWORD(a1) + 1) == 1 ) { if ( v7 == 1 ) { sub_600130(v15, *a3); sub_607BBC(v16, v6, a2, (int)a3); sub_607BBC((pugi::xml_attribute_struct **)v17, v5, a2, (int)a3); for ( i = v16[1]; i != v16[2]; i = (pugi::xpath_node *)((char *)i + 8) ) { sub_600130(&v18, *a3); sub_606D38((int)v21, i, (int)*a3); sub_601A90((const char *)v21[0]); for ( j = (pugi::xpath_node *)v17[1]; j != (pugi::xpath_node *)v17[2]; j = (pugi::xpath_node *)((char *)j + 8) ) { sub_600130(v21, *a3); sub_606D38((int)&v14, j, (int)*a3); sub_601A90(v14); sub_600144((int)v21); } sub_600144((int)&v18); } v10 = v15; goto LABEL_19; } sub_600130(v17, *a3); sub_607BBC((pugi::xml_attribute_struct **)&v18, v6, a2, (int)a3); sub_608F28(COERCE_DOUBLE(__PAIR64__((unsigned int)a2, (unsigned int)v5)), a3); for ( k = v19; k != v20; k = (pugi::xpath_node *)((char *)k + 8) ) { sub_600130(v21, *a3); sub_606D38((int)v16, k, (int)*a3); sub_601A90((const char *)v16[0]); sub_600144((int)v21); } LABEL_18: v10 = v17; LABEL_19: sub_600144((int)v10); return 0; } if ( v7 == 1 ) { sub_600130(v17, *a3); sub_608F28(COERCE_DOUBLE(__PAIR64__((unsigned int)a2, (unsigned int)v6)), a3); sub_607BBC((pugi::xml_attribute_struct **)&v18, v5, a2, (int)a3); for ( m = v19; m != v20; m = (pugi::xpath_node *)((char *)m + 8) ) { sub_600130(v21, *a3); sub_606D38((int)v16, m, (int)*a3); sub_601A90((const char *)v16[0]); sub_600144((int)v21); } goto LABEL_18; } HIDWORD(a1) = a2; sub_608F28(a1, a3); sub_608F28(COERCE_DOUBLE(__PAIR64__((unsigned int)a2, (unsigned int)v5)), a3); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source