// // cocos2d::CCLog from 0x180074a20 to 0x180074b47 (295 bytes) // // 6 xrefs: // > cocos2d::CCEGLView::onGLFWDeviceChangeFunCallback @ 0x1800776a5 // > sub_1800776C0 @ 0x1800776e2 // > cocos2d::CCApplication::updateController @ 0x180079080 // > cocos2d::CCImage::initWithString @ 0x18007ce67 // > @ 0x1801438a8 // > @ 0x1801b45a8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // 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_180009520(); _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_180074CB0("%s\n"); }