//
// cocos2d::CCPrettyPrinter::clear from 0x1004ae4b0 to 0x1004ae4d2 (34 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b55bb0
//
// This function is hookable on this platform (idp: pc, 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 12:30:58 +0000
//
_BYTE *__fastcall cocos2d::CCPrettyPrinter::clear(__int64 a1)
{
_BYTE *result; // rax
if ( (*(_BYTE *)(a1 + 40) & 1) != 0 )
{
result = *(_BYTE **)(a1 + 56);
*result = 0;
*(_QWORD *)(a1 + 48) = 0;
}
else
{
*(_WORD *)(a1 + 40) = 0;
}
return result;
}