//
// cocos2d::CCPrettyPrinter::clear from 0xd47818 to 0xd47840 (40 bytes)
//
// 2 xrefs:
// > ??> @ 0xb3d40
// > ??> @ 0x1516688
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:07:35 +0000
//
__int64 __fastcall cocos2d::CCPrettyPrinter::clear(__int64 this)
{
__int64 v1; // x2
v1 = this + 40;
if ( (*(_BYTE *)(this + 40) & 1) != 0 )
{
this = *(_QWORD *)(this + 56);
*(_BYTE *)this = 0;
*(_QWORD *)(v1 + 8) = 0;
}
else
{
*(_BYTE *)(this + 41) = 0;
*(_BYTE *)(this + 40) = 0;
}
return this;
}