// // cocos2d::CCLuaLog from 0x180077a60 to 0x180077b99 (313 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801be974 // // 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 __fastcall cocos2d::CCLuaLog(LPCCH lpMultiByteStr, const char *a2) { int cchWideChar; // edi void *lpWideCharStr; // rbp int v5; // edi void *v6; // rsi cchWideChar = MultiByteToWideChar(0xFDE9u, 0, lpMultiByteStr, -1, nullptr, 0); lpWideCharStr = (void *)sub_1800E4C6C(saturated_mul(cchWideChar + 1, 2u)); memset(lpWideCharStr, 0, 2LL * (cchWideChar + 1)); MultiByteToWideChar(0xFDE9u, 0, lpMultiByteStr, -1, (LPWSTR)lpWideCharStr, cchWideChar); OutputDebugStringW((LPCWSTR)lpWideCharStr); OutputDebugStringA("\n"); v5 = WideCharToMultiByte(0, 0, (LPCWCH)lpWideCharStr, -1, nullptr, 0, nullptr, nullptr); v6 = (void *)sub_1800E4C6C(v5 + 1); memset(v6, 0, v5 + 1); WideCharToMultiByte(0, 0, (LPCWCH)lpWideCharStr, -1, (LPSTR)v6, v5, nullptr, nullptr); puts((const char *)v6); j_j_free_0(lpWideCharStr); j_j_free_0(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source