// // pugi::xml_document::save_file from 0x606424 to 0x60649a (118 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 // FILE *__fastcall pugi::xml_document::save_file(pugi::xml_node *a1, unsigned int *a2, char *a3, int a4, int a5) { const char *v8; // r3 FILE *result; // r0 FILE *v10; // r4 int v11; // r6 _DWORD v12[2]; // [sp+Ch] [bp-10h] BYREF if ( (a4 & 0x20) != 0 ) v8 = "w"; else v8 = "w"; result = sub_602188(a2, (int)v8); v10 = result; if ( result ) { pugi::xml_writer_file::xml_writer_file(v12, result); pugi::xml_document::save(a1, (pugi::xml_node_struct *)v12, a3, a4, a5); v11 = ferror(v10); fclose(v10); return (FILE *)(v11 == 0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source