//
// cocos2d::XmlSaxHander::VisitEnter from 0x7e6bb8 to 0x7e6c8a (210 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:54 +0000
//
int __fastcall cocos2d::XmlSaxHander::VisitEnter(
cocos2d::XmlSaxHander *this,
const tinyxml2::XMLElement *a2,
const tinyxml2::XMLAttribute *a3)
{
int Str; // r0
int v7; // r0
cocos2d::CCSAXParser *v8; // r4
void *v9; // r0
const unsigned __int8 **v10; // r3
int v12; // [sp+4h] [bp-18h] BYREF
unsigned __int8 *v13; // [sp+8h] [bp-14h] BYREF
char *v14; // [sp+Ch] [bp-10h]
unsigned int v15; // [sp+10h] [bp-Ch]
v13 = nullptr;
v14 = nullptr;
v15 = 0;
while ( a3 )
{
Str = tinyxml2::StrPair::GetStr((const tinyxml2::XMLAttribute *)((char *)a3 + 4));
v12 = Str;
if ( (unsigned int)v14 >= v15 )
{
std::vector::__push_back_slow_path((int)&v13, &v12);
}
else
{
if ( v14 )
*(_DWORD *)v14 = Str;
v14 += 4;
}
v7 = tinyxml2::StrPair::GetStr((const tinyxml2::XMLAttribute *)((char *)a3 + 16));
v12 = v7;
if ( (unsigned int)v14 >= v15 )
{
std::vector::__push_back_slow_path((int)&v13, &v12);
}
else
{
if ( v14 )
*(_DWORD *)v14 = v7;
v14 += 4;
}
a3 = *((const tinyxml2::XMLAttribute **)a3 + 7);
}
v12 = 0;
if ( (unsigned int)v14 >= v15 )
{
std::vector::__push_back_slow_path((int)&v13, &v12);
}
else
{
if ( v14 )
*(_DWORD *)v14 = 0;
v14 += 4;
}
v8 = *((cocos2d::CCSAXParser **)this + 1);
v9 = (void *)tinyxml2::StrPair::GetStr((const tinyxml2::XMLElement *)((char *)a2 + 12));
cocos2d::CCSAXParser::startElement(v8, v9, v13, v10);
if ( v13 )
{
v14 -= 4 * ((unsigned int)(v14 - (char *)v13) >> 2);
operator delete(v13);
}
return 1;
}