//
// cocos2d::CCPrettyPrinter::visit from 0x5c26e8 to 0x5c27da (242 bytes)
//
// 0 xrefs:
//
// 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
//
void cocos2d::CCPrettyPrinter::visit(cocos2d::CCPrettyPrinter *a1, const cocos2d::CCBool *a2)
{
cocos2d::CCPrettyPrinter *v2; // r4
cocos2d::CCPrettyPrinter *v5; // r10
int v6; // r8
cocos2d::CCSetIterator v7; // r6
cocos2d::CCPrettyPrinter v8; // [sp+8h] [bp-1Ch] BYREF
cocos2d::CCPrettyPrinter v9[4]; // [sp+Ch] [bp-18h] BYREF
v2 = a1 + 3;
v5 = a1 + 2;
v6 = 0;
sub_774394((int)&a1[3], "\n");
sub_77448C(v2, v5);
sub_774394((int)v2, "\n");
cocos2d::CCPrettyPrinter::setIndentLevel(a1, (int)&a1[1].~CCPrettyPrinter + 1);
for ( v7._M_node = cocos2d::CCSet::begin((cocos2d::CCSet *)a2)._M_node;
v7._M_node != cocos2d::CCSet::end((cocos2d::CCSet *)a2)._M_node;
v7._M_node = (std::_Rb_tree_const_iterator<_Tp>::_Base_ptr)sub_761FE0(v7._M_node) )
{
if ( v6 )
sub_774394((int)v2, "\n");
sub_774394((int)v2, (char *)a1[2].__vftable);
++v6;
cocos2d::CCPrettyPrinter::CCPrettyPrinter(v9, (int)a1[1].__vftable);
(*(void (__fastcall **)(std::_Rb_tree_color, cocos2d::CCPrettyPrinter *))(*(_DWORD *)v7._M_node[1]._M_color + 16))(
v7._M_node[1]._M_color,
v9);
cocos2d::CCPrettyPrinter::getResult(&v8);
sub_77448C(v2, &v8);
sub_774008(&v8);
cocos2d::CCPrettyPrinter::~CCPrettyPrinter(v9);
}
cocos2d::CCPrettyPrinter::setIndentLevel(a1, (int)&a1[1].__vftable[-1].getResult + 3);
sub_774394((int)v2, "\n");
sub_77448C(v2, v5);
sub_774394((int)v2, "\n");
}