MCPcopy Create free account
hub / github.com/GRAnimated/MinecraftLCE / addDataRegion

Method addDataRegion

src/4JLibraries_Source/fui/fuiFile.cpp:27–34  ·  view source on GitHub ↗

NON_MATCHING | Score: 10 (lower is better) 2 registers were swapped...

Source from the content-addressed store, hash-verified

25// NON_MATCHING | Score: 10 (lower is better)
26// 2 registers were swapped...
27uint64_t fuiFile::addDataRegion(uint a1, unsigned int size, unsigned char** data, uint64_t* callbackData) {
28 if (!size)
29 return 0;
30
31 const uint64_t res = *callbackData;
32 *callbackData += size * reinterpret_cast<uint64_t>(data);
33 return res;
34}
35
36fuiRenderNode* fuiFile::getRootNode() {
37 return (fuiRenderNode*)this->m_renderNodeTimeline; // ??? (I think our structs are fucked)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected