//
// cocos2d::CCPrettyPrinter::CCPrettyPrinter from 0x1004b5120 to 0x1004b517d (93 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
//
std::string *__fastcall cocos2d::CCPrettyPrinter::CCPrettyPrinter(__int64 a1, int a2)
{
std::string *result; // rax
int v3; // r12d
result = (std::string *)&off_10094AC48;
*(_QWORD *)a1 = &off_10094AC48;
*(_OWORD *)(a1 + 16) = 0;
*(_OWORD *)(a1 + 32) = 0;
*(_OWORD *)(a1 + 48) = 0;
*(_DWORD *)(a1 + 8) = a2;
*(_BYTE *)(a1 + 16) = 0;
if ( a2 > 0 )
{
v3 = 0;
do
{
result = std::string::append((std::string *)(a1 + 16), "\t");
++v3;
}
while ( v3 < *(_DWORD *)(a1 + 8) );
}
return result;
}