//
// cocos2d::CCPrettyPrinter::visit from 0xd481e0 to 0xd48268 (136 bytes)
//
// 2 xrefs:
// > ??> @ 0x6bf80
// > ??> @ 0x1516660
//
// 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:36 +0000
//
__int64 __fastcall cocos2d::CCPrettyPrinter::visit(__int64 a1, __int64 a2)
{
double v3; // d0
size_t v4; // x0
char s[8]; // [xsp+30h] [xbp+30h] BYREF
__int64 v7; // [xsp+38h] [xbp+38h]
__int64 v8; // [xsp+40h] [xbp+40h]
__int64 v9; // [xsp+48h] [xbp+48h]
__int64 v10; // [xsp+50h] [xbp+50h]
__int64 v11; // [xsp+58h] [xbp+58h]
__int16 v12; // [xsp+60h] [xbp+60h]
v3 = *(double *)(a2 + 56);
v12 = 0;
*(_QWORD *)s = 0;
v7 = 0;
v8 = 0;
v9 = 0;
v10 = 0;
v11 = 0;
sprintf(s, "%lf", v3);
v4 = strlen(s);
std::string::append(a1 + 40, s, v4);
return _stack_chk_guard;
}