// // sub_5DEBD0 from 0x5debd0 to 0x5dec46 (118 bytes) // // 2 xrefs: // > sub_5DEB00 @ 0x5deb72 // > cocos2d::CCFileUtils::writeToFile @ 0x5deccc // // 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 // tinyxml2::XMLNode *__fastcall sub_5DEBD0(int a1, tinyxml2::XMLDocument *this) { tinyxml2::XMLNode *v4; // r7 int v5; // r4 int v6; // r5 tinyxml2::XMLNode *v7; // r8 tinyxml2::XMLNode *v8; // r0 tinyxml2::XMLNode *v9; // r1 int v10; // r3 v4 = (tinyxml2::XMLNode *)tinyxml2::XMLDocument::NewElement(this, "dict"); if ( a1 ) { v5 = *(_DWORD *)(a1 + 52); if ( v5 ) v6 = *(_DWORD *)(v5 + 272); else v6 = 0; while ( v5 ) { v7 = (tinyxml2::XMLNode *)tinyxml2::XMLDocument::NewElement(this, "key"); tinyxml2::XMLNode::InsertEndChild(v4, v7); v8 = (tinyxml2::XMLNode *)tinyxml2::XMLDocument::NewText(this, (const char *)v5); tinyxml2::XMLNode::InsertEndChild(v7, v8); v9 = sub_5DEB00(*(tinyxml2::XMLNode **)(v5 + 260), this); if ( v9 ) tinyxml2::XMLNode::InsertEndChild(v4, v9); if ( v6 ) v10 = *(_DWORD *)(v6 + 272); else v10 = 0; v5 = v6; v6 = v10; } } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source