// // tinyxml2::StrPair::GetStr from 0x5ed818 to 0x5ed94e (310 bytes) // // 65 xrefs: // > cocos2d::XmlSaxHander::VisitExit @ 0x5de312 // > cocos2d::XmlSaxHander::Visit @ 0x5de346 // > cocos2d::XmlSaxHander::Visit @ 0x5de34e // > cocos2d::XmlSaxHander::VisitEnter @ 0x5de410 // > cocos2d::XmlSaxHander::VisitEnter @ 0x5de422 // > cocos2d::XmlSaxHander::VisitEnter @ 0x5de446 // > sub_5EB9B4 @ 0x5eba52 // > cocos2d::CCUserDefault::getBoolForKey @ 0x5ebb64 // > cocos2d::CCUserDefault::getIntegerForKey @ 0x5ebbf0 // > cocos2d::CCUserDefault::getFloatForKey @ 0x5ebc76 // > cocos2d::CCUserDefault::getDoubleForKey @ 0x5ebd06 // > cocos2d::CCUserDefault::getStringForKey @ 0x5ebd98 // > tinyxml2::XMLText::ShallowEqual @ 0x5ed972 // > tinyxml2::XMLText::ShallowEqual @ 0x5ed97c // > tinyxml2::XMLComment::ShallowEqual @ 0x5ed9ac // > tinyxml2::XMLComment::ShallowEqual @ 0x5ed9b6 // > tinyxml2::XMLDeclaration::ShallowEqual @ 0x5ed9e6 // > tinyxml2::XMLDeclaration::ShallowEqual @ 0x5ed9f0 // > tinyxml2::XMLUnknown::ShallowEqual @ 0x5eda20 // > tinyxml2::XMLUnknown::ShallowEqual @ 0x5eda2a // > tinyxml2::XMLElement::ShallowEqual @ 0x5eda52 // > tinyxml2::XMLElement::ShallowEqual @ 0x5eda5c // > tinyxml2::XMLElement::ShallowEqual @ 0x5eda74 // > tinyxml2::XMLElement::ShallowEqual @ 0x5eda7e // > tinyxml2::XMLNode::FirstChildElement @ 0x5edee8 // > tinyxml2::XMLNode::LastChildElement @ 0x5edf1c // > tinyxml2::XMLNode::NextSiblingElement @ 0x5edf50 // > tinyxml2::XMLNode::PreviousSiblingElement @ 0x5edf8e // > tinyxml2::XMLAttribute::QueryIntValue @ 0x5ee08e // > tinyxml2::XMLAttribute::QueryUnsignedValue @ 0x5ee0a8 // > tinyxml2::XMLAttribute::QueryBoolValue @ 0x5ee0c2 // > tinyxml2::XMLAttribute::QueryFloatValue @ 0x5ee0dc // > tinyxml2::XMLAttribute::QueryDoubleValue @ 0x5ee0f6 // > tinyxml2::XMLElement::FindAttribute @ 0x5ee3b6 // > tinyxml2::XMLElement::FindAttribute @ 0x5ee3d8 // > tinyxml2::XMLElement::Attribute @ 0x5ee402 // > tinyxml2::XMLElement::Attribute @ 0x5ee418 // > tinyxml2::XMLElement::GetText @ 0x5ee43e // > tinyxml2::XMLElement::QueryIntText @ 0x5ee466 // > tinyxml2::XMLElement::QueryUnsignedText @ 0x5ee49a // > tinyxml2::XMLElement::QueryBoolText @ 0x5ee4ce // > tinyxml2::XMLElement::QueryDoubleText @ 0x5ee502 // > tinyxml2::XMLElement::QueryFloatText @ 0x5ee536 // > tinyxml2::XMLElement::FindOrCreateAttribute @ 0x5ee55a // > tinyxml2::XMLElement::DeleteAttribute @ 0x5ee5cc // > tinyxml2::XMLElement::ShallowClone @ 0x5ee75a // > tinyxml2::XMLElement::ShallowClone @ 0x5ee76e // > tinyxml2::XMLElement::ShallowClone @ 0x5ee778 // > tinyxml2::XMLComment::ShallowClone @ 0x5ee7c8 // > tinyxml2::XMLText::ShallowClone @ 0x5ee826 // > tinyxml2::XMLDeclaration::ShallowClone @ 0x5ee87e // > tinyxml2::XMLUnknown::ShallowClone @ 0x5ee8c2 // > tinyxml2::XMLNode::ParseDeep @ 0x5eebfe // > tinyxml2::XMLNode::ParseDeep @ 0x5eec08 // > tinyxml2::XMLNode::ParseDeep @ 0x5eec22 // > tinyxml2::XMLNode::ParseDeep @ 0x5eec36 // > tinyxml2::XMLElement::ParseAttributes @ 0x5eeca4 // > tinyxml2::XMLElement::ParseAttributes @ 0x5eed06 // > tinyxml2::XMLPrinter::VisitEnter @ 0x5ef39e // > tinyxml2::XMLPrinter::VisitEnter @ 0x5ef3ae // > tinyxml2::XMLPrinter::VisitEnter @ 0x5ef3b8 // > tinyxml2::XMLPrinter::Visit @ 0x5ef42e // > tinyxml2::XMLPrinter::Visit @ 0x5ef5c4 // > tinyxml2::XMLPrinter::Visit @ 0x5ef676 // > tinyxml2::XMLPrinter::Visit @ 0x5ef6dc // // 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 tinyxml2::StrPair::GetStr(tinyxml2::StrPair *this) { char *v2; // r1 int v3; // r3 char *v4; // r4 char *v5; // r5 int v6; // r3 bool v7; // zf int *v8; // r3 char *CharacterRef; // r0 char *v10; // r2 int v11; // r3 char v12; // r1 int v13; // r10 int v14; // r12 size_t v15; // r8 int v16; // r0 char *v18; // [sp+0h] [bp-24h] int v19; // [sp+4h] [bp-20h] char v20[4]; // [sp+Ch] [bp-18h] BYREF char v21[12]; // [sp+10h] [bp-14h] BYREF v2 = (char *)(*(_DWORD *)this << 23); if ( (*(_DWORD *)this & 0x100) == 0 ) return *((_DWORD *)this + 1); **((_BYTE **)this + 2) = 0; v3 = *(_DWORD *)this ^ 0x100; *(_DWORD *)this = v3; if ( !v3 ) goto LABEL_29; v4 = *((char **)this + 1); v5 = v4; LABEL_4: while ( (unsigned int)v4 < *((_DWORD *)this + 2) ) { v6 = (unsigned __int8)*v4; if ( (*(_DWORD *)this & 2) == 0 ) goto LABEL_16; if ( v6 == 13 ) { v7 = v4[1] == 10; goto LABEL_10; } if ( v6 == 10 ) { v7 = v4[1] == 13; LABEL_10: if ( v7 ) v4 += 2; *v5 = 10; if ( !v7 ) ++v4; ++v5; } else { LABEL_16: if ( (*(_DWORD *)this & 1) != 0 && v6 == 38 ) { if ( v4[1] == 35 ) { memset(v21, 0, 0xAu); CharacterRef = tinyxml2::XMLUtil::GetCharacterRef((tinyxml2::XMLUtil *)v4, v21, v20, v8); v10 = v5; v11 = 0; v4 = CharacterRef; while ( 1 ) { v2 = *(char **)v20; v5 = v10; if ( v11 >= *(int *)v20 ) break; v12 = v21[v11++]; *v10++ = v12; } } else { v13 = 0; v14 = 12; do { v19 = v14; v18 = (char *)&off_A2CD80 + v14 * v13; v15 = *((_DWORD *)v18 + 1); v16 = strncmp(v4 + 1, *(const char **)v18, v15); v14 = v19; if ( !v16 && v4[v15 + 1] == 59 ) { v4 += v15 + 2; *v5++ = v18[8]; goto LABEL_4; } ++v13; } while ( v13 != 5 ); ++v5; ++v4; } } else { *v5++ = v6; ++v4; } } } *v5 = 0; LABEL_29: if ( (*(_DWORD *)this & 4) != 0 ) tinyxml2::StrPair::CollapseWhitespace((tinyxml2::XMLUtil **)this, v2); *(_DWORD *)this &= 0x200u; return *((_DWORD *)this + 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source