//
// cocos2d::CCPrettyPrinter::setIndentLevel from 0x1004b51c0 to 0x1004b522d (109 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 __fastcall cocos2d::CCPrettyPrinter::setIndentLevel(cocos2d::CCPrettyPrinter *a1, int a2)
{
int v2; // r12d
LODWORD(a1[1].__vftable) = a2;
if ( ((__int64)a1[2].__vftable & 1) != 0 )
{
LOBYTE(a1[4].~CCPrettyPrinter) = 0;
a1[3].__vftable = nullptr;
if ( SLODWORD(a1[1].__vftable) <= 0 )
return;
}
else
{
LOWORD(a1[2].__vftable) = 0;
if ( a2 <= 0 )
return;
}
v2 = 0;
do
{
std::string::append((std::string *)&a1[2], "\t");
++v2;
}
while ( v2 < SLODWORD(a1[1].__vftable) );
}