// // sub_B0460C from 0xb0460c to 0xb046d0 (196 bytes) // // 2 xrefs: // > sub_B0449C @ 0xb04608 // > cocos2d::CCFileUtils::writeToFile @ 0xb04780 // // 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_B0460C(__int64 a1, tinyxml2::XMLDocument *this) { tinyxml2::XMLNode *v4; // x23 __int64 v5; // x20 __int64 i; // x19 tinyxml2::XMLNode *v7; // x22 tinyxml2::XMLNode *v8; // x0 const void *v9; // x0 tinyxml2::XMLNode *v10; // x1 v4 = (tinyxml2::XMLNode *)tinyxml2::XMLDocument::NewElement(this, "dict"); if ( a1 ) { v5 = *(_QWORD *)(a1 + 56); if ( v5 ) { for ( i = *(_QWORD *)(v5 + 288); ; i = *(_QWORD *)(i + 288) ) { 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 = *(const void **)(v5 + 264); v5 = i; v10 = (tinyxml2::XMLNode *)sub_B0449C(v9, this); if ( v10 ) tinyxml2::XMLNode::InsertEndChild(v4, v10); if ( !i ) break; } } } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source