//
// cocos2d::CCPrettyPrinter::getResult from 0x1004ae4e0 to 0x1004ae51c (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b55bb8
//
// 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
//
_QWORD *__fastcall cocos2d::CCPrettyPrinter::getResult(_QWORD *a1, __int64 a2)
{
__int64 v2; // rsi
if ( (*(_BYTE *)(a2 + 40) & 1) != 0 )
{
sub_10001AD30(a1, *(const void **)(a2 + 56), *(_QWORD *)(a2 + 48));
}
else
{
v2 = a2 + 40;
a1[2] = *(_QWORD *)(v2 + 16);
*(_OWORD *)a1 = *(_OWORD *)v2;
}
return a1;
}