//
// cocos2d::CCPrettyPrinter::setIndentLevel from 0xad4dd0 to 0xad4e4c (124 bytes)
//
// 8 xrefs:
// > cocos2d::CCPrettyPrinter::CCPrettyPrinter @ 0xad4e70
// > cocos2d::CCPrettyPrinter::visit @ 0xad4ef8
// > cocos2d::CCPrettyPrinter::visit @ 0xad505c
// > cocos2d::CCPrettyPrinter::visit @ 0xad5224
// > cocos2d::CCPrettyPrinter::visit @ 0xad5380
// > cocos2d::CCPrettyPrinter::visit @ 0xad5528
// > cocos2d::CCPrettyPrinter::visit @ 0xad56c0
// > ??> @ 0x986a0
//
// 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::setIndentLevel(cocos2d::CCPrettyPrinter *a1, int a2)
{
int v3; // w19
cocos2d::CCPrettyPrinter *v4; // x22
cocos2d::CCPrettyPrinter_vtbl *v5; // x2
v3 = 0;
v4 = a1 + 2;
v5 = a1[2].__vftable;
LODWORD(a1[1].__vftable) = a2;
sub_D174B8(&a1[2], 0, v5[-1].visit_6, 0);
if ( SLODWORD(a1[1].__vftable) > 0 )
{
do
{
++v3;
sub_D15FD4(v4, "\t", 1);
}
while ( SLODWORD(a1[1].__vftable) > v3 );
}
}