// // sub_180071CA0 from 0x180071ca0 to 0x180071dd5 (309 bytes) // // 3 xrefs: // > sub_180071AB0 @ 0x180071c01 // > sub_180071CA0 @ 0x180071d71 // > @ 0x1801be560 // // 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:21:57 +0000 // struct tinyxml2::XMLElement *__fastcall sub_180071CA0(__int64 a1, tinyxml2::XMLDocument *a2) { cocos2d::CCString *v4; // rdi tinyxml2::XMLNode *v5; // rbx const char *CString; // rax struct tinyxml2::XMLNode *v7; // rax struct tinyxml2::XMLElement *result; // rax __int64 v9; // rdi struct tinyxml2::XMLElement *v10; // rax unsigned int *v11; // rbx tinyxml2::XMLNode *v12; // rsi __int64 v13; // rax _QWORD *v14; // rbx _QWORD *i; // rdi struct tinyxml2::XMLNode *v16; // rax v4 = (cocos2d::CCString *)_RTDynamicCast( a1, 0, &cocos2d::CCObject `RTTI Type Descriptor', &cocos2d::CCString `RTTI Type Descriptor', 0); if ( v4 ) { v5 = tinyxml2::XMLDocument::NewElement(a2, "string"); CString = cocos2d::CCString::getCString(v4); v7 = tinyxml2::XMLDocument::NewText(a2, CString); tinyxml2::XMLNode::InsertEndChild(v5, v7); return v5; } else { v9 = _RTDynamicCast(a1, 0, &cocos2d::CCObject `RTTI Type Descriptor', &cocos2d::CCArray `RTTI Type Descriptor', 0); if ( v9 ) { v10 = tinyxml2::XMLDocument::NewElement(a2, "array"); v11 = *(unsigned int **)(v9 + 56); v12 = v10; v13 = *v11; if ( (_DWORD)v13 ) { v14 = *((_QWORD **)v11 + 2); for ( i = &v14[v13 - 1]; v14 <= i; ++v14 ) { if ( !*v14 ) break; v16 = (struct tinyxml2::XMLNode *)sub_180071CA0(*v14, a2); if ( v16 ) tinyxml2::XMLNode::InsertEndChild(v12, v16); } } return v12; } else { result = (struct tinyxml2::XMLElement *)_RTDynamicCast( a1, 0, &cocos2d::CCObject `RTTI Type Descriptor', &cocos2d::CCDictionary `RTTI Type Descriptor', 0); if ( result ) return sub_180071AB0((__int64)result, a2); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source