// // sub_5EB984 from 0x5eb984 to 0x5eb9b4 (48 bytes) // // 11 xrefs: // > sub_5EBA84 @ 0x5ebaa0 // > cocos2d::CCUserDefault::getBoolForKey @ 0x5ebb8a // > cocos2d::CCUserDefault::getBoolForKey @ 0x5ebb96 // > cocos2d::CCUserDefault::getIntegerForKey @ 0x5ebc0e // > cocos2d::CCUserDefault::getIntegerForKey @ 0x5ebc1a // > cocos2d::CCUserDefault::getFloatForKey @ 0x5ebc9c // > cocos2d::CCUserDefault::getFloatForKey @ 0x5ebcaa // > cocos2d::CCUserDefault::getDoubleForKey @ 0x5ebd28 // > cocos2d::CCUserDefault::getDoubleForKey @ 0x5ebd36 // > cocos2d::CCUserDefault::getStringForKey @ 0x5ebdba // > cocos2d::CCUserDefault::getStringForKey @ 0x5ebdd8 // // 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_5EB984(int result, tinyxml2::XMLNode **a2) { tinyxml2::XMLDocument *v2; // r4 cocos2d::CCUserDefault *v3; // r0 int *XMLFilePath; // r0 v2 = (tinyxml2::XMLDocument *)result; if ( a2 ) { tinyxml2::XMLNode::DeleteChild(a2[2], (tinyxml2::XMLNode *)a2); v3 = cocos2d::CCUserDefault::sharedUserDefault(); XMLFilePath = cocos2d::CCUserDefault::getXMLFilePath(v3); result = tinyxml2::XMLDocument::SaveFile(v2, (const char *)*XMLFilePath, 0); if ( v2 ) return (*(int (__fastcall **)(tinyxml2::XMLDocument *))(*(_DWORD *)v2 + 68))(v2); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source