//
// cocos2d::CCLog from 0x180077930 to 0x180077a59 (297 bytes)
//
// 6 xrefs:
// > cocos2d::CCEGLView::onGLFWDeviceChangeFunCallback @ 0x18007a425
// > sub_18007A440 @ 0x18007a462
// > cocos2d::CCApplication::updateController @ 0x18007c090
// > cocos2d::CCImage::initWithString @ 0x180080067
// > ??> @ 0x18014cf68
// > ??> @ 0x1801be968
//
// 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 11:21:59 +0000
//
void cocos2d::CCLog(cocos2d *this, const char *a2, ...)
{
unsigned __int64 *v3; // rax
char Buffer[16400]; // [rsp+40h] [rbp-C048h] BYREF
WCHAR WideCharStr[16392]; // [rsp+4050h] [rbp-8038h] BYREF
const char *ArgList; // [rsp+C098h] [rbp+10h] BYREF
ArgList = a2;
v3 = (unsigned __int64 *)sub_1800095E0();
_stdio_common_vsnprintf_s(*v3, Buffer, 0x4001u, 0x4001u, (const char *)this, nullptr, (va_list)&ArgList);
memset(WideCharStr, 0, 0x8002u);
MultiByteToWideChar(0xFDE9u, 0, Buffer, -1, WideCharStr, 32770);
OutputDebugStringW(WideCharStr);
OutputDebugStringA("\n");
WideCharToMultiByte(0, 0, WideCharStr, 32770, Buffer, 16385, nullptr, nullptr);
sub_180077BC0("%s\n");
}