// // tinyxml2::XMLDocument::SaveFile from 0x18009ff40 to 0x18009ffd4 (148 bytes) // // 8 xrefs: // > cocos2d::CCFileUtils::writeToFile @ 0x180074658 // > cocos2d::CCUserDefault::createXMLFile @ 0x1800a2541 // > cocos2d::CCUserDefault::setBoolForKey @ 0x1800a3089 // > cocos2d::CCUserDefault::setDoubleForKey @ 0x1800a321a // > cocos2d::CCUserDefault::setIntegerForKey @ 0x1800a3355 // > cocos2d::CCUserDefault::setStringForKey @ 0x1800a345c // > @ 0x18014cf68 // > @ 0x1801c14ac // // This function is hookable on this platform (idp: pc, 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 11:22:13 +0000 // __int64 __fastcall tinyxml2::XMLDocument::SaveFile(__int64 a1, const char *a2, char a3) { errno_t v6; // eax FILE *Stream; // [rsp+48h] [rbp+20h] BYREF Stream = nullptr; v6 = fopen_s(&Stream, a2, "w"); if ( !Stream || v6 ) { *(_DWORD *)(a1 + 92) = 4; *(_QWORD *)(a1 + 104) = a2; *(_QWORD *)(a1 + 112) = 0; return 4; } else { tinyxml2::XMLDocument::SaveFile((_DWORD *)a1, Stream, a3); fclose(Stream); return *(unsigned int *)(a1 + 92); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source